We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Steps to reproduce:
import openeo openeo.connect("openeo.vito.be/openeo/1.1").authenticate_oidc()
This causes the following error:
File ~/Projects/Utils/workspace/venv/lib/python3.11/site-packages/requests/models.py:978, in Response.json(self, **kwargs) 974 return complexjson.loads(self.text, **kwargs) 975 except JSONDecodeError as e: 976 # Catch JSON-related errors and raise as requests.JSONDecodeError 977 # This aliases json.JSONDecodeError and simplejson.JSONDecodeError --> 978 raise RequestsJSONDecodeError(e.msg, e.doc, e.pos) JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Full stack trace and response.text: https://gist.github.com/JeroenVerstraelen/ea1fd858075c4ae7ab013d1908d9e6ca
It would be better the user sees a clear message that the answer we received from EGI is not what we expected.
The text was updated successfully, but these errors were encountered:
❯ curl -i https://aai.egi.eu/auth/realms/egi/.well-known/openid-configuration HTTP/1.1 302 Moved Temporarily Server: nginx Date: Wed, 19 Mar 2025 13:30:06 GMT Content-Type: text/html Content-Length: 138 Location: https://aai.egi.eu/static/maintenance.html Connection: keep-alive Strict-Transport-Security: max-age=31536000; includeSubDomains <html> <head><title>302 Found</title></head> <body> <center><h1>302 Found</h1></center> <hr><center>nginx</center> </body> </html>
It's unfortunate that they do a 302 redirect to a HTML page on a request that is assumed to be JSON
Sorry, something went wrong.
Issue #751 better error when .well-known/openid-configuration is down
38f5b4c
soxofaan
No branches or pull requests
Uh oh!
There was an error while loading. Please reload this page.
Steps to reproduce:
This causes the following error:
Full stack trace and response.text:
https://gist.github.com/JeroenVerstraelen/ea1fd858075c4ae7ab013d1908d9e6ca
It would be better the user sees a clear message that the answer we received from EGI is not what we expected.
The text was updated successfully, but these errors were encountered: