秋田预测市场 · Discord 审计

Websocket 频繁中断与稳定性讨论

2026-07-14 · Polymarket · 73 条相关讨论

kryme 2026-07-13 21:32:19

ws down ?

ws down ?

kryme 2026-07-13 21:32:53

yeah

yeah

kryme 2026-07-13 21:34:04

<@707597210845446214> u guys aware?

<@707597210845446214> u guys aware?

kryme 2026-07-13 21:41:16

is ws still down?

is ws still down?

kryme 2026-07-13 21:41:20

i havent checked

i havent checked

45trinity 2026-07-13 21:41:38

my ws is healthy , are you talking some specific markets?

my ws is healthy , are you talking some specific markets?

Aemond Targaryen 2026-07-13 21:41:52

Mine just came back. Was down for maybe 5 minutes

Mine just came back. Was down for maybe 5 minutes

kryme 2026-07-13 21:41:57

it was in sports for me

it was in sports for me

kryme 2026-07-13 21:42:29

oki nice

oki nice

E L 2026-07-13 21:43:01

Is PM down?

Is PM down?

45trinity 2026-07-13 21:43:22

I just saw my closing without handshake at 15:31, but recovery logic is so robust I didnt even see the errors.

I just saw my closing without handshake at 15:31, but recovery logic is so robust I didnt even see the errors.

diesel power 2026-07-13 21:43:26

Nope. Whats the issue on your end?

Nope. Whats the issue on your end?

45trinity 2026-07-13 21:44:11

15:31:07 System.Net.WebSockets.WebSocketException (0x80004005): The remote party closed the WebSocket connection without completing the close handshake.

15:31:07 System.Net.WebSockets.WebSocketException (0x80004005): The remote party closed the WebSocket connection without completing the close handshake.

Aemond Targaryen 2026-07-13 21:44:17

I just panic and start playing alarm noises when all my ws' go offline

I just panic and start playing alarm noises when all my ws' go offline

45trinity 2026-07-13 21:44:23

Do you have theory on why this is happening? mine is server rotation

Do you have theory on why this is happening? mine is server rotation

45trinity 2026-07-13 21:44:36

Its more frequent than raining

Its more frequent than raining

E L 2026-07-13 21:44:54

I cant log in. It say i cancel the request?

I cant log in. It say i cancel the request?

leo 2026-07-13 21:45:03

optimistic take

optimistic take

diesel power 2026-07-13 21:45:16

Clear cache, cookies and website data. Restart the browser and try again.

Clear cache, cookies and website data. Restart the browser and try again.

Aemond Targaryen 2026-07-13 21:45:19

Billions of ping/pong messages

Billions of ping/pong messages

diesel power 2026-07-13 21:45:27

You can also try in different browser

You can also try in different browser

E L 2026-07-13 21:45:40

I am using OKX wallet to browse

I am using OKX wallet to browse

Aemond Targaryen 2026-07-13 21:45:58

Maybe they should open a pubsub channel

Maybe they should open a pubsub channel

45trinity 2026-07-13 21:46:33

I think their regular maintanance windows for restarts is a good step

I think their regular maintanance windows for restarts is a good step

Aemond Targaryen 2026-07-13 21:47:03

But, why even use websockets? it's a one-direction communication

But, why even use websockets? it's a one-direction communication

45trinity 2026-07-13 21:47:12

Dude to me ears that like the best most effective ad I could hear about Kalshi 😆

Dude to me ears that like the best most effective ad I could hear about Kalshi 😆

45trinity 2026-07-13 21:47:17

See you guys, I am out

See you guys, I am out

45trinity 2026-07-13 21:49:12

For instance CME has UDP/TCP for MMs and WSS for retail, so actually by their standard your question is on point

For instance CME has UDP/TCP for MMs and WSS for retail, so actually by their standard your question is on point

adm 2026-07-13 21:49:48

even during office hours ? Nice and friendly office hours ?

even during office hours ? Nice and friendly office hours ?

45trinity 2026-07-13 21:49:55

https://klipy.com/gifs/troll-face-trololo

https://klipy.com/gifs/troll-face-trololo

Aemond Targaryen 2026-07-13 21:56:17

If I worked at polymarket, I'd introduce a UDP firehose channel and slowly phase out the market ws

If I worked at polymarket, I'd introduce a UDP firehose channel and slowly phase out the market ws

adm 2026-07-13 22:08:24

I believe it's in the protocol. Each ws message sent to a client is a unique copy. We can't all look at the same stream with tcp/ws. But we can with UDP/Multicast. Again, I might be wrong

I believe it's in the protocol. Each ws message sent to a client is a unique copy. We can't all look at the same stream with tcp/ws. But we can with UDP/Multicast. Again, I might be wrong

Aemond Targaryen 2026-07-13 22:09:04

I think you're right – a wss connection over tcp has some unique identifier probably

I think you're right – a wss connection over tcp has some unique identifier probably

Aemond Targaryen 2026-07-13 22:09:19

Should just move to UDP firehose for market updates

Should just move to UDP firehose for market updates

Aemond Targaryen 2026-07-13 22:09:43

If I worked at Polymarket, I would try to make this the first thing I build

If I worked at Polymarket, I would try to make this the first thing I build

parameter 2026-07-13 22:44:54

I'm kind of surprised when I read about websocket issues. I maintain 5 for redundancy and almost never have a problem. Only one market per stream though.

I'm kind of surprised when I read about websocket issues. I maintain 5 for redundancy and almost never have a problem. Only one market per stream though.

parameter 2026-07-13 22:45:38

No sequence gaps etc

No sequence gaps etc

parameter 2026-07-13 22:45:55

Yeah well why would you do that. Idgi

Yeah well why would you do that. Idgi

The Dude 2026-07-13 22:45:56

How do you know? There are no seq_id in msg

How do you know? There are no seq_id in msg

The Dude 2026-07-13 22:46:42

One WC match is like 50-100 markets already

One WC match is like 50-100 markets already

parameter 2026-07-13 22:47:07

Oh. Yeah. That makes sense then.

Oh. Yeah. That makes sense then.

parameter 2026-07-13 22:47:55

I don't trade those markets so I'm a noob there

I don't trade those markets so I'm a noob there

diesel power 2026-07-13 22:48:59

You can try recovery tool but I am not sure it will recover the combo to be honest. The reply may take up to few days depending on the volume of requests and complexity of your case.

You can try recovery tool but I am not sure it will recover the combo to be honest. The reply may take up to few days depending on the volume of requests and complexity of your case.

Fat Liquidity 2026-07-13 22:50:15

Yeah in crypto only as well

Yeah in crypto only as well

The Dude 2026-07-13 22:50:16

Idk why they dont put a seq_id

Idk why they dont put a seq_id

The Dude 2026-07-13 22:50:38

So much simpler for users to detect drops

So much simpler for users to detect drops

parameter 2026-07-13 22:51:09

Yeah I misspoke about that.

Yeah I misspoke about that.

parameter 2026-07-13 22:51:20

Kalshi though...

Kalshi though...

45trinity 2026-07-13 23:08:04

I solved this by periodically shuting down the current one. Before I do that for a couple of seconds I fire up the next one, only after I get through the initial OB list to first actual changes I still wait a bit to have the tape two times and than I close the old one. Then dedup. If I do the restart often enough I am close to no gaps in data, or like to the amount, that almost doesnt matter. Did you try this?

I solved this by periodically shuting down the current one. Before I do that for a couple of seconds I fire up the next one, only after I get through the initial OB list to first actual changes I still wait a bit to have the tape two times and than I close the old one. Then dedup. If I do the restart often enough I am close to no gaps in data, or like to the amount, that almost doesnt matter. Did you try this?

The Dude 2026-07-13 23:18:12

u're talking about market WS no?

u're talking about market WS no?

The Dude 2026-07-13 23:18:56

tried opening multile for user WS and was exploding my CPUs for some reason, need to look into it again

tried opening multile for user WS and was exploding my CPUs for some reason, need to look into it again

45trinity 2026-07-13 23:40:14

Yeah exactly market ws. Thats strange, overstressing CPUs never occured to me. On local laptot or DPS?

Yeah exactly market ws. Thats strange, overstressing CPUs never occured to me. On local laptot or DPS?

45trinity 2026-07-13 23:41:54

It was pain in the ass, but for months it became stable for me... 🙂

It was pain in the ass, but for months it became stable for me... 🙂

Ali 2026-07-14 18:30:14

Here is what’s going into Phase 1 (giving it out for free to get real testers): ⚡ Redundant Websockets: Pulling from 3 servers. If one drops, the others catch it. Zero missed ticks. 📊 Real Price Tracking: 3m candles of the exact BTC index price PM uses. ⚖️ Directional Volume: Separating UP volume and DOWN volume to see where the crowd is shifting before price moves. 🌍 Session Boxes: Overlaying Asia/London/NY sessions to spot liquidity breakouts vs. consolidation chop. 📓 Trade Journaling: Auto-screenshots of your entry/exits exported to PDF to build a real pre-market routine. 🏋️ "The Gym": A backtesting engine that drops you into a random historic PM date so you can fast-forward and paper-trade real scenarios. I’m coding this right now. What am I missing? If you guys have any specific features you're dying for on PM, let me know and I’ll literally build it in.

Here is what’s going into Phase 1 (giving it out for free to get real testers): ⚡ Redundant Websockets: Pulling from 3 servers. If one drops, the others catch it. Zero missed ticks. 📊 Real Price Tracking: 3m candles of the exact BTC index price PM uses. ⚖️ Directional Volume: Separating UP volume and DOWN volume to see where the crowd is shifting before price moves. 🌍 Session Boxes: Overlaying Asia/London/NY sessions to spot liquidity breakouts vs. consolidation chop. 📓 Trade Journaling: Auto-screenshots of your entry/exits exported to PDF to build a real pre-market routine. 🏋️ "The Gym": A backtesting engine that drops you into a random historic PM date so you can fast-forward and paper-trade real scenarios. I’m coding this right now. What am I missing? If you guys have any specific features you're dying for on PM, let me know and I’ll literally build it in.

fassamcoidado 2026-07-14 18:32:44

You need at least 900

You need at least 900

Ali 2026-07-14 18:33:27

alright you guys are clowning me .. english is not my native language so i used ai to say what i had in mind better.....

alright you guys are clowning me .. english is not my native language so i used ai to say what i had in mind better.....

Ali 2026-07-14 18:33:48

and 1 websocket is enough to read live data from polymarket, but make it 3 just to make sure that if one gets disconnected, we dont miss anything...

and 1 websocket is enough to read live data from polymarket, but make it 3 just to make sure that if one gets disconnected, we dont miss anything...

Ali 2026-07-14 18:35:14

anyway i am building that what i described and its gonna be for free... i post updates here, i want to see if it improves your trades or not

anyway i am building that what i described and its gonna be for free... i post updates here, i want to see if it improves your trades or not

Ali 2026-07-14 18:35:52

and also it has papertrading feature

and also it has papertrading feature

Ali 2026-07-14 18:36:02

Hi <@1374752156015657020>

Hi <@1374752156015657020>

Emily 2026-07-14 18:37:29

Thanks. let me know if it is finished.

Thanks. let me know if it is finished.

Emily 2026-07-14 18:38:04

I think he couldn't make that. 100% sure

I think he couldn't make that. 100% sure

Ali 2026-07-14 18:39:33

i make it in 9 days

i make it in 9 days

Ali 2026-07-14 18:39:43

and post daily updates here, if it doesnt annoy u guys

and post daily updates here, if it doesnt annoy u guys

Ali 2026-07-14 18:40:22

i keep it short just screenshot and stuff... i really need real traders to test my terminal, otherwise i would be building it for nobody

i keep it short just screenshot and stuff... i really need real traders to test my terminal, otherwise i would be building it for nobody