Im calling the saml metadata xml from a working url and I came across this error.
Currently wondering how may I solve this error. Any help would be greatly appreciated.
Might be a problem with your IDP. Here’s the same error in pysaml
:
im seeing these logs
Traceback (most recent call last)
-
File “/usr/local/lib/python3.7/site-packages/flask/app.py”, line 2463 , in
__call__
return self.wsgi_app(environ, start_response)
-
File “/usr/local/lib/python3.7/site-packages/werkzeug/middleware/proxy_fix.py”, line 232 , in
__call__
return self.app(environ, start_response)
-
File “/usr/local/lib/python3.7/site-packages/flask/app.py”, line 2449 , in
wsgi_app
response = self.handle_exception(e)
-
File “/usr/local/lib/python3.7/site-packages/flask_restful/init.py”, line 269 , in
error_router
return original_handler(e)
-
File “/usr/local/lib/python3.7/site-packages/flask/app.py”, line 1866 , in
handle_exception
reraise(exc_type, exc_value, tb)
-
File “/usr/local/lib/python3.7/site-packages/flask/_compat.py”, line 39 , in
reraise
raise value
-
File “/usr/local/lib/python3.7/site-packages/flask/app.py”, line 2446 , in
wsgi_app
response = self.full_dispatch_request()
-
File “/usr/local/lib/python3.7/site-packages/flask/app.py”, line 1951 , in
full_dispatch_request
rv = self.handle_user_exception(e)
-
File “/usr/local/lib/python3.7/site-packages/flask_restful/init.py”, line 269 , in
error_router
return original_handler(e)
-
File “/usr/local/lib/python3.7/site-packages/flask/app.py”, line 1820 , in
handle_user_exception
reraise(exc_type, exc_value, tb)
-
File “/usr/local/lib/python3.7/site-packages/flask/_compat.py”, line 39 , in
reraise
raise value
-
File “/usr/local/lib/python3.7/site-packages/flask/app.py”, line 1949 , in
full_dispatch_request
rv = self.dispatch_request()
-
File “/usr/local/lib/python3.7/site-packages/flask/app.py”, line 1935 , in
dispatch_request
return self.view_functionsrule.endpoint
-
File “/app/redash/authentication/saml_auth.py”, line 111 , in
sp_initiated
saml_client = get_saml_client(current_org)
-
File “/app/redash/authentication/saml_auth.py”, line 58 , in
get_saml_client
sp_config.load(saml_settings)
-
File “/usr/local/lib/python3.7/site-packages/saml2/config.py”, line 374 , in
load
self.load_complex(cnf, metadata_construction=metadata_construction)
-
File “/usr/local/lib/python3.7/site-packages/saml2/config.py”, line 314 , in
load_complex
self.load_metadata(cnf[“metadata”]))
-
File “/usr/local/lib/python3.7/site-packages/saml2/config.py”, line 417 , in
load_metadata
mds.imp(metadata_conf)
-
File “/usr/local/lib/python3.7/site-packages/saml2/mdstore.py”, line 954 , in
imp
self.load(key, **val)
-
File “/usr/local/lib/python3.7/site-packages/saml2/mdstore.py”, line 942 , in
load
_md.load()
-
File “/usr/local/lib/python3.7/site-packages/saml2/mdstore.py”, line 758 , in
load
raise SourceNotFound(self.url)