Can't use proxies
prdsrm
FREEOP

a month ago

Every time I try using an external proxy to make request to a specific website, I get timeout errors in my application logs and errors in the network flow like ICMP_CSUM.

I can tell you my proxy provider if needed.

It works well when using the Go library I use to make requests without proxies. While it works locally with docker with that library and proxies on. It just shows that proxies are somehow being blocked.

-- EDIT

I retried with another proxy provider, Bright Data, and it works fine. Seems like they block small proxies provider like the one I used, so I lost 10 EUR...

Attachments

Solved$10 Bounty

4 Replies

Status changed to Open Railway about 1 month ago


Status changed to Solved prdsrm about 1 month ago


prdsrm
FREEOP

a month ago

this is actually not really solved since my old proxy provider is I can guarantee way better. I dont understand your problem of blocking some proxy providers. The Bright Data proxy pool quality is terrible... I have 2-3/10 success rates. It was something like 8-9/10 for my old provider.


Status changed to Awaiting Railway Response Railway about 1 month ago


a month ago

Bright Data working is a strong signal Railway can make outbound proxy connections in general.

I would split this into two tests. First, from the Railway service, test the proxy itself with curl -v -x http://USER:PASS@proxyhost:port https://api.ipify.org.

If that times out, it is probably proxy auth, IP allowlisting, protocol mismatch, or the provider blocking cloud/datacenter origins. Some providers only allow the IP you registered from locally, so it works from your laptop but not Railway.

If that works but the target site fails, the target is probably blocking that proxy pool. ICMP_CSUM in flow logs can be noisy, so I would not use only that as proof Railway is blocking the provider. I would ask the old proxy provider whether Railway/cloud egress IPs need allowlisting and whether they support your Go client's exact proxy protocol from a Linux container.


prdsrm
FREEOP

a month ago

Hello. Yes I'm sorry. However I still need something: the Railway IPs range. Basically my proxy provider only allows residential IPs using it, or whitelisted IPs. I'm sorry, this is my fault but this may be useful to anyone wishing to use proxies on railway, some proxy providers are like that.


prdsrm
FREEOP

a month ago

Right now whitelisting: 208.77.244.0/23 for my region seems to work, but the real answer is to upgrade to pro plan for static outbound IPs.


Status changed to Solved brody about 1 month ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...