You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
module http or request stops on middle of transfers 0.32.3 #2809
When transferring a file using the http module get method, on 0.32.3 windows x64, the transfer doesn't finish, mostly on big files.
In 0.32.2 no problem
As i was making an example of this issue, i saw that 0.33.0 was released. Tested the same code against 0.33.0 and no problem. Very strange. Well, seems solved.
changed the title [-]module http stops on middle of transfers 0.32.3[/-][+]module http or request stops on middle of transfers 0.32.3[/+]on Sep 20, 2015
Also if you are creating a server inside Electron you have to paste a full example, otherwise it would be impossible to debug this since the cause is very likely to be in other parts of your code.
It's an external server, i've been doing some tests, it's very strange, your code works perfectly, but not for big files, i will be doing more tests tomorrow. The most frequent error is RangeError: length out of bounds
i am getting an error of ESOCKETTIMEDOUT and ETIMEDOUT in case of blynk app for using google voice assistant to operate my command as turning ON the LED and turning OFF the LED. it will be so helpful i get any help related to this issue. Anyone of can share the solution for this error
Activity
zcbenz commentedon Sep 17, 2015
Can you provide an example?
MikeGCV commentedon Sep 18, 2015
As i was making an example of this issue, i saw that 0.33.0 was released. Tested the same code against 0.33.0 and no problem. Very strange. Well, seems solved.
MikeGCV commentedon Sep 19, 2015
The problem has returned, i don't understand, in 0.32.2 this code works perfectly:
In 0.32.3 and 0.33 gives me this error on big files: ESOCKETTIMEDOUT. This is executed in the renderer process.
Thanks
MikeGCV commentedon Sep 19, 2015
Same error happening in the main process, no errors on 0.32.2. This is in windows.
MikeGCV commentedon Sep 20, 2015
Just tested in Linux, same error on 0.33
[-]module http stops on middle of transfers 0.32.3[/-][+]module http or request stops on middle of transfers 0.32.3[/+]zcbenz commentedon Sep 21, 2015
It is hard to determine since you are sending a request to your own server, can you try if following example works?
Also if you are creating a server inside Electron you have to paste a full example, otherwise it would be impossible to debug this since the cause is very likely to be in other parts of your code.
MikeGCV commentedon Sep 22, 2015
It's an external server, i've been doing some tests, it's very strange, your code works perfectly, but not for big files, i will be doing more tests tomorrow. The most frequent error is RangeError: length out of bounds
MikeGCV commentedon Sep 22, 2015
Ok, here's my scripts, nothing interfering, this is on 0.33.1 windows 8.1.
main.js loaded in the renderer
app.js for the main process:
Many times, the download fails with timeouts or RangeError: length out of bounds.
In version 0.32.2 this never happens
zcbenz commentedon Sep 23, 2015
Thanks for the test case, it seems that the length of Buffer becomes zero sometimes.
Akgupta11 commentedon Apr 11, 2018
i am getting an error of ESOCKETTIMEDOUT and ETIMEDOUT in case of blynk app for using google voice assistant to operate my command as turning ON the LED and turning OFF the LED. it will be so helpful i get any help related to this issue. Anyone of can share the solution for this error