You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There was an error fetching the favorite status: NetworkError when attempting to fetch resource (or) There was an error fetching the favorite status: Failed to fetch
Expected results
Pop up (the black message attached in the screenshots) shouldn't occur
Actual results
The above mentioned error occurs.
Screenshots
How to reproduce the bug
Any of the following gives the error:
Login to the superset account
Navigate between other tabs like 'Charts' or 'Data' and then click back on 'Dashboard' tab.
P.S.: The error is seen only in the landing page after entering the credentials (home page) and 'Dashboards' list page. Upon every refresh of the page, the error occurs again.
Environment
(please complete the following information):
superset version: 1.1.0
python version: 3.7.9
node.js version: v14.16.1
Checklist
Make sure to follow these steps before submitting your issue - thank you!
I have checked the superset logs for python stacktraces and included it here as text if there are any.
I have reproduced the issue with at least the latest released version of superset.
I have checked the issue tracker for the same issue and I haven't found one similar.
Additional context
Have referred to similar issues reported before #6824 , #8121, #13746. They all seem to be pointing out to almost the same solution of changing ENABLE_PROXY_FIX=True in the superset config.py file and doing a superset init command, both of which I tried and it didn't work. More details - I am running the Superset on a Linux ec2 machine.
The text was updated successfully, but these errors were encountered:
set ENV FORWARDED_ALLOW_IPS=* when starting gunicorn will solve it.
This issue is caused by lacking of trailing slash of favorite_status endpoint, and flask will append "/" and respond a redirection. But if flask can not detect it's under https scheme, you will get a http scheme location, then caused the error.
set ENV FORWARDED_ALLOW_IPS=* when starting gunicorn will solve it.
This issue is caused by lacking of trailing slash of favorite_status endpoint, and flask will append "/" and respond a redirection. But if flask can not detect it's under https scheme, you will get a http scheme location, then caused the error.
We're having the similar issue here #16050. May I ask where did you add the ENV varaible exactly?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. For admin, please label this issue .pinned to prevent stale bot from closing the issue.
Closing this as stale. If you encounter this issue in any recent version (currently 3.x) please open a new Issue or a PR to address the problem. Thanks @Kamakshi12!
There was an error fetching the favorite status: NetworkError when attempting to fetch resource (or) There was an error fetching the favorite status: Failed to fetch
Expected results
Pop up (the black message attached in the screenshots) shouldn't occur
Actual results
The above mentioned error occurs.
Screenshots
How to reproduce the bug
Any of the following gives the error:
P.S.: The error is seen only in the landing page after entering the credentials (home page) and 'Dashboards' list page. Upon every refresh of the page, the error occurs again.
Environment
(please complete the following information):
1.1.0
3.7.9
v14.16.1
Checklist
Make sure to follow these steps before submitting your issue - thank you!
Additional context
Have referred to similar issues reported before #6824 , #8121, #13746. They all seem to be pointing out to almost the same solution of changing
ENABLE_PROXY_FIX=True
in the superset config.py file and doing asuperset init
command, both of which I tried and it didn't work. More details - I am running the Superset on a Linux ec2 machine.The text was updated successfully, but these errors were encountered: