Open FrankApiyo opened 4 years ago
chrome Version 79.0.3945.130 (Official Build) (64-bit)
making calls to discover.ona.io
from the browser bar seem to work fine but calls made by MIECD using superset connector seem to cause 500 errors just on this particular browser.
This issue was experienced by @rowo on Jan 28 2020.
@FrankApiyo any insight into what may be the causes of this?
@moshthepitt, I tried to replicate this issue by using the same version of chrome to no avail. MIECD seemed to work fine for me.
@FrankApiyo what's the status of this? can it be closed? If not can we remove the priority:HIGH
label?
@cKellyDesign I think we are at a point where we need to investigate whether this is something that will affect our other sites that user superser connector in the same way. If it is then it is high priority.
Here's a stack trace returned by discover during one of the 500 errors
error: “Traceback (most recent call last):↵ File “/home/superset/.virtualenvs/superset/lib/python3.6/site-packages/superset/views/base.py”, line 81, in wraps↵ return f(self, *args, **kwargs)↵ File “/home/superset/.virtualenvs/superset/lib/python3.6/site-packages/flask_appbuilder/security/decorators.py”, line 140, in wraps↵ return f(self, *args, **kwargs)↵ File “/home/superset/.virtualenvs/superset/lib/python3.6/site-packages/superset/views/core.py”, line 1156, in slice_json↵ form_data=form_data)↵ File “/home/superset/.virtualenvs/superset/lib/python3.6/site-packages/superset/views/core.py”, line 1124, in generate_json↵ security_manager.assert_datasource_permission(viz_obj.datasource, g.user)↵ File “/home/superset/.virtualenvs/superset/lib/python3.6/site-packages/superset/security.py”, line 437, in assert_datasource_permission↵ self.get_datasource_access_link(datasource),↵superset.exceptions.SupersetSecurityException: This endpoint requires the datasource provider_details, database or↵ `all_datasource_access` permission↵”