Anaconda API server not found

Hi everyone,

I build my first conda package and now I want to upload it to anaconda.org. So I install anaconda-client and when I try the command anaconda login or even anaconda upload <my_package> I get this error :

 Using Anaconda API: https://api.anaconda.org
[ERROR] API server not found. Please check your API url configuration.

Do you know my this error occurs ?

P.S :

Here my anaconda config :

auto_register: true
default_site: null
sites:
  anaconda:
    url: https://api.anaconda.org
  binstar:
    url: https://api.anaconda.org
ssl_verify: true
url: https://api.anaconda.org

Regards.