Skip to content
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

Socket Hang Up Issue [Long Polling] #12

Closed
rbaid1221 opened this issue Oct 4, 2018 · 2 comments
Closed

Socket Hang Up Issue [Long Polling] #12

rbaid1221 opened this issue Oct 4, 2018 · 2 comments

Comments

@rbaid1221
Copy link

When making the cometd initial handshake and connection, everything works perfectly. After about 2 connection requests, however, it gives a socket hang up issue.

Any ideas?

{ id: '5',
successful: false,
channel: '/meta/connect',
failure:
{ reason: 'socket hang up',
exception: undefined,
httpCode: 0,
connectionType: 'long-polling',
transport:
{ status: 0,
statusText: 'socket hang up',
readyState: 4,
responseText: '',
open: [Function],
setRequestHeader: [Function],
send: [Function],
abort: [Function],
_config: [Function],
context: undefined,
withCredentials: true,
onload: [Function],
onerror: [Function] },
message:
{ id: '5',
channel: '/meta/connect',
connectionType: 'long-polling',
clientId: '----deleted' } } }

@sbordet
Copy link
Member

sbordet commented Oct 5, 2018

Too little information to understand what's going on.

Please enable DEBUG logging in CometD and attach the logs to this issue.

What server are you using?
What is the CometD timeout, and what is the server idle timeout?

@sbordet
Copy link
Member

sbordet commented Nov 5, 2019

No further activity, closing.

@sbordet sbordet closed this as completed Nov 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants