-
Notifications
You must be signed in to change notification settings - Fork 18
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
Bevy 0.12, ehttp + low level wasm #19
Conversation
Anyway, this is in line with what I had in mind for the wasm backend as well. But why use |
That's so weird... What OS are you on? And just to confirm, this used to work with surf? Also totally agree about using ureq directly is better. Feel free to take over! |
Arch Linux. I believe surf and reqwest worked. ureq and minreq don‘t. So you‘re saying these crates don‘t have that problem on your end? |
No they don't. I've only tried ehttpn(this branch though) |
I have arch on my laptop, but don't have time to test until a couple of days |
While it‘s concerning that it‘s inconsistent, it‘s clearly a bug and probably shouldn‘t influence the decision on which client to use. Right now, making at least the native backend non-blocking seems more important; regarding that, please see my latest comment in the other PR. |
Update: I figured that maybe it could be a problem because those two crates use rustls as default, but it turns out the time-out happens on TCP level.
Which is kind of obvious to happen, since the domain alone returns no connection on either 80 or 443 without a path. Example:
|
Maybe I'm just stupid, but how could you add a path on the tcp level? Also, that example for me just prints "connected", but I guess that's to be expected, since it works for me anyway. EDIT: I tested it on arch as well, and it prints and the |
You can't, because that's a HTTP thing. The only commonality I'm seeing is that EDIT: I have tried it on my laptop and it cannot connect either, so it's probably not a platform problem, but a network problem. Where do you host this server? Are you in the same network as this server? I think it might be useful to get the result of a third party. |
I’m just confused because you said
If the problem is at the tcp level, why does the path matter? They’re not on the same network. I tried on my machine at work and no problems with
It's a digital ocean droplet running an nginx reverse proxy to a minio docker container |
alternative to #18
This isn't pretty, but at least it: