You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by "zarkerus (via GitHub)" <gi...@apache.org> on 2024/06/01 12:35:24 UTC

Re: [I] Method 405 not allowed for guest_token fetching [superset]

zarkerus commented on issue #28777:
URL: https://github.com/apache/superset/issues/28777#issuecomment-2143433603

   I got the same error, this is the stacktrace, the application got "POST /api/v1/security/guest_token HTTP/1.1" 308 293 " correctly at first but somehow ended up with the error.
   ```
   10.0.2.40 - - [01/Jun/2024:12:31:57 +0000] "POST /api/v1/security/guest_token HTTP/1.1" 308 293 "-" "PostmanRuntime/7.39.0"
   HTTPException
   Traceback (most recent call last):
     File "/usr/local/lib/python3.9/site-packages/flask/app.py", line 1823, in full_dispatch_request
       rv = self.dispatch_request()
     File "/usr/local/lib/python3.9/site-packages/flask/app.py", line 1788, in dispatch_request
       self.raise_routing_exception(req)
     File "/usr/local/lib/python3.9/site-packages/flask/app.py", line 1770, in raise_routing_exception
       raise request.routing_exception  # type: ignore
     File "/usr/local/lib/python3.9/site-packages/flask/ctx.py", line 351, in match_request
       result = self.url_adapter.match(return_rule=True)  # type: ignore
     File "/usr/local/lib/python3.9/site-packages/werkzeug/routing/map.py", line 647, in match
       raise MethodNotAllowed(valid_methods=list(e.have_match_for)) from None
   werkzeug.exceptions.MethodNotAllowed: 405 Method Not Allowed: The method is not allowed for the requested URL.
   2024-06-01 12:31:58,099:WARNING:superset.views.base:HTTPException
   Traceback (most recent call last):
     File "/usr/local/lib/python3.9/site-packages/flask/app.py", line 1823, in full_dispatch_request
       rv = self.dispatch_request()
     File "/usr/local/lib/python3.9/site-packages/flask/app.py", line 1788, in dispatch_request
       self.raise_routing_exception(req)
     File "/usr/local/lib/python3.9/site-packages/flask/app.py", line 1770, in raise_routing_exception
       raise request.routing_exception  # type: ignore
     File "/usr/local/lib/python3.9/site-packages/flask/ctx.py", line 351, in match_request
       result = self.url_adapter.match(return_rule=True)  # type: ignore
     File "/usr/local/lib/python3.9/site-packages/werkzeug/routing/map.py", line 647, in match
       raise MethodNotAllowed(valid_methods=list(e.have_match_for)) from None
   werkzeug.exceptions.MethodNotAllowed: 405 Method Not Allowed: The method is not allowed for the requested URL.
   10.0.2.40 - - [01/Jun/2024:12:31:58 +0000] "GET /api/v1/security/guest_token/ HTTP/1.1" 405 271 "http://dashboard.mkdc.vn/api/v1/security/guest_token/" "PostmanRuntime/7.39.0"
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org