"/auth" request remains at "pending" state
Closed this issue · 2 comments
hoovercj commented
After authenticating with strava, the browser makes an auth request to the backend which stays pending
hoovercj commented
I believe this could be related to cold start times, but it could be related to the server not acknowledging responses. I'm not sure why the response wouldn't time out, though.
I have done two things to try and mitigate this:
- Issue a "wakeup" call when the page loads to get a headstart on waking the azure functions backend up
- Ensured that all azure functions return resolved promises which should be sufficient for calling "done" on the functions.
I will test this more over the next few days.
hoovercj commented
Closing as I cannot reproduce.