go-socket.io icon indicating copy to clipboard operation
go-socket.io copied to clipboard

socket.io library for golang, a realtime application framework.

Results 144 go-socket.io issues
Sort by recently updated
recently updated
newest added

I have a private project which uses `go-socket.io`. Frequently, all connections will hang when connecting, for around a second, as shown by gin debug logs: ![image](https://user-images.githubusercontent.com/40673815/205395679-06c06fdc-91c1-4b65-8750-3de53e166fa1.png) Only a few packets...

has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource

go version: **1.19** go-socket.oi version: **1.6.2** socket-io js client version: **1.7.4** request header ![image](https://user-images.githubusercontent.com/13815562/191716768-101e6b5a-2d82-46f2-8b32-bc186b9ad30e.png) request payload ![image](https://user-images.githubusercontent.com/13815562/191736678-dcf8ea37-96dc-4d46-b1a9-9cf905785742.png) response ![image](https://user-images.githubusercontent.com/13815562/191716550-692a80e0-1cc2-4d1c-9029-879886d0705a.png) Before submit this issue, i had quick read go-socket.io source code,...

When connecting from socketio client.. its throwing error Error: server error at Socket.onPacket (socket.js?0112:317:1) at Emitter.emit (index.js?5641:143:1) at XHR.onPacket (transport.js?1272:100:1) at callback (polling.js?ae7b:83:1) at Array.forEach () at XHR.onData (polling.js?ae7b:86:1) at...

error info : http: superfluous response.WriteHeader call from github.com/googollee/go-socket.io/engineio.(*Server).ServeHTTP (server.go:99) chorme call const socket = new WebSocket("ws://localhost:3000/socket.io/?EIO=4&transport=websocket"); socket.onopen = () => console.log('WebSocket connection opened'); socket.onmessage = (event) => console.log('Message from...

bug

If you use the code from the example, it will only waste your time as it is unusable. (It only works when you connect in the first step, and subsequent...

bug

2024/08/12 14:54:38 Connection established. 2024/08/12 14:54:39 Connected to server 2024/08/12 14:54:40 Connected to server 2024/08/12 14:54:40 ERROR store post: err="post: Post \"http://localhost:9099/socket.io/?EIO=3&sid=29490cb2-97a0-4036-a399-72d3aa748e21&t=8MhWQSBwgV1&transport=polling&username=123\": write tcp 127.0.0.1:60671->127.0.0.1:9099: write: broken pipe" 2024/08/12 14:54:40...

Unresolved reference 'NewClient' Unresolved reference 'OnEvent' Unresolved reference 'Connect' Unresolved reference 'Emit' Unresolved reference 'Close' What do you do man? package main import ( socketio "github.com/googollee/go-socket.io" "log" ) func main()...

bug

Hi Unable to receive binary data ,continuously going in loop with following _placeholder event message. Any suggestion Version: [email protected] 2024/07/02 22:05:27 ==> binary-packet Event map[_placeholder:true num:0] 2024/07/02 22:05:27 ==> binary-packet...

**Is your feature request related to a problem? Please describe.** Currently, we don't have any support for emitting to a specific client only. Like the one given here [Link](https://stackoverflow.com/questions/10110411/node-js-socket-io-how-to-emit-to-a-particular-client?rq=3) I...