8 months ago
b'<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">;/n<HTML><HEAD><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">\n<TITLE>ERROR: The request could not be satisfied</TITLE>\n</HEAD><BODY>\n<H1>403 ERROR</H1>\n<H2>The request could not be satisfied.</H2>\n<HR noshade size="1px">\nRequest blocked.\nWe can't connect to the server for this app or website at this time. There might be too much traffic or a configuration error. Try again later, or contact the app or website owner.\n<BR clear="all">\nIf you provide content to customers through CloudFront, you can find steps to troubleshoot and help prevent this error by reviewing the CloudFront documentation.\n<BR clear="all">\n<HR noshade size="1px">\n<PRE>\nGenerated by cloudfront (CloudFront)\nRequest ID: LG9WrfXXvh6uOMwWfjXhD55VUZlbwSI9Da6ZTYlUsINqrDu6O9qTvQ==\n</PRE>\n<ADDRESS>\n</ADDRESS>\n</BODY></HTML>'
I have a deployment that has been up for several weeks and routinely refreshes an authorization token to hit a third party API. Today my users encountered errors with my application and I found I was encountering the error above. A cloudfront ID was provided for debugging (I believe) on Railway's end. I do NOT encounter this issue on my local machine, only on the railway deployment. Since nothing changed on my end, this is something between railway and the following server endpoint.
The URL for the oauth endpoint that I am newly being refused connection to from my railway deployment is:
https://www.deviantart.com/oauth2/token?grant_type=client_credentials&
7 Replies
8 months ago
This thread has been marked as public for community involvement, as it does not contain any sensitive or personal information. Any further activity in this thread will be visible to everyone.
Status changed to Open brody • 8 months ago
8 months ago
Hello,
This wouldn't be an issue with Railway itself, this would be deviantart blocking your application, since we can't provide support for 3rd party software or services you would need to get in contact with deviantart.
8 months ago
Hello,
This wouldn't be an issue with Railway itself, this would be deviantart blocking your application, since we can't provide support for 3rd party software or services you would need to get in contact with deviantart.
They are not blocking my application. The only location my application is having an issue with getting permission denied from this endpoint is on my railway deployment.
It is more likely they are blocking railway's IP as this has happened multiple times in the past and typically resolves after a server change happens. I have reported this a few years ago a handful of times too, generally it is happening when people deploy on railway and attempt to scrape DA's API with bots to download art to train their GANs. My application is just a simple discord bot that shows account info and gives users links to their images.
Again, this bot currently connects and runs fine locally on my machine. Neither I, nor the app credentials, are blocked by the third party auth point. There is no reason outside of a server issue that this application would suddenly stop working 4 weeks into a deployment.
8 months ago
Unfortunately, DA blocking either your app, or a GCP server IP is completely out of our hands, you would want to be contacting DA about this.
8 months ago
DA is not blocking my app. They have said in the past repeatedly that this is an issue on your end. I will wait a week for it to resolve itself, again, I guess.
8 months ago
I'm not sure what you think we are doing here, we do not have the ability to send a 403 on behalf of DA, this is a block from DA, no two ways about that.
8 months ago
I cannot contact DA on behalf of Railway and ask them to unblock whatever server my application happens to be living on's IP.
8 months ago
You would not be contacting them on behalf of us, you would be contacting them on behalf of yourself, this is not something we would do for the user.
Closing out as DA blocking GCP IPs is beyond our control.