it is lillte bit confusing about what u mean? I did fill my username and password for the http_auth_username and http_auth_passwordThe provisioning is asking you to provide WWW-Basic-Auth, which is the method used by the phones. It is different from the auth. mechanism used in the Web GUI.
All you need to do is type in the http_auth_username and http_auth_password that you have used in the default or domain settings.
I try to do as you told, but I still get the same error unauthorized, it is very weird, any problem with SSL ?Sorry, I'll re-phrase. What ever username and password to put into the http_auth_username and http_auth_password variables. All you need to do is type the same into the sign in dialog when it is presented to you. You will then be authorised to see the config files that your phone would download.
wget --user <provision user> --password <provision password> http://<your domain>/app/provision/<mac>.cfg
Hi @Adrian Fretwell, Thank you so much, it is solved now, username and password is different with duplicated on global in default settings and per domain settings, and I have disable one settings, now it is working!OK, if you are entering the correct provision username and password, then we may need to gig a little deeper. The 401 is an unauthorised error for sure.
You can set the provision username and password either globally in default settings or an the per domain basis in domain settings. Make sure these have been entered correctly.
You may want to try this in a different browser or better still use wget on the command line, an example below:
Bash:wget --user <provision user> --password <provision password> http://<your domain>/app/provision/<mac>.cfg
If you are using only https, then use https you can also add the switch --no-check-certificate if you are using self signed.
Difficult to help much more without a very close look at your setup.