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

Failed to upload after at 98% upload #6

Closed
Ciros55 opened this issue Apr 9, 2022 · 6 comments
Closed

Failed to upload after at 98% upload #6

Ciros55 opened this issue Apr 9, 2022 · 6 comments
Labels
help wanted Extra attention is needed

Comments

@Ciros55
Copy link

Ciros55 commented Apr 9, 2022

Error: connection closed at WebSocket.i (api.js:167:14)

This only happened when I use reverse proxy , using local ip its fine.

@Ciros55
Copy link
Author

Ciros55 commented Apr 9, 2022

i did enabled WebSocket support
2022-04-09_23-47

@Ciros55
Copy link
Author

Ciros55 commented Apr 9, 2022

Nevermind. I managed to solve this issue by enabling HSTS and it worked.

@Ciros55 Ciros55 closed this as completed Apr 9, 2022
@timvisee
Copy link
Owner

Not sure what happened, but yes, websocket support must be enabled as that's used for file uploads.

You mention that HSTS solved the issue. That shouldn't have any effect on websocket connectivity though. Or did you have certificate validation issues?

@timvisee timvisee added the help wanted Extra attention is needed label Apr 11, 2022
@Ciros55
Copy link
Author

Ciros55 commented Apr 11, 2022

I tired 2 certificate CloudFlare Origin , Let Encrypt. both fails to upload until HSTS enabled.
the Reverse Proxy I used is Nginx Proxy Manager (Current), HAProxy (No longer using but has same error.).

@Ciros55
Copy link
Author

Ciros55 commented Apr 11, 2022

After messing around on CloudFlare
It also could be CloudFlare Always on HTTPS messing with it.
I disabled HSTS and CloudFlare Always on HTTPS. It works just fine.
image

@timvisee
Copy link
Owner

That definitely sounds like it could mess with uploads. Happy to see you fixed the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants