Closed rsamefor closed 4 years ago
Same issue after updating to conan 1.20.0.
Remote 'my-remote' username: gjess
Please enter a password for "gjess" account:
ERROR: Wrong user or password
ERROR: Too many failed login attempts, bye!. [Remote: my-remote]
Downgrading seems to fix the problem.
I need more information. Could you export CONAN_TRACE_FILE=/tmp/file.txt
, run the commands and paste here the traces? (the password should be masked)
Also, what are you using on the server side? Artifactory? Which flavor/version? conan-server?
Hi @lasote,
Thanks for the quick reply. As requested:
Artifactory Version: 6.12.1 Trace file contents:
{"_action": "COMMAND", "name": "upload", "parameters": {"all_packages": true, "confirm": false, "integrity_check": false, "package": null, "pattern": "MCAL_PKG", "policy": null, "query": null, "remote_name": "my-remote", "retry": null, "retry_wait": null}, "time": 1572880809.1610262}
{"_action": "REST_API_CALL", "duration": 0.07700967788696289, "headers": {"Authorization": "**********", "User-Agent": "Conan/1.20.0 (Python 3.7.3) python-requests/2.21.0", "X-Client-Anonymous-Id": "**********", "X-Client-Id": ""}, "method": "GET", "time": 1572880811.0282955, "url": "https://my_server.artifactory.cm.company.biz/artifactory/api/conan/conan_repo/v1/ping"}
{"_action": "REST_API_CALL", "duration": 0.07100892066955566, "headers": {"Authorization": "**********", "User-Agent": "Conan/1.20.0 (Python 3.7.3) python-requests/2.21.0", "X-Client-Anonymous-Id": "**********", "X-Client-Id": ""}, "method": "GET", "time": 1572880816.8271549, "url": "https://my_server.artifactory.cm.company.biz/artifactory/api/conan/conan_repo/v1/ping"}
{"_action": "REST_API_CALL", "duration": 0.04600071907043457, "headers": {"Authorization": "**********", "User-Agent": "Conan/1.20.0 (Python 3.7.3) python-requests/2.21.0", "X-Client-Anonymous-Id": "**********", "X-Client-Id": ""}, "method": "GET", "time": 1572881151.4089744, "url": "https://my_server.artifactory.cm.company.biz/artifactory/api/conan/conan_repo/v1/ping"}
{"_action": "REST_API_CALL", "duration": 0.0559992790222168, "headers": {"Authorization": "**********", "User-Agent": "Conan/1.20.0 (Python 3.7.3) python-requests/2.21.0", "X-Client-Anonymous-Id": "**********", "X-Client-Id": ""}, "method": "GET", "time": 1572881157.3404176, "url": "https://my_server.artifactory.cm.company.biz/artifactory/api/conan/conan_repo/v1/ping"}
{"_action": "EXCEPTION", "class": "AuthenticationException", "message": "Too many failed login attempts, bye!. [Remote: my-remote]", "time": 1572881157.3464181}
Thanks, reproduced. Still, don't know why it happen but for sure it has to be fixed asap.
To confirm. You have the "anonymous" access disabled, right?
Yes, it's disabled.
Open PR for the 1.20.1. in the meantime, if this is blocking you, try to authenticate with conan user xxx -p yyy -r remote_artifactory
before the install. It should work.
1.20.1 has been released