{"type":"error","message":"failure to subscribe"}

i always get failure to subscribe when subscribe user channel when it is in product enviornment,
and in product enviornment every ten minute, i will success to subscribe One out of ten. and i can subscribe heartbeats channel

but it always be success in dev enviornment, why .

6 Likes

The user channel has been unstable for me lately as well. The connection keeps resetting and when it reconnects I get the “failure to subscribe” error. No issues with the heartbbeats channel, though.

3 Likes

when failure to subscribe , heartbeat channel return {“channel”:“subscriptions”,“client_id”:“”,“timestamp”:“2023-11-21T10:44:04.525665183Z”,“sequence_num”:0,“events”:[{“subscriptions”:{“heartbeats”:[“heartbeats”]}}]} without user id,
i find the 2023-11-21 7:00-8:00 always return “failure to subscribe” error, and work well at about 8:00 itself

3 Likes

I have also seen this starting recently, maybe the last two weeks? This level of instability is not acceptable in a production trading engine. Can we get some information here?

3 Likes

Hi @froggengo @brendano257 ! Thank you for sharing this with us. We are looking into it and will share an update with you soon. Please keep in touch.

2 Likes

Could you also direct me to where this error message is documented. I have seen it and had to update the code, fortunately, it was not seen by my customers. I want to make sure that I know all the error messages and their reason.
Thank you

1 Like

The user stream seems to be down. Usually works after a few retries but it seems to be rejecting all subscriptions requests at the moment.

3 Likes

I am seeing the same issue - all requests on the user channel are being rejected with generic message “failure to subscribe”

2 Likes

Any rough estimate for when this might be addressed?

This is rather unfortunate if you have more than 1000 orders open, since the List Orders | Coinbase Cloud endpoint caps you on orders but the user channel doesnt.

2 Likes

The limit per request is 1K orders, but you can page through all of them using the cursor query param to get all your open orders.

1 Like

Except that endpoint is broken as well:


Whatever patch the devs rolled out to the websockets from 12-3am pacific seemed to work… but now it is back to seeing failure to subscribe :frowning:


Edit* Added 10minute granular in case it helps the devs team figure out which node reboots from last night helped :slight_smile:

3 Likes

Hi @froggengo and everyone! The team mentioned that they have redeployed the service. One of the users mentioned that it is working for him now on the support tickets that was raised. Can you please check again if you are still facing any issues with this?

1 Like

I keep getting the “failure to subscribe” error today, so the issue is definitely still happening.
Can you have another look please?

For info - it’s only the user channel that returns “failure to subscribe”.
“ticker_batch” and “heartbeats” always subscribe fine first time.

The user channel eventually succeeds if I keep retrying every few seconds, sometimes takes up to 10 tries but eventually it works.

At the moment as an interim step, my subscriptions to ticker_batch and heartbeats are keeping the connection alive (because it gets disconnected if you’re not subscribed to anything within a certain time) and I’m retrying the user subscription every few seconds until it succeeds, which it eventually does.

Let me know if I can be of any help in debugging or anything.

2 Likes

Still having problems with it, it’s better for a day or two while you’re replying, but after a day or two it will still come up as FAILURE TO SUBSCRIBE

2 Likes

@bentaylor @froggengo Thank you for sharing it. I will forward it further with my internal team.

2 Likes

Hi @Loop_11, all,
I’m experiencing exactly the same issue. Let me know if you need me to do some test.

I am actively experiencing this as well. It seems like it was resolved for a period but has come back.

2 Likes

As the other folks have mentioned, it was fixed for a few days but seems to be back:

9 Day view:

1 Like

Still receiving “failure to subscribe” for the “user” channel. Sometimes it works on the first connection attempt, sometimes on the 10th, sometimes after many more.

2 Likes

Is this still ongoing? I seem to be getting this error a lot lately.

2 Likes