-
Notifications
You must be signed in to change notification settings - Fork 1
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
Uploads break after 30 seconds #29
Labels
bug
Something isn't working
Comments
thekid
added a commit
to xp-framework/networking
that referenced
this issue
Sep 26, 2022
Fixes thousands of repeated warning messages being raised, see xp-forge/rest-client#29
Cannot reproduce this with dialog running on BEGIN target.mp4 [
<22:01:32>.................
<22:01:33>..............................
# ...
<22:02:25>...............................
]
-> webservices.rest.RestResponse(200 OK)@{
Date: Mon, 26 Sep 2022 20:01:32 GMT
Server: XP
Connection: close
Content-Type: application/json
Content-Length: 0
} |
If I slow down upload artifically, the timeout doesn't occur after 30 seconds, but later: BEGIN target.mp4 [
<22:12:19>..................
<22:12:20>.............
# ...
<22:13:47>............
]
Exception webservices.rest.RestException (Cannot send request)
at <main>::fputs() [line 358 of Socket.class.php] fputs(): SSL: Eine bestehende Verbindung... (... 834 more)
at <main>::fputs() [line 358 of Socket.class.php] fputs(): SSL operation failed with code 1. ... (... 1 more)
at <main>::fread() [line 314 of Socket.class.php] fread(): SSL: Der Vorgang wurde erfolgreich beendet
at webservices.rest.Endpoint::finish(webservices.rest.io.Transmission{}) [line 93 of RestUpload.class.php]
at webservices.rest.RestUpload::finish() [line 23 of upload.script.php] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Coming from thekid/dialog#8 (comment), while uploading via
curl
works, it doesn't when using this library.Test script
We also have debug output in
webservices.rest.RestUpload::transfer()
to show progress!Results
👉 after 30 seconds, things begin failing,
fputs()
doesn't return false but raises all these 1259 SSL: Eine bestehende Verbindung wurde softwaregesteuert durch den Hostcomputer abgebrochen warnings.The text was updated successfully, but these errors were encountered: