-
Notifications
You must be signed in to change notification settings - Fork 32
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
Timeout receiving data with vibe-d subconfiguration #84
Comments
Hello @llJochemll Thanks for your report! Will look very soon. |
looks like it is vibe-on-windows specific, as under osx and linux I can't reproduce:
This will take more time (I need to set up windows virtual machine). |
Hello, @llJochemll Sorry for long delay, it took some time to set up windows environment and reproduce problem. Working on it. |
Hello, @llJochemll Looks like this is really some problem with vibe.d and ssl - vibe.d do not report availability of last several bytes in some cases when request doc from test.documents.azure.com (50% of tests). My ability to debug vibe.d and ssl under Windows are very limited. I'm afraid I have to put this on hold now. What do you think? |
I was not sure whether the bug originated in vibe or not, but since the exception originated from requests and the build-in vibe http request (http://vibed.org/api/vibe.http.client/requestHTTP) didn't have any problems, I thought I'd post it here first. I understand that the issue is very specific (specific domain and platform) and it's not a big deal for me anyway since I mostly run my code on linux, but just figured I'd let you know the problem existed. Thanks for taking the time to look into this! (Also, if you'd need access to a Windows VM in the future, let me know and I'd probably be able to provision one for a while) |
Hello, @llJochemll Always glad to receive your bug reports. |
This is not a Vibe-d problem, it's a Windows socket problem. I get the same error at random times with any http library and even using std.net.curl. I've been struggling with this for a couple of weeks now and still can't find the source of the problem. |
Seeing this issue as well. Anyone have a workaround? |
std.net.curl works fine for me. Looks like I have to switch over to that until this is fixed. |
When performing a request to https://test.documents.azure.com the request fails with "Timeout receiving data". This only happens withe the "vibed" subconfiguration.
Tested multiple other sites (such as httpbin.org), could only reproduce with this one (any on the .documents.azure.com domain). Also tested using the 401 status page from httpbin.org, worked fine too.
Don't know wether it's a vibe-d bug or not, but thought I post it here first since the error is thrown in a file from this library.
Code:
dub.json:
Output (note that the full body is received):
Tested with
dub run --arch=x86_64 --build=plain --compiler=dmd
on a Windows 10 64bit PC.Some comments about the code:
FYI this bug isn't new to 1.0.0, it was also present in the last couple of releases.
The text was updated successfully, but these errors were encountered: