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

Gateway Time-out when awaiting tip/retip #371

Closed
davidyuk opened this issue Jul 15, 2021 · 2 comments
Closed

Gateway Time-out when awaiting tip/retip #371

davidyuk opened this issue Jul 15, 2021 · 2 comments
Assignees

Comments

@davidyuk
Copy link
Member

It seems that tracking of at least v1 tips/retips is broken, we found it by dropping error omitting in aeternity/superhero-ui#1133. From my perspective, these endpoints should never return 504 if it is called right after submitting a tip. As a workaround, I would omit exceptions from there, but fixing it would speed up making a tip/retip.

@ifaouibadi
Copy link
Member

We're facing this issue again, it's taking a long time for the tipping backend to check if tip/retip exists, and it's throwing a Not Found exception while the tip/retip actually gets created and appears in the feed after 2-3mins

@thepiwo
Copy link
Collaborator

thepiwo commented Mar 22, 2023

There is supposed to be a timeout after 30s, if we haven't received it by then something is probably wrong or we can't ensure the event hasn't already happened and we missed it.

For consumers they can choose how to handle this, e.g. by just reloading when there has been a timeout on this endpoint

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

No branches or pull requests

4 participants