question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Remote Fetch Socket

See original GitHub issue

In socket v4 this line await io.of("/admin").in("room1").fetchSockets(); provides socket instances of multiple node or single node ?

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:11 (5 by maintainers)

github_iconTop GitHub Comments

3reactions
darrachequesnecommented, Mar 23, 2021

With the Redis adapter, the fetchSockets() method will return the socket instances for all Socket.IO servers.

1reaction
darrachequesnecommented, May 25, 2021

@y4my4my4m yes, I think that’s because the redis package does not support cluster, please see: https://github.com/NodeRedis/node-redis/issues/574

Read more comments on GitHub >

github_iconTop Results From Across the Web

Client API
An authority certificate or array of authority certificates to check the remote host against. ciphers, -, A string describing the ciphers to use ......
Read more >
socket.io-redis-adapter - issue with fetchSocket()
i am using pm2 cluster mode for my node app and when i try to fetch socket via // return all Socket instances...
Read more >
Git - git-remote-fd Documentation
This helper uses specified file descriptors to connect to a remote Git server. This is not meant for end users but for programs...
Read more >
Making connections with TCP and Sockets for Workers
driver/postgres/postgres' export default { async fetch(request: ... We then establish a WebSocket connection with a remote Cloudflare Tunnel ...
Read more >
NetSocket (Vert.x Stack - Docs 4.3.7 API)
Set an exception handler on the read stream. NetSocket · fetch(long amount). Fetch the specified amount of elements.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found