go-socket.io
go-socket.io copied to clipboard
socket.io library for golang, a realtime application framework.
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:  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  request payload  response  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...
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...
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()...
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...