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

error on file download in dev env #541

Closed
redshiftzero opened this issue Aug 20, 2019 · 2 comments
Closed

error on file download in dev env #541

redshiftzero opened this issue Aug 20, 2019 · 2 comments
Labels
bug Something isn't working needs/reproducing

Comments

@redshiftzero
Copy link
Contributor

This is probably a dev env issue but I'm hitting an error on file download against the dev container on master, filing in case anyone else rapidly knows what the problem is here.

STR

  1. Start client
  2. Try to download a file (not message)

Expected behavior

File is downloaded

Actual behavior

File download fails, the following appears in logs:

2019-08-20 16:23:29,405 - securedrop_client.logic:613(on_file_download_failure) DEBUG: Failed to download file: HTTPConnectionPool(host='localhost', port=8081): Max retries exceeded with url: /api/v1/sources/236d50e2-34c0-4e4d-9713-665f31a783e3/submissions/a7abf158-c291-43a3-8ef6-c86874c8acce/download (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x112fcd080>: Failed to establish a new connection: [Errno 22] Invalid argument',))
@eloquence eloquence added bug Something isn't working needs/reproducing labels Sep 19, 2019
@redshiftzero
Copy link
Contributor Author

Allie reported not seeing this in dev and I just tried while testing #547 and don't see it (this was almost a month ago so could have been just my dev env), closing

@redshiftzero
Copy link
Contributor Author

ahhh i just hit this again while testing #563 and it turns out it was due to #546, so if anyone hits this: use very small files until #546 is resolved

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs/reproducing
Projects
None yet
Development

No branches or pull requests

2 participants