I upgraded yesterday my drone container, and now i am unable to login as before…
Drone stops with message:
Login Failed. Unauthorized
Drone log output:
{ "level": "debug", "msg": "cannot find remote user: Unauthorized", "time": "2019-05-08T15:55:21Z" }
{ "fields.time": "2019-05-08T15:55:21Z",
"latency": 47035955,
"level": "debug",
"method": "POST",
"msg": "",
"remote": "172.20.0.8:58022",
"request": "/login",
"request-id": "1KxQldLslBKWKHw7QLaI5W3arjG",
"time": "2019-05-08T15:55:21Z"
}
{ "fields.time": "2019-05-08T15:55:21Z",
"latency": 25810,
"level": "debug",
"method": "GET",
"msg": "",
"remote": "172.20.0.8:58022",
"request": "/login/error?message=Unauthorized",
"request-id": "1KxQlhGtIZfJ2a3OiipD5rpZoRQ",
"time": "2019-05-08T15:55:21Z"
}
{ "level": "debug", "msg": "events: stream cancelled", "request-id": "1KxQdf4SEMErW4f2NJLRRB6mPyh", "time": "2019-05-08T15:55:21Z"
}
{ "level": "debug", "msg": "events: stream closed", "request-id": "1KxQdf4SEMErW4f2NJLRRB6mPyh",
"time": "2019-05-08T15:55:21Z"
}
{
"level": "debug",
"msg": "api: guest access",
"request-id": "1KxQdf4SEMErW4f2NJLRRB6mPyh",
"time": "2019-05-08T15:55:21Z"
}
{
"fields.time": "2019-05-08T15:55:21Z",
"latency": 63441916989,
"level": "debug",
"method": "GET",
"msg": "",
"remote": "172.20.0.8:58024",
"request": "/api/stream",
"request-id": "1KxQdf4SEMErW4f2NJLRRB6mPyh",
"time": "2019-05-08T15:55:21Z"
}
{
"level": "debug",
"msg": "api: authentication required",
"request-id": "1KxQlgiMcf2bbDcVimi1DWW6lIc",
"time": "2019-05-08T15:55:21Z"
}
{
"level": "debug",
"msg": "api: guest access",
"request-id": "1KxQlgiMcf2bbDcVimi1DWW6lIc",
"time": "2019-05-08T15:55:21Z"
}
{
"fields.time": "2019-05-08T15:55:21Z",
"latency": 113649,
"level": "debug",
"method": "GET",
"msg": "",
"remote": "172.20.0.8:58022",
"request": "/api/user",
"request-id": "1KxQlgiMcf2bbDcVimi1DWW6lIc",
"time": "2019-05-08T15:55:21Z"
}
{
"level": "debug",
"msg": "events: stream opened",
"request-id": "1KxQlgq33Vv2uU8MNaf6id9PqHS",
"time": "2019-05-08T15:55:21Z"
}
On Gitea log:
[Macaron] 2019-05-08 15:55:20: Started GET /api/v1/users/metalbote/tokens for 172.18.0.10
[Macaron] 2019-05-08 15:55:21: Completed GET /api/v1/users/metalbote/tokens 200 OK in 43.40004ms,
[Macaron] 2019-05-08 15:55:21: Started GET /api/v1/user for 172.18.0.10,
[Macaron] 2019-05-08 15:55:21: Completed GET /api/v1/user 401 Unauthorized in 1.904842ms