cors-anywhere icon indicating copy to clipboard operation
cors-anywhere copied to clipboard

503 http error on live server

Open checho221 opened this issue 6 years ago • 15 comments

Hi, i am recently getting a 503 response from server, thanks in advance for fix it.

checho221 avatar Feb 17 '19 16:02 checho221

Same issue. Prefixing target URL by https://cors-anywhere.herokuapp.com/ is not working. Thanks for fix!

DmitriyKylik avatar Feb 17 '19 19:02 DmitriyKylik

I got the same issue too, thanks in advance for fixing it!

RuoyanMeng avatar Mar 16 '19 16:03 RuoyanMeng

@Rob--W , it is happening again, thanks for fixing it!

checho221 avatar Mar 16 '19 19:03 checho221

In the log files I see that the cause of those 503 errors is H12 (Request timeout; likely because there are too many users of the service.

A large number of requests appear to originate from radio/streaming sites. These types of sites have historically been a nuisance due to unreasonable resource usage (see #129). I've just identified another commercial library that is responsible for a huge chunk of requests, so I'm going to block them.

Rob--W avatar Mar 16 '19 22:03 Rob--W

@Rob--W that is great, thank you so much, please tell us when it is ready in order to make a test.

checho221 avatar Mar 16 '19 22:03 checho221

Blocking that specific library did not fix the issue. The server is receiving more requests than it can handle. Even when I lower the rate-limit to 6 requests per minute, the server is still unable to process all requests.

Rob--W avatar Mar 16 '19 22:03 Rob--W

@Rob--W it sound like it is necesary a implement a load-balancer, i will be ready if you need help.

checho221 avatar Mar 16 '19 23:03 checho221

Hi! Everything worked fine , but now comes the error "GET https://cors-anywhere.herokuapp.com/URL 503 (Service Unavailable)"! How i can fix this? Just wait?

Tatianisss avatar Mar 17 '19 10:03 Tatianisss

I'm getting the issue again. I'm wondering if this just happens from time to time and it will come back up or if there is something I need to report or fix on my end. I'm trying URL: https://cors-anywhere.herokuapp.com/http://www.nwslsoccer.com/stats?team=bn7w86uw8j61dga3xr5s0yiju&season=2019

benwille avatar Jul 18 '19 18:07 benwille

Also having the same issue and the service seems to be down (visiting https://cors-anywhere.herokuapp.com/ returns an application error)...

lisarutan avatar Jan 14 '21 15:01 lisarutan

When I view the log file, the error is code=H11 desc="Backlog too deep"

The server is overloaded, host your own one if availability is important. And see #301

Rob--W avatar Jan 14 '21 20:01 Rob--W

I have hosted my own (cors-anywhere) in my heroku, but still getting 503 error. Can you let me know how to fix?

terrygreen0606 avatar Apr 05 '21 13:04 terrygreen0606

Not sure why Cloudfare is related here, but it gives 503 Service Unavilable error with this preview image. image

terrygreen0606 avatar Apr 05 '21 13:04 terrygreen0606

https://github.com/Rob--W/cors-anywhere.git Running this repository in localhost works perfectly as supposed as proxy to avoid cors error. But if I host this on heroku, it returns the error above. Any comments will be helpful.

terrygreen0606 avatar Apr 05 '21 13:04 terrygreen0606

@terrygreen0606 Your issue is unrelated to the issue reported here. If you still encounter issues, please file a new issue with a better description of the issue.

It seems that your issue is completely unrelated to CORS Anywhere though, and more related to your server configuration (using Cloudflare in the front, instead of letting Heroku manage all API calls).

Rob--W avatar Apr 13 '21 20:04 Rob--W