NexusHub icon indicating copy to clipboard operation
NexusHub copied to clipboard

Websocket publish/subscribe sometimes doesn't work

Open Nakroma opened this issue 6 years ago • 1 comments

I'm submitting a...

  • [x] Bug report
  • [ ] Feature request
  • [ ] Documentation issue or request

Current behavior

Sometimes, over a longer period of time, the cubic-client subscription to an endpoint stops, then starts working again. This is not an issue with the NexusHub API directly, as the this.publish function gets called correctly. Not sure if it's a websocket or cubic-client issue.


Expected behavior

The cubic-client subscription keeps receiving data.


Minimal reproduction of the problem

Hard, basically wait for the bot in discord trade_chat to stop posting the tradechat.


Environment

Browser:

  • [ ] Chrome (desktop) version:
  • [ ] Chrome (Android) version:
  • [ ] Chrome (iOS) version:
  • [ ] Firefox version:
  • [ ] Safari (desktop) version:
  • [ ] Safari (iOS) version:
  • [ ] IE version:
  • [ ] Edge version:

For development issues:

  • Node version:
  • Operating System:

Additional Description

Nakroma avatar Sep 09 '19 15:09 Nakroma

may be linked to the memleak

Nakroma avatar Oct 31 '19 14:10 Nakroma