importing failure - possibly too big file #1847

Closed
opened 2026-04-06 02:29:03 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @eleaner on 12/21/2022

Subject of the issue

The import of a bigger file fails but works perfectly on vault.bitwarden.com
Smaller files do work.

Is it possible that traefik (or something) has a default setting that limits sie of the request?

Deployment environment

Steps to reproduce

hard, possibly trying to import a bigger file
I tried bitwarden json ~600kb and dashlane CSV ~1500kb
import of smaller files works

Expected behaviour

the data is imported into database

Actual behaviour

the server reports

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>400 Bad Request</title>
</head><body>
<h1>Bad Request</h1>
<p>Your browser sent a request that this server could not understand.<br />
</p>
</body></html>

on web-ui
image

Troubleshooting data

*Originally created by @eleaner on 12/21/2022* ### Subject of the issue The import of a bigger file fails but works perfectly on vault.bitwarden.com Smaller files do work. Is it possible that traefik (or something) has a default setting that limits sie of the request? ### Deployment environment * Install method: docker-compose using this https://github.com/dani-garcia/vaultwarden/wiki/Docker---Traefik---ModSecurity-Setup * Clients used: web-ui/cli * Reverse proxy and version: traefik:latest * MySQL/MariaDB or PostgreSQL version: n/a * Other relevant details: ### Steps to reproduce hard, possibly trying to import a bigger file I tried bitwarden json ~600kb and dashlane CSV ~1500kb import of smaller files works ### Expected behaviour the data is imported into database ### Actual behaviour the server reports ``` <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>400 Bad Request</title> </head><body> <h1>Bad Request</h1> <p>Your browser sent a request that this server could not understand.<br /> </p> </body></html> ``` on web-ui <img width="563" alt="image" src="https://user-images.githubusercontent.com/5169203/208974064-b88ce500-acfc-493d-984b-c272d5a637bf.png"> ### Troubleshooting data <!-- Share any log files, screenshots, or other relevant troubleshooting data -->
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/vaultwarden#1847