opensrp / opensrp-web

The OpenSRP Admin Web Interface
Apache License 2.0
6 stars 1 forks source link

calls to `discover.ona.io` not working for MIECD. #190

Open FrankApiyo opened 4 years ago

FrankApiyo commented 4 years ago
Screen Shot 2020-01-28 at 10 25 22 AM

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↵”

FrankApiyo commented 4 years ago

chrome Version 79.0.3945.130 (Official Build) (64-bit)

FrankApiyo commented 4 years ago

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.

moshthepitt commented 4 years ago

@FrankApiyo any insight into what may be the causes of this?

FrankApiyo commented 4 years ago

@moshthepitt, I tried to replicate this issue by using the same version of chrome to no avail. MIECD seemed to work fine for me.

cKellyDesign commented 4 years ago

@FrankApiyo what's the status of this? can it be closed? If not can we remove the priority:HIGH label?

moshthepitt commented 4 years ago

@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.