You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2021/08/18 11:48:47 UTC
[GitHub] [superset] janantos commented on issue #16030: [API Rest] Redirecting to /login when doing a POST to /api/v1/database/import/
janantos commented on issue #16030:
URL: https://github.com/apache/superset/issues/16030#issuecomment-901047485
HI @junlincc ,
Any progress here? I am facing the same issue with current docker latests image while importing dataset, here is verbose curl output.
```> POST /api/v1/dataset/import/ HTTP/2
> Host: superset.janantos.com
> User-Agent: curl/7.64.1
> accept: application/json
> Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpYXQiOjE2MjkyODY1NTUsIm5iZiI6MTYyOTI4NjU1NSwianRpIjoiMGZmODU0YzktY2QxMy00ZTljLTgwY2EtMGRmZTk0NjI1MDc5IiwiZXhwIjoxNjI5Mjg3NDU1LCJpZGVudGl0eSI6MywiZnJlc2giOnRydWUsInR5cGUiOiJhY2Nlc3MifQ.7OrFU8CjrV7BXvddLVCui0BCOCtybmuq7tExdW0pNbE
> Content-Length: 3506
> Content-Type: multipart/form-data; boundary=------------------------0fcee28eab4e279a
>
* Connection state changed (MAX_CONCURRENT_STREAMS == 250)!
} [3506 bytes data]
* We are completely uploaded and fine
< HTTP/2 302
< content-type: text/html; charset=utf-8
< date: Wed, 18 Aug 2021 11:35:55 GMT
< location: http://superset.janantos.com/login/
< server: gunicorn/20.0.4
< content-length: 221
<
{ [221 bytes data]
100 3727 100 221 100 3506 863 13695 --:--:-- --:--:-- --:--:-- 14558
* Connection #0 to host superset.janantos.com left intact
* Closing connection 0
api_response: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> <title>Redirecting...</title> <h1>Redirecting...</h1> <p>You should be redirected automatically to target URL: <a href="/login/">/login/</a>. If not click the link.
```
--
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