Cannot delete items (No matching routes for PUT) #719

Closed
opened 2026-02-04 22:20:32 +03:00 by OVERLORD · 5 comments
Owner

Originally created by @xmijo on GitHub (Jun 4, 2020).

This issue occurs on Bitwarden's official apps for macOS and iOS. I don't know if issues related to them are considered out of scope for bitwarden_rs devs but it could be of interest for compatibility-reasons so I'll file it here anyway.

Subject of the issue

I'm running bitwarden_rs on a Raspberry Pi server and unable to delete vault entries from the Bitwarden macOS and iOS apps. A pop-up message appears asking me to confirm moving it to the trash and when I press continue another pop-up appears saying "An error has occured." And the item doesn't get deleted.

I've only tested with login items in the vault. Deleting from the bitwarden_rs web app works fine.

  • Bitwarden_rs version: 1.9.1-8be2ed62
  • Install method: docker, mprasil/bitwarden:raspberry (cc: @mprasil)
  • Clients used: Bitwarden macOS 1.18.0, Bitwarden iOS 2.4.2 (68)
  • Other relevant information: Rocket TLS pointing towards a self-signed certificate.

Steps to reproduce

Start the docker container with:
docker run -d --name bitwarden -e ROCKET_TLS='{certs="/ssl/server.crt",key="/ssl/server.key"}' -v /ssl/keys/:/ssl/ -v /bw-data/:/data/ -p 443:80 -e ADMIN_TOKEN=<REDACTED> mprasil/bitwarden:raspberry

Add a new login entry then try to delete it.

Expected behaviour

Item should be deleted.

Actual behaviour

Error message appears and item is not deleted.

Relevant logs

[rocket::rocket][INFO] PUT /api/ciphers//delete:
[ERROR] No matching routes for PUT /api/ciphers//delete.
[WARN] Responding with 404 Not Found catcher.
[INFO] Response succeeded.

Originally created by @xmijo on GitHub (Jun 4, 2020). This issue occurs on Bitwarden's official apps for macOS and iOS. I don't know if issues related to them are considered out of scope for bitwarden_rs devs but it could be of interest for compatibility-reasons so I'll file it here anyway. ### Subject of the issue I'm running bitwarden_rs on a Raspberry Pi server and unable to delete vault entries from the Bitwarden macOS and iOS apps. A pop-up message appears asking me to confirm moving it to the trash and when I press continue another pop-up appears saying "An error has occured." And the item doesn't get deleted. I've only tested with login items in the vault. Deleting from the bitwarden_rs web app works fine. * Bitwarden_rs version: 1.9.1-8be2ed62 * Install method: docker, mprasil/bitwarden:raspberry (cc: @mprasil) * Clients used: Bitwarden macOS 1.18.0, Bitwarden iOS 2.4.2 (68) * Other relevant information: Rocket TLS pointing towards a self-signed certificate. ### Steps to reproduce Start the docker container with: `docker run -d --name bitwarden -e ROCKET_TLS='{certs="/ssl/server.crt",key="/ssl/server.key"}' -v /ssl/keys/:/ssl/ -v /bw-data/:/data/ -p 443:80 -e ADMIN_TOKEN=<REDACTED> mprasil/bitwarden:raspberry` Add a new login entry then try to delete it. ### Expected behaviour Item should be deleted. ### Actual behaviour Error message appears and item is not deleted. ### Relevant logs [rocket::rocket][INFO] PUT /api/ciphers/<REDACTED>/delete: [ERROR] No matching routes for PUT /api/ciphers/<REDACTED>/delete. [WARN] Responding with 404 Not Found catcher. [INFO] Response succeeded.
Author
Owner

@jjlin commented on GitHub (Jun 5, 2020):

The mprasil image should no longer be used, as mentioned at https://hub.docker.com/r/mprasil/bitwarden.

You should docker pull bitwardenrs/server:1.15.0-raspberry for the current release, or docker pull bitwardenrs/server:raspberry for the latest commits.

@jjlin commented on GitHub (Jun 5, 2020): The mprasil image should no longer be used, as mentioned at https://hub.docker.com/r/mprasil/bitwarden. You should `docker pull bitwardenrs/server:1.15.0-raspberry` for the current release, or `docker pull bitwardenrs/server:raspberry` for the latest commits.
Author
Owner

@fopina commented on GitHub (Jun 5, 2020):

I'm on 1.14.2 and the same issue occurs:

[2020-06-05 02:50:31][request][INFO] PUT /api/ciphers/0181e61b-1ad3-4069-a951-76407c72cc40/delete
404 not found
[2020-06-05 02:54:17][request][INFO] DELETE /api/ciphers/0181e61b-1ad3-4069-a951-76407c72cc40
works

haven't tried 1.15 but I don't see anything in changelog referring to this..

PUT is used by the mobile and desktop app (and they fail)
DELETE is used by the web vault (and it works)

@fopina commented on GitHub (Jun 5, 2020): I'm on 1.14.2 and the same issue occurs: ``` [2020-06-05 02:50:31][request][INFO] PUT /api/ciphers/0181e61b-1ad3-4069-a951-76407c72cc40/delete 404 not found [2020-06-05 02:54:17][request][INFO] DELETE /api/ciphers/0181e61b-1ad3-4069-a951-76407c72cc40 works ``` haven't tried 1.15 but I don't see anything in changelog referring to this.. PUT is used by the mobile and desktop app (and they fail) DELETE is used by the web vault (and it works)
Author
Owner

@jjlin commented on GitHub (Jun 5, 2020):

It should probably be called out more clearly in the release notes, but this is related to the soft delete support added to the clients. See also #1013.

@jjlin commented on GitHub (Jun 5, 2020): It should probably be called out more clearly in the release notes, but this is related to the soft delete support added to the clients. See also #1013.
Author
Owner

@xmijo commented on GitHub (Jun 5, 2020):

I can confirm deleting items from the macOS/iOS apps works perfectly when using the latest version (bitwardenrs/server:raspberry). Thanks for your help.

@xmijo commented on GitHub (Jun 5, 2020): I can confirm deleting items from the macOS/iOS apps works perfectly when using the latest version (bitwardenrs/server:raspberry). Thanks for your help.
Author
Owner

@fopina commented on GitHub (Jun 6, 2020):

just upgraded and second that, perfect.

@fopina commented on GitHub (Jun 6, 2020): just upgraded and second that, perfect.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/vaultwarden#719