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

[Error] socket-client, server 연결 #109

Closed
Deb-neal opened this issue Nov 29, 2021 · 0 comments
Closed

[Error] socket-client, server 연결 #109

Deb-neal opened this issue Nov 29, 2021 · 0 comments
Assignees

Comments

@Deb-neal
Copy link
Collaborator

해결된 에러라면 라벨에 'Complete' 를 달아주세요.
미해결된 에러라면 라벨을 'In progress' 로 변경해주세요.

어떤 에러인가요?

  • socket io를 사용하여 client, server을 연결하고자 할때
  • 무한재접속 되는 에러가 발생함

에러 메시지

GET /socket.io/?EIO=4&transport=websocket 302 0.631 ms - 23
GET /socket.io/?EIO=4&transport=websocket 302 0.283 ms - 23
GET /socket.io/?EIO=4&transport=websocket 302 1.330 ms - 23
GET /socket.io/?EIO=4&transport=websocket 302 1.266 ms - 23
GET /socket.io/?EIO=4&transport=websocket 302 1.206 ms - 23
GET /socket.io/?EIO=4&transport=websocket 302 0.923 ms - 23
GET /socket.io/?EIO=4&transport=websocket 302 0.760 ms - 23
$ 터미널의 에러 코드를 여기 넣어주세요.

에러 핸들링 방법

  • 핸들링 방법에 대해서 간단하게 기록해보세요.
  • client파일에 is.connet("url", transports: ["websocket"])을 사용하여 무한재시작되는것을 방지한다.
// 코드가 들어가도 좋아요!

에러 핸들링을 위해 참고한 레퍼런스 링크

socketio/socket.io-client#1097
링크

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants