Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to upload attachments #439

Closed
LeCodeCo opened this issue Mar 24, 2019 · 5 comments
Labels

Comments

@LeCodeCo
Copy link

@LeCodeCo LeCodeCo commented Mar 24, 2019

I'm having issues trying to upload attachments to an item.

When trying to get an attachment, I get the following error in my browser console.
POST https://*vault.example.com*/api/ciphers/*string*/attachment 413

@dani-garcia

This comment has been minimized.

Copy link
Owner

@dani-garcia dani-garcia commented Mar 24, 2019

Do you get any errors in the log? Is the server behind a proxy that could be modifying the requests in some way?

@BlackDex

This comment has been minimized.

Copy link
Contributor

@BlackDex BlackDex commented Mar 25, 2019

Also, please check if the proxy has some kind of upload limitation.
Nginx for instances has some lower values by default. I don't know if this is also the case with other proxy tools.

@mprasil mprasil added the question label Mar 25, 2019
@LeCodeCo

This comment has been minimized.

Copy link
Author

@LeCodeCo LeCodeCo commented Mar 28, 2019

Bitwarden_rs is behind an Nginx reverse proxy and no error appears in the server log. I'll take a look at my Nginx configuration.

@mprasil

This comment has been minimized.

Copy link
Collaborator

@mprasil mprasil commented Mar 28, 2019

413is usually a response for too big requests. How big is the attachment you're trying to upload?

@LeCodeCo

This comment has been minimized.

Copy link
Author

@LeCodeCo LeCodeCo commented Mar 28, 2019

Was Nginx side. Just had to set the maximum upload side in my config. Thanks!

@LeCodeCo LeCodeCo closed this Mar 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants
You can’t perform that action at this time.