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

Bug: GRPC sometimes errors #223

Closed
nplasterer opened this issue Apr 12, 2024 · 4 comments · Fixed by #226
Closed

Bug: GRPC sometimes errors #223

nplasterer opened this issue Apr 12, 2024 · 4 comments · Fixed by #226
Labels
bug Something isn't working Partner Support

Comments

@nplasterer
Copy link
Contributor

Describe the bug

Some users are seeing this error:

Failed to load Inbox: Call to function 'XMTP.listConversations' has been rejected.→ Caused by: io.grpc.StatusException: UNAVAILABLE: Unable to resolve host production.xmtp.network 

Expected behavior

No response

Steps to reproduce the bug

No response

@nplasterer nplasterer added bug Something isn't working Partner Support labels Apr 12, 2024
@neekolas
Copy link
Contributor

That's starting to look more like an issue on the nodes. Are you able to reproduce the same error when using grpc.production.xmtp.network?

@neekolas
Copy link
Contributor

I did a little digging in to the metrics from AWS, and there are some spikes of errors coming from the load balancer. These are the ELB_5XXs metric over the past week.

CleanShot 2024-04-12 at 13 31 53@2x

Amazon describes that metric like this, which rules out issues on our nodes. It seems like the Amazon Managed LB is failing on its own (maybe through slow autoscaling or an Amazon incident)

The number of HTTP 5XX server error codes that originate from the load balancer. This count does not include any response codes generated by the targets.

@neekolas
Copy link
Contributor

The metrics from the node are healthy, but that would be consistent with a load balancer error since the requests never even would make it to the node.

@nplasterer
Copy link
Contributor Author

The android repo does use grpc.production.xmtp.network there is nothing in the android repo that actually chomps the grpc portion of the host.... I looked a little into the grpc android library and I think it's trying to treat grpc as the scheme? When I add https it fails with a no scheme error for https.

Fwiw I was able to reproduce this once. But after restarting my computer and updating android studio I haven't been able to. We do know atleast 3 others are experiencing this on there actual device though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Partner Support
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants