2016-09-30 5 views
2

내가 사용하고 난 크롬에서 잘 작동하는 샘플 코드가 1.4.8과 파이어 폭스 (48) socket.io에 socket.io (XHR 여론 조사 오차)와 연결을 설정할 수 없습니다 파이어 폭스

socket.io-client:url "parse https://127.0.0.1:3000" +0ms 
socket.io-client "new io instance for https://127.0.0.1:3000" +3ms 
socket.io-client:manager readyState closed +3ms 
socket.io-client:manager "opening https://127.0.0.1:3000" +1ms 
engine.io-client:socket creating transport "polling" +1ms 
engine.io-client:polling polling +1ms 
engine.io-client:polling-xhr xhr poll +2ms 
engine.io-client:polling-xhr "xhr open GET: https://127.0.0.1:3000/socket.io/?EIO=3&transport=polling&t=LTvQYL3" +1ms 
engine.io-client:polling-xhr xhr data null +1ms 
engine.io-client:socket setting transport polling +2ms 
socket.io-client:manager connect attempt will timeout after 8000 +1ms 
socket.io-client:manager readyState opening +3ms 
engine.io-client:socket socket error {"type":"TransportError","description":0} +74ms 
socket.io-client:manager connect_error +1ms 
socket.io-client:manager cleanup +0ms 

어떻게 내가이 오류를 해결할 수

: 나는 여기 Error: xhr poll error.있어 클라이언트의 로그입니다, 파이어 폭스에서 실행? 감사.

답변

0

나를 위해 사이트 자체 서명 인증서가 Firefox에서 신뢰되지 않았습니다. socket url로 이동하면 예외에 신뢰할 수없는 사이트를 추가하는 대화 상자가 표시됩니다.

+0

이 질문에 대한 답변을 제공하지 않습니다. [평판] (https://stackoverflow.com/help/whats-reputation)이 충분하면 모든 게시물에서 [comment] (https://stackoverflow.com/help/privileges/comment) 할 수 있습니다. 대신 [묻는 사람의 설명이 필요없는 답변을 제공하십시오.] (https://meta.stackexchange.com/questions/214173/why-do-i-need-50-reputation-to-comment-what-can -i-do- 대신에) – Bruce