chargebee-js-wrappers icon indicating copy to clipboard operation
chargebee-js-wrappers copied to clipboard

REPLY_TIMEOUT: Action timed out

Open jrandeniya opened this issue 4 years ago • 17 comments

We have started to see "REPLY_TIMEOUT: Action timed out" errors when using the drop-in ChargeBee Javascript V2 and the React wrapper for it. These errors happen intermittently.

We did a bit of digging into the ChargeBee SDK and found that the issue was in the ReplyMessage.ts file. The constructor establishes a self destruct with a timeout of 10,000ms and expects the caller to call markAsReceived method before the timeout expires. However, due to some unknown issue this callback is never called and the REPLY TIMEOUT error is thrown.

This is a critical issue for our users because the CB iFrame fails to load and our users cannot enter their credit card details.

We saw this issue ~40 times/week with v0.2.0 but it spiked to 103 events in a single day when we upgraded to v0.4.0. We will monitor for another 24 hours and if issues persist, we will roll back the upgrade.

Can you please advise?

jrandeniya avatar Dec 06 '20 23:12 jrandeniya

Hi @jrandeniya, Do you still see this issue happening?

cb-dinesh avatar Mar 23 '21 14:03 cb-dinesh

We also experience this error.

In the past 14 days, it happened 7.5k times for 2.1k users

image

Past 24h happened around 100 times:

image

(I guess CBError is your function)

We also see other errors:

Loading chunk 27 failed. (error: https://js.chargebee.com/v2/27-5a1ceb90e75f6ed5571a.js)

339 events for 54 users (past 14 days)

eek avatar Mar 25 '21 22:03 eek

We're seeing this pretty frequently, too, with the Angular wrapper.

MattHoneycutt avatar Mar 30 '21 13:03 MattHoneycutt

Hi there! This error is not specific to wrapper, rather its coming from Chargebee.js. We are actively looking into minimising the REPLY_TIMEOUT errors. For 99% of the cases, this error does not impact the workflow.

I'll keep this thread updated on the details.

cb-dinesh avatar Apr 05 '21 15:04 cb-dinesh

Just to confirm this is happening with us as well - image

It seems to be happening when users interact with the page and it refreshes the wrapper a lot, although I can't find a simple cause - if you want me to show you I can sort something out

Thanks

ashleyoldershaw avatar Mar 02 '22 17:03 ashleyoldershaw

Happens for us too, although so far it only happened when the loading of the site is impaired due to "fake breakpoints" that aren't actually hit but which cause the browser to delay the calls by 100ms or so.

ciriousjoker avatar Mar 06 '22 16:03 ciriousjoker

Hi All, Yes I can acknowledge this issue. It is coming from Chargebee.js which has iframe implementation. During component refresh, the iframes gets unmouted leading to these errors in the console. We are already working on a fix, will keep this thread posted on the ETA.

cb-dinesh avatar Mar 07 '22 12:03 cb-dinesh

Hi all, recently we are getting this issue and its very random in behavior. is there any solution/work-around available for this issue?

sonawanevivek123 avatar Sep 26 '22 11:09 sonawanevivek123

Hey @cb-dinesh, sorry to bother you but do you know if there was any progress?

ShetlandJ avatar Dec 06 '22 13:12 ShetlandJ

+1 Getting similar errors using React wrapper

dmitriy-kudinov avatar Dec 06 '22 19:12 dmitriy-kudinov

+1 Getting the REPLY_TIMEOUT errors frequently with the react wrapper. Lot of sentry issues are reported. image

theIYD avatar Dec 09 '22 03:12 theIYD

Hello Everyone, we are checking on this.

cb-ajaysharma avatar Dec 09 '22 07:12 cb-ajaysharma

This long standing bug of two and a half years should be addressed.

jaska120 avatar Apr 04 '23 13:04 jaska120

Is there any update on this issue?

lrencallado avatar Dec 04 '23 09:12 lrencallado

I am still experiencing this issue. Any news on this? @cb-ajaysharma

blingkonnerth avatar Jul 12 '24 13:07 blingkonnerth

This issue is still happening , any updates?

julianCast avatar Oct 02 '24 07:10 julianCast

I confirm this is still happening

gyopiazza avatar Dec 25 '24 16:12 gyopiazza