VisionAI
VisionAI
RRailway
Created by VisionAI on 10/30/2023 in #✋|help
http 1.0 traffic is blocked with http 426
Thanks for the info Brody, I will figure this out somehow 🙂
12 replies
RRailway
Created by VisionAI on 10/30/2023 in #✋|help
http 1.0 traffic is blocked with http 426
1eff5dc1-3495-488e-91ae-4becbfd85e1d
12 replies
RRailway
Created by VisionAI on 10/18/2023 in #✋|help
service redeploy causes problems to private network
yep indeed a case of RTFM for me 😅
56 replies
RRailway
Created by VisionAI on 10/18/2023 in #✋|help
service redeploy causes problems to private network
Thanks this fixed my problem, I didn't even consider this could be the problem 🤦‍♂️
56 replies
RRailway
Created by VisionAI on 10/18/2023 in #✋|help
service redeploy causes problems to private network
I will try this right now
56 replies
RRailway
Created by VisionAI on 10/18/2023 in #✋|help
service redeploy causes problems to private network
This was an example log to another external Railway service I use, even though the status indicates 200, no content is returned:
2023/10/19 15:30:31.573 INFO http.log.access.log0 handled request {"request": {"remote_ip": "192.168.16.6", "remote_port": "33152", "client_ip": "my-ip", "proto": "HTTP/1.1", "method": "GET", "host": "<exposed_service>.up.railway.app", "uri": "/test/", "headers": {"X-Forwarded-For": ["my-ip"], "X-Forwarded-Proto": ["https"], "X-Envoy-External-Address": ["my-ip"], "User-Agent": ["PostmanRuntime/7.33.0"], "Postman-Token": ["0352246b-7b5f-4744-8fe8-999679d67d67"], "Accept": ["*/*"], "Accept-Encoding": ["gzip, deflate, br"], "X-Request-Id": ["e36b35ce-d6cf-41f5-90ac-0cf6b3f24e39"]}}, "bytes_read": 0, "user_id": "", "duration": 0.003001039, "size": 0, "status": 200, "resp_headers": {"Server": ["Caddy", "railway"], "Date": ["Thu, 19 Oct 2023 15:30:31 GMT"], "Content-Length": ["0"]}}
2023/10/19 15:30:31.573 INFO http.log.access.log0 handled request {"request": {"remote_ip": "192.168.16.6", "remote_port": "33152", "client_ip": "my-ip", "proto": "HTTP/1.1", "method": "GET", "host": "<exposed_service>.up.railway.app", "uri": "/test/", "headers": {"X-Forwarded-For": ["my-ip"], "X-Forwarded-Proto": ["https"], "X-Envoy-External-Address": ["my-ip"], "User-Agent": ["PostmanRuntime/7.33.0"], "Postman-Token": ["0352246b-7b5f-4744-8fe8-999679d67d67"], "Accept": ["*/*"], "Accept-Encoding": ["gzip, deflate, br"], "X-Request-Id": ["e36b35ce-d6cf-41f5-90ac-0cf6b3f24e39"]}}, "bytes_read": 0, "user_id": "", "duration": 0.003001039, "size": 0, "status": 200, "resp_headers": {"Server": ["Caddy", "railway"], "Date": ["Thu, 19 Oct 2023 15:30:31 GMT"], "Content-Length": ["0"]}}
56 replies
RRailway
Created by VisionAI on 10/18/2023 in #✋|help
service redeploy causes problems to private network
Sorry to bother again and sorry that this is not directly related to Railway. Adopting my existing nginx proxy to a Caddy proxy created a small issue for me where I need to proxy to a non Railway service (Google Cloud Run in my case). This is only temporary and we plan to adopt it to Railway shortly. The nginx works on the Railway platform, the Caddy one unfortunately does not, even on my local machine. Proxying to the Google Cloud Run service produces the same error site, that a direct proxy to google.com produces (that's why I included it in the config example). Where you facing the same or a similar issue before?
{
admin off
persist_config off
auto_https off

log {
format console
}
servers {
trusted_proxies static private_ranges
}
}

:{$PORT} {
log {
format console
}

handle_path /test/* {
reverse_proxy https://google.com
}
}
{
admin off
persist_config off
auto_https off

log {
format console
}
servers {
trusted_proxies static private_ranges
}
}

:{$PORT} {
log {
format console
}

handle_path /test/* {
reverse_proxy https://google.com
}
}
56 replies
RRailway
Created by VisionAI on 10/18/2023 in #✋|help
service redeploy causes problems to private network
thanks for the help Brody 🙂
56 replies
RRailway
Created by VisionAI on 10/18/2023 in #✋|help
service redeploy causes problems to private network
i used the same config you provided, i still need to solve the auth subrequest but this wasn't used in my nginx example anyways. should i mark this as done?
56 replies
RRailway
Created by VisionAI on 10/18/2023 in #✋|help
service redeploy causes problems to private network
caddy works indeed fine 👏 damn nginx 😂
56 replies
RRailway
Created by VisionAI on 10/18/2023 in #✋|help
service redeploy causes problems to private network
thank you 😊
56 replies
RRailway
Created by VisionAI on 10/18/2023 in #✋|help
service redeploy causes problems to private network
yes this seems to be it, i will try it out but it might take me a while (maybe until tomorrow)
56 replies
RRailway
Created by VisionAI on 10/18/2023 in #✋|help
service redeploy causes problems to private network
I might try caddy if it supports auth subrequests (that is one of the reasons i use nginx currently)
56 replies
RRailway
Created by VisionAI on 10/18/2023 in #✋|help
service redeploy causes problems to private network
i removed the valid=10s from the resolver, the problem is still there :/
56 replies
RRailway
Created by VisionAI on 10/18/2023 in #✋|help
service redeploy causes problems to private network
the proxy made http 200 requests to the old instance for about 20-30 seconds, after that the 502 was returned (i guess when the new instance took place). The 502 takes about 1000ms.
56 replies
RRailway
Created by VisionAI on 10/18/2023 in #✋|help
service redeploy causes problems to private network
unfortunately this didn't fix my problem, i added a health check and i saw the health check succeed in the service deploy logs for "my-service".
56 replies
RRailway
Created by VisionAI on 10/18/2023 in #✋|help
service redeploy causes problems to private network
seems reasonable, thanks for the info 🙂
56 replies
RRailway
Created by VisionAI on 10/18/2023 in #✋|help
service redeploy causes problems to private network
no but i have a few services that do
56 replies
RRailway
Created by VisionAI on 10/18/2023 in #✋|help
service redeploy causes problems to private network
that makes sense thank you for the super quick reply 🙂 i will try it out right away
56 replies
RRailway
Created by VisionAI on 10/18/2023 in #✋|help
service redeploy causes problems to private network
currently not
56 replies