mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2025-12-09 09:13:02 +03:00
editing yields "NetworkError when attempting to fetch resource" #1063
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @UltraBlackLinux on GitHub.
Subject of the issue
Whenever I try to edit an item or folder (moving, renaming, whatever) I get this error. The only thing that works is creating an entry
Deployment environment
Install method: docker image
Clients used: Web vault, desktop
Reverse proxy and version: nginx version: nginx/1.18.0 (Ubuntu)
MySQL/MariaDB or PostgreSQL version: none (I didn't change anything at least)
Other relevant details: I'm using firewalld and just imported my whole KeePassXC config via the KeePassX import option.
Steps to reproduce
I started the vaultwarden container as advised in the wiki
Expected behaviour
Editing anything should work
Actual behaviour
Everytime I try to edit or create anything I get the error mentioned above. Creating new passwords works
Troubleshooting data
-1661609993223.log
@UltraBlackLinux commented on GitHub:
I thought so, but I couldn't get my hands on any useful logs. The only ones I'm seeing are login logs
EDIT: Almost forgot the nginx logs: it doesn't look like any recent errors exist in there, and the access log shows my deletion attempt
@BlackDex commented on GitHub:
Could you provide logs from Vaultwarden?? The logs attached aren't useful, these look like client logs, and that is not something on the Vaultwarden side we can fix.
Also check the nginx logs.
@BlackDex commented on GitHub:
Could you then try to provide the support string from the admin diagnostics page? (
/admin)@UltraBlackLinux commented on GitHub:
I can't get the admin page to work. Currently vaultwarden is hosted at domain/vaultwarden/ via proxy_pass - This works perfectly, but the admin panel redirects me to domain/admin which is not the vaultwarden location
Also css seems broken on the admin page. Proxy pass is just not great
EDIT: Managed to access it via the ip directly. This is apparently the default which works.
@UltraBlackLinux commented on GitHub:
Okay! Got it. Took some time to deal with various issues, but here it is:
Your environment (Generated via diagnostics page)
Config (Generated via diagnostics page)
Show Running Config
Environment settings which are overridden: ADMIN_TOKEN
EDIT: Some client side stuff that I just noticed:
@BlackDex commented on GitHub:
It looks like you configured your reverse proxy incorrectly.
Because you are using a sub-path it needs some different configuration they just a default proxy pass.
I suggest to double check the wiki regarding this, and see if your configuration matches.
https://github.com/dani-garcia/vaultwarden/wiki/Proxy-examples and then check my example
Nginx with sub-path.The reason the admin interface isn't working, is because either the reverse proxy is faulty, or your
DOMAINconfig variable is incorrect. Once you have fixed your reverse proxy, the admin interface will probably work, and then the web-vault also will work just fine.@UltraBlackLinux commented on GitHub:
Yikes. It seems to be proxy related; Just entering my server ip and directory allows me to delete stuff as expected
I just noticed that I did get some kind of logs from my previous attempt now:
I can't log in from the web anymore
EDIT; HUH? My config is causing that? How is that possible