July 24th, 2013, 05:05 AM
#1
Node.js client failing to connect in HTTP-STREAMING transport
In HTTP-STREAMING mode only I get:
bottom
status: CONNECTING
status: CONNECTED:STREAM-SENSING
status: CONNECTED:HTTP-STREAMING
status: STALLED
status: DISCONNECTED:WILL-RETRY
status: CONNECTING
status: CONNECTED:STREAM-SENSING
status: CONNECTED:HTTP-STREAMING
status: STALLED
...
Why?
Attached Files
July 25th, 2013, 05:13 PM
#2
Hi David,
Looks like it is an issue with the xmlhttprequest module we leverage to do HTTP-STREAMING on node: https://github.com/driverdan/node-XMLHttpRequest
I fixed the issue in the module and I filled a pull request: https://github.com/driverdan/node-XM...equest/pull/59
If and when the pull request is accepted the original owner has to push the fixed library to npm so that it may take a while before the fix is available through npm install
In the meantime you may clone my branch of the library ( https://github.com/mone/node-XMLHttpRequest ) on a folder on your pc, then go there and run
After that go into the folder where your node application is and call
Code:
npm link xmlhttprequest
At this point your client should be able to connect in HTTP-STREAMING mode.
HTH
Posting Permissions
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Rules
All times are GMT +1. The time now is 06:45 AM .
Bookmarks