[GH-ISSUE #2708] Error vaultwarden::api::admin][ERROR] Invalid admin token. #1355

Closed
opened 2026-03-03 02:08:27 +03:00 by kerem · 2 comments
Owner

Originally created by @mikey6283 on GitHub (Aug 25, 2022).
Original GitHub issue: https://github.com/dani-garcia/vaultwarden/issues/2708

FInally thought i had Vault Warden connected to cloudflare. It was ok for two days then i noticed that cloudflare had errors so i restarted and it was fine but now i unable to log into admin. created a new key still unable to login

| This is an unofficial Bitwarden implementation, DO NOT use the |
| official channels to report bugs/features, regardless of client. |
| Send usage/configuration questions or feature requests to: |
| https://vaultwarden.discourse.group/ |
| Report suspected bugs/issues in the software itself at: |
| https://github.com/dani-garcia/vaultwarden/issues/new |

2022-08-25 15:00:04.910][vaultwarden::api::admin][ERROR] Invalid admin token. IP: 192.168.0.16

[2022-08-25 15:00:04.910][response][INFO] (post_admin_login) POST /admin/ => 303 See Other
[2022-08-25 15:00:04.914][request][INFO] GET /admin
[2022-08-25 15:00:04.914][_][WARN] Request guard AdminToken is forwarding.
[2022-08-25 15:00:04.914][response][INFO] (admin_login) GET /admin/ [2] => 200 OK

FInally thought i had Vault Warden connected to cloudflare. It was ok for two days then i noticed that cloudflare had errors so i restarted and it was fine but now i unable to log into admin. created a new key still unable to login

I am not sure is these errors have anything to do with it but hopefully it may help.

I hope you can advice?

Originally created by @mikey6283 on GitHub (Aug 25, 2022). Original GitHub issue: https://github.com/dani-garcia/vaultwarden/issues/2708 FInally thought i had Vault Warden connected to cloudflare. It was ok for two days then i noticed that cloudflare had errors so i restarted and it was fine but now i unable to log into admin. created a new key still unable to login | This is an *unofficial* Bitwarden implementation, DO NOT use the | | official channels to report bugs/features, regardless of client. | | Send usage/configuration questions or feature requests to: | | https://vaultwarden.discourse.group/ | | Report suspected bugs/issues in the software itself at: | | https://github.com/dani-garcia/vaultwarden/issues/new | 2022-08-25 15:00:04.910][vaultwarden::api::admin][ERROR] Invalid admin token. IP: 192.168.0.16 [2022-08-25 15:00:04.910][response][INFO] (post_admin_login) POST /admin/ => 303 See Other [2022-08-25 15:00:04.914][request][INFO] GET /admin [2022-08-25 15:00:04.914][_][WARN] Request guard `AdminToken` is forwarding. [2022-08-25 15:00:04.914][response][INFO] (admin_login) GET /admin/ [2] => 200 OK FInally thought i had Vault Warden connected to cloudflare. It was ok for two days then i noticed that cloudflare had errors so i restarted and it was fine but now i unable to log into admin. created a new key still unable to login I am not sure is these errors have anything to do with it but hopefully it may help. I hope you can advice?
kerem closed this issue 2026-03-03 02:08:28 +03:00
Author
Owner

@BlackDex commented on GitHub (Aug 25, 2022):

There is a similar case regarding this:
https://github.com/dani-garcia/vaultwarden/discussions/2448

For some reason, sometimes, cloudflare has some issues with the 303 response.
That is not something we can fix on our side.

<!-- gh-comment-id:1227339321 --> @BlackDex commented on GitHub (Aug 25, 2022): There is a similar case regarding this: https://github.com/dani-garcia/vaultwarden/discussions/2448 For some reason, sometimes, cloudflare has some issues with the 303 response. That is not something we can fix on our side.
Author
Owner

@FatGrizzly commented on GitHub (Aug 28, 2022):

There is a similar case regarding this: #2448

For some reason, sometimes, cloudflare has some issues with the 303 response. That is not something we can fix on our side.

I am currently running vaultwarden behind cloudflare for more than 5 months, have had no issues logging into /admin.

<!-- gh-comment-id:1229393947 --> @FatGrizzly commented on GitHub (Aug 28, 2022): > There is a similar case regarding this: #2448 > > For some reason, sometimes, cloudflare has some issues with the 303 response. That is not something we can fix on our side. I am currently running vaultwarden behind cloudflare for more than 5 months, have had no issues logging into /admin.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/vaultwarden#1355
No description provided.