Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

linkedin oauth2 login returns "504 Gateway Time-out"

I'm using linkedin login on my website. Everything was working until last week, when it started returning "504 Gateway Time-out" error. I did not change anything in my application settings on linkedin developer site nor in my application code. Weird thing is that it still works fine on localhost, but on production it returns error described above. My question is:

Is it more likely to be a problem on Linkedin side? Because for me it seems that my website is trying to connect to linkedin API but it never gets a response.

Unfortunately I have not found any address that I could contact regarding this problem. Is there any linkedin support for this ? Or have any of you were experiencing similar problem?

Thank you

like image 522
Lukas Haberzettl Avatar asked Sep 16 '25 13:09

Lukas Haberzettl


1 Answers

I had the same issue the solution was to set the header Content-Type to application/json.

like image 143
Pedro Brochado Avatar answered Sep 18 '25 09:09

Pedro Brochado



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!