hoovercj/strava-weather-reporter

"/auth" request remains at "pending" state

Closed this issue · 2 comments

After authenticating with strava, the browser makes an auth request to the backend which stays pending

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:

  1. Issue a "wakeup" call when the page loads to get a headstart on waking the azure functions backend up
  2. 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.

Closing as I cannot reproduce.