Skip to main content
Answer

Requests to Strava API hanging on production but working on localhost

  • May 10, 2024
  • 1 reply
  • 76 views

hy0ug0
Forum|alt.badge.img+4

I have a React/NestJS based app that used to work well but since a few weeks the requests to the Strava API are not working anymore... I first noticed it with requests to create push subscriptions and to get a user access token, both of them are sent but hanging without responses or errors... I added an interceptor on my axios instance to see if I can understand the problem but nothing, I see that the request is sent but then nothing like if it was never coming back from Strava API... 

One of the weird thing is that on the Strava dashboard I can see that some requests are made to the API as we can see on the screen capture...

The second weird thing is that on local it's working perfectly fine...

I wonder if this is possible to have some logs from the Strava API to see if there is something wrong with my requests on my production app ? Or any other idea ?

 

Best answer by hy0ug0

The problem was coming from @ntegral/nestjs-sentry that for some reason was "blocking" the requests...

1 reply

hy0ug0
Forum|alt.badge.img+4
  • Author
  • Hub Rookie
  • Answer
  • May 10, 2024

The problem was coming from @ntegral/nestjs-sentry that for some reason was "blocking" the requests...