datalad / datalad-ebrains

DataLad extension to interface with the neuroinformatics platform of the Human Brain Project
Other
3 stars 5 forks source link

Authentication is broken again #26

Closed mih closed 2 years ago

mih commented 2 years ago
2022-06-28 08:00:21,645 [Level 5] Credentials lookup attempt via env var DATALAD_ebrains_password 
send: b'POST /api/auth/token HTTP/1.1\r\nHost: data-proxy.ebrains.eu\r\nUser-Agent: python-requests/2.27.1\r\nAccept-Encoding: gzip, deflate\r\naccept: application/json\r\nConnection: keep-alive\r\nContent-Type: application/json\r\nContent-Length: 45\r\n\r\n'
send: b'{"username": "REDACTED", "password": "REDACTED"}'
reply: 'HTTP/1.1 404 Not Found\r\n'
header: Date: Tue, 28 Jun 2022 06:00:21 GMT
header: Server: uvicorn
header: content-length: 40
header: content-type: application/json
header: x-process-time: 0.0006163120269775391
header: x-transaction-id: 9b076fa7-0b52-4660-abdf-538bbfd84027
header: Keep-Alive: timeout=5, max=100
header: Connection: Keep-Alive
2022-06-28 08:00:21,778 [Level 1] Finalizer called on: AnnexRepo(/tmp/ebtest) 
2022-06-28 08:00:21,778 [Level 1] Finalizer called on: GitRepo(/tmp/ebtest) 
2022-06-28 08:00:21,778 [Level 8] Failed to obtain EBRAINS token [HTTP 404]: {"status_code":404,"detail":"Not Found"} [main.py:_run_with_exception_handler:186,exec.py:call_from_parser:107,utils.py:generator_func:357,utils.py:_process_results:544,kg2ds.py:__call__:102,kg_query.py:get_token:129]
mih commented 2 years ago

One possibility for getting a token manually is to go to https://query.kg.ebrains.eu and click on the little person on the top right.