Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Timeout issues on some SDK calls #297

Open
mickaelpois opened this issue Nov 28, 2018 · 18 comments
Open

Timeout issues on some SDK calls #297

mickaelpois opened this issue Nov 28, 2018 · 18 comments

Comments

@mickaelpois
Copy link
Contributor

mickaelpois commented Nov 28, 2018

Some PHP SDK users are always complaining about random timeouts when calling our services.

Most of time, calls has been successfully received by our servers and Payins, Transferts, Payouts, etc. are well processed.

We will try in the following months to find some ways to enhance this, avoiding extra manual checks to ensure call has been done safely.

@mickaelpois mickaelpois changed the title Timeouts issues on some SDKs calls Timeouts issues on some SDK calls Nov 28, 2018
@mickaelpois mickaelpois changed the title Timeouts issues on some SDK calls Timeout issues on some SDK calls Nov 28, 2018
@iammichiel
Copy link
Contributor

Hi,

I think I was one of the main reporters on this issue. This still occurs for us. Is there any progress on this? Is this happening only using the php-sdk?

I am ready to use our environment for additional debugging if required.

@SoloJr
Copy link
Contributor

SoloJr commented Apr 13, 2020

@mickaelpois I believe this is not an issue anymore. Can you take a look?

@mangomaxoasis
Copy link
Contributor

Hi @iammichiel,
Indeed in certain very isolated periods the API responses (this is independent of the SDK) have experienced slowdowns, we actively monitor and inform our user base of issues of this kind.
At the moment the responses speeds are fully operational and compliant.
For info, the timeout periods in this SDK are of 30secs for connection, and 80s for responses.
Cheers,
Max

@iammichiel
Copy link
Contributor

Just for you info, we experienced another timeout last week :

More precisely : Jun 11, 2020 7:27:03 AM UTC
When calling :

$mangoUser = $this->mango->Users->Get($user->getMangoId());

Might not want to consider this as closed.

@mangomaxoasis mangomaxoasis reopened this Jun 16, 2020
@mangomaxoasis
Copy link
Contributor

Hi @iammichiel,
I'll investigate this, to confirm it was one occurence at Jun 11, 2020 7:27:03 AM UTC ?

@iammichiel
Copy link
Contributor

iammichiel commented Jun 17, 2020

Yes, we had only one occurence of the timeout over the last 7 days. The logs do not go further. I will let you know if this occurs again.

@mangomaxoasis
Copy link
Contributor

Thanks @iammichiel !

@iammichiel
Copy link
Contributor

We just experienced another timeout :

$cardRegistration = $mangoPayApi->CardRegistrations->Get($cardId);

Jun 30, 2020 9:28:13 AM UTC

@mangomaxoasis
Copy link
Contributor

Hi @iammichiel we're looking into it

@catacraciun
Copy link
Collaborator

@iammichiel is his happening on staging, or production?

@mangomaxoasis
Copy link
Contributor

@iammichiel also, can you confirm the version of the SDK?

@iammichiel
Copy link
Contributor

iammichiel commented Jun 30, 2020

I wouldn't bother you if this happened on staging. :) This is a production issue.

We are using the 3.0.0 version of the SDK, but this has been the case for a couple of months, meaning, it also occurred using the 2.x version of the SDK.

If this has any value for you, our env making those calls is hosted on AWS in the eu-west-region (Ireland).

I'll add I was convinced at first, it had something to do with the Rate-limiting but I can confirm that we were very far from the Rate-limit when this timeout occured.

@iammichiel
Copy link
Contributor

And another timeout : Jul 4, 2020 9:02:00 AM UTC.

@iammichiel
Copy link
Contributor

And another timeout this morning : Jul 22, 2020 7:09:37 AM UTC

@mangomaxoasis
Copy link
Contributor

Hi @iammichiel
We are still having trouble isolating this issue, would you be free for a quick call so we can better understand the situation?

@iammichiel
Copy link
Contributor

Yeah, sure. Perhaps, we can switch to a email to setup that call ? You can contact me at michiel at ouistock dot fr.

@mangomaxoasis
Copy link
Contributor

Hi @iammichiel mail sent, let me know if you don't receive it
Max

@dduwoyemgp dduwoyemgp reopened this Jan 28, 2021
@spiritinlife
Copy link

Happy to see this has been reported by others. We are also experiencing the same from time to time. It can be sporadic with just one timeout or can also last for multiple requests 10-20 feeling like an outage.

I have been in talks with the support to provide specific api calls that failed and will revert if we get any more information. It seems that mangopay responds with 200 but not under 30 seconds.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants