-
Notifications
You must be signed in to change notification settings - Fork 13.7k
New issue
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
werkzeug.exceptions.NotFound: 404 Not Found: The requested URL was not found on the server #20319
Comments
I have the same error. I have changed config.py and superset_config.py, and running my flask server at my local from docker-compose.yml/ UPDATE: But, warnings from werkzeug I getting anyway. |
Hi, Thank a lot |
i tried to change features SESSION_COOKIE_SAMESITE to Lax,but not work,it still cause error not found. |
SESSION_COOKIE_SAMESITE was set to "Lax" for me, setting it to None worked for me. |
Hi
I have tried to set |
Having the same issue here, regardless of the value of SESSION_COOKIE_SAMESITE, "Lax" or None, I'm still facing the same issue. |
Facing same as mentioned by @eghazal-b-yond-full |
I too |
Change the SESSION_COOKIE_HTTPONLY value in your superset_config.py file to True. It'll solve the login issue. But the main issue will still remain same. |
Any process here? |
it is the same issue "There was an error loading the tables" |
I encountered the same issue. I deployed Superset on a server using Docker Compose. Accessing localhost on the server interface works fine, but when I try to access it via the IP address, it keeps showing the login page and the browser continuously redirects. The server console shows a 404 error and the same errors as before. I haven't found a solution yet. Later, I tried it on my Mac, and the result was the same. If I try to access it via the IP address on another computer, it stays on the login page indefinitely. |
I am having the same issue. |
i'm facing same issue. File "/usr/local/lib/python3.9/site-packages/flask/app.py", line 1770, in raise_routing_exception also in browser console i got: Refused to load the script '' because it violates the following Content Security Policy directive: "script-src 'self' 'strict-dynamic' 'nonce-ikm_zo32ANd93_gYSIMQvGbEeCkSoVmQ'". Note that 'strict-dynamic' is present, so host-based allowlisting is disabled. Note that 'script-src-elem' was not explicitly set, so 'script-src' is used as a fallback. why is this? can anyone knows the trick. this issue cost me a lot. please, any urgent solution. |
Any resolution yet?. I'm facing the same issue |
Solved.
|
hello,I'm having the same problem too.How did you handle it? |
apache/superset:2.1.0 |
Any solutions around this? I tried everything and I have same issue |
facing same issue
Python 3.9.17 Superset 3.0.0 |
on mac m1: faced the same exception which was giving me a bad rendering:
I did the following and it worked for me:
hope this helps. |
I'm facing the same issue. I installed it through the official Scratch method. |
Any help please |
As @jaihind213 said, set env |
export TALISMAN_ENABLED="False" doesn't work for me |
sudo docker compose -f docker-compose-non-dev.yml up problem solved |
For thouse who still strugling with not found endpoint for /ws, prese check your setup. If you deleted
cheers. |
Having the same issue... |
Still having this issue ...werkzeug exception always pops up in my superset.log |
Just for fun, I'm curious what @dosu-bot thinks. |
Hey @rusackas! 👋 I'm here to help you out while you wait for a human maintainer. I can assist with bug fixes, answer questions, and guide you on becoming a contributor. Let's tackle this together! To resolve the persistent
These steps should help resolve the |
Having the same issue, it is sad that this issue has been persistent for so long :( |
+1 |
A clear and concise description of what the bug is.
How to reproduce the bug
perset_app | 81.220.237.14 - - [08/Jun/2022:20:04:52 +0000] "GET /static/assets/images/filter-results.svg HTTP/1.1" 404 0 "https://superset.kdinh.fr/databaseview/list/?pageIndex=0&sortColumn=expose_in_sqllab&sortOrder=desc" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:101.0) Gecko/20100101 Firefox/101.0"
superset_app | 81.220.237.14 - - [08/Jun/2022:20:04:54 +0000] "GET /api/v1/database/?q=(order_column:expose_in_sqllab,order_direction:asc,page:0,page_size:25) HTTP/1.1" 200 529 "https://superset.kdinh.fr/databaseview/list/?pageIndex=0&sortColumn=expose_in_sqllab&sortOrder=asc" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:101.0) Gecko/20100101 Firefox/101.0"
superset_app | HTTPException
superset_app | Traceback (most recent call last):
superset_app | File "/usr/local/lib/python3.8/site-packages/flask/app.py", line 1516, in full_dispatch_request
superset_app | rv = self.dispatch_request()
superset_app | File "/usr/local/lib/python3.8/site-packages/flask/app.py", line 1502, in dispatch_request
superset_app | return self.ensure_sync(self.view_functions[rule.endpoint])(**req.view_args)
superset_app | File "/usr/local/lib/python3.8/site-packages/flask/app.py", line 515, in
superset_app | view_func=lambda **kw: self_ref().send_static_file(**kw), # type: ignore # noqa: B950
superset_app | File "/usr/local/lib/python3.8/site-packages/flask/scaffold.py", line 332, in send_static_file
superset_app | return send_from_directory(
superset_app | File "/usr/local/lib/python3.8/site-packages/flask/helpers.py", line 700, in send_from_directory
superset_app | return werkzeug.utils.send_from_directory( # type: ignore
superset_app | File "/usr/local/lib/python3.8/site-packages/werkzeug/utils.py", line 847, in send_from_directory
superset_app | raise NotFound()
superset_app | werkzeug.exceptions.NotFound: 404 Not Found: The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.
superset_app | 2022-06-08 20:04:54,173:WARNING:superset.views.base:HTTPException
superset_app | Traceback (most recent call last):
superset_app | File "/usr/local/lib/python3.8/site-packages/flask/app.py", line 1516, in full_dispatch_request
superset_app | rv = self.dispatch_request()
superset_app | File "/usr/local/lib/python3.8/site-packages/flask/app.py", line 1502, in dispatch_request
superset_app | return self.ensure_sync(self.view_functions[rule.endpoint])(**req.view_args)
superset_app | File "/usr/local/lib/python3.8/site-packages/flask/app.py", line 515, in
superset_app | view_func=lambda **kw: self_ref().send_static_file(**kw), # type: ignore # noqa: B950
superset_app | File "/usr/local/lib/python3.8/site-packages/flask/scaffold.py", line 332, in send_static_file
superset_app | return send_from_directory(
superset_app | File "/usr/local/lib/python3.8/site-packages/flask/helpers.py", line 700, in send_from_directory
superset_app | return werkzeug.utils.send_from_directory( # type: ignore
superset_app | File "/usr/local/lib/python3.8/site-packages/werkzeug/utils.py", line 847, in send_from_directory
superset_app | raise NotFound()
superset_app | werkzeug.exceptions.NotFound: 404 Not Found: The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.
Expected results
what you expected to happen.
It should list database defined
Actual results
no databases listed
what actually happens.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment
(please complete the following information):
superset version
python --version
node -v
Checklist
Make sure to follow these steps before submitting your issue - thank you!
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: