-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
We are currently using the http relay docker container from https://httprelay.io/ for our Pubky login. Unfortunately, the login doesn't work in certain cases on mobile.
Unconfirmed Reason
I suspect the problem is due to the mobile app/website being terminated (put into the background) and the relayed value still being consumed. This likely happens the following way:
- Mobile app request value as a consumer.
- Mobile app is put into the background. The app including the network request is terminated.
- The http relay does know that the connection is terminated on the mobile app. It still thinks it's connected.
- The producer sends the value.
- The relay sends the value over to the consumer and marks the job as done.
- The consumer network request is aborted so the mobile app doesn't know about the value produced.
- The mobile app comes back online, retries the network request and doesn't find the produced values. It keep waiting.
This is my suspected reason it doesn't work. Any fix needs to be tested on mobile devices to check if it actually works.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels