WebSocket and XmlHttpRequest sometimes open fail when I use "new Peer".

114 views
Skip to first unread message

Keishi Nojiri

unread,
Sep 25, 2015, 6:41:25 AM9/25/15
to PeerJS
I installed  peerjs server and client at my server.

But WebSocket and XmlHttpRequest sometimes open fail when I use "new Peer".
Mostly it is Ok to Open conectiion.

WebSocket and XmlHttpRequest  Sometimes Timeout occured when
during sessyon open processing.
(I can't get "onopen event" on WebSocket and "statechange:4" on XmlHttpRequest. )
I captured packets Almost the same between OK and NG.


No.     Time           Source                Destination           Protocol Length Info
    136 5.312251000    192.168.1.6           x.x.x.x        HTTP     501    POST /peerjs/1noczuNckK3KLtV/kgfmk0mvh1al9pb9/id?i=0 HTTP/1.1

No.     Time           Source                Destination           Protocol Length Info
    156 6.409510000    192.168.1.6           x.x.x.x        HTTP     620    GET /peerjs?key=peerjs&id=1noczuNckK3KLtV&token=kgfmk0mvh1al9pb9 HTTP/1.1

No.     Time           Source                Destination           Protocol Length Info
    169 6.525959000    x.x.x.x        192.168.1.6           HTTP     183    HTTP/1.1 101 Switching Protocols

No.     Time           Source                Destination           Protocol Length Info
    173 6.532269000    x.x.x.x        192.168.1.6           HTTP     60     HTTP/1.1 200 OK  (application/octet-stream)

No.     Time           Source                Destination           Protocol Length Info
    398 30.314096000   192.168.1.6           x.x.x.x        HTTP     501    POST /peerjs/1noczuNckK3KLtV/kgfmk0mvh1al9pb9/id?i=1 HTTP/1.1


My Brower is chrome (45.0.2454.99 m).
My server is Linux(Linux version 2.6.32-504.16.2.el6.x86_64).


How to solve this?
Is it only my problem?
I am seriously troubled. Please help me.

Thanks.
Reply all
Reply to author
Forward
0 new messages