Extremely delayed notifications over websockets


#1

I’ve been seeing delays on some tips and test tips coming in over the websocket connection delayed anywhere from 45 to 60 minutes.


#2

It’s possible PayPal’s IPN system was delayed, which is why it was taking so long. Unfortunately there’s nothing we can do to improve that when it happens.


#3

It’s happening with the test alerts too. We also have users that just aren’t getting tips over the websocket connection at all. I’m using the undocumented single connection with the join commands.


#4

How many channels are you joining to on a single connection? If you’re in thousands, try sharding your connections.


#5

Right now it’s 200. Is there a suggested number to shard afterward?


#6

Between our two instanced looks like we’ve only gotten tips for 10 of the channels.


#7

200 channels shouldn’t be a problem at all. Unfortunately I’m not able to reproduce this issue locally, so I don’t know what to tell you. If you email us your client_id and an account id of an account experiencing issues, we can try to repro it.


#8

I put a sleep delay between sending the join commands and it seems to have fixed it.


#9

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.