R
Railway

✋|help

Accessing application results in 502. "upstream connect error or disconnect/reset before headers. "

Mmullet.8/24/2023
Trying to publish an application to the railway platform.
It is a mixture of react, together with some self-built legacy server-side-rendering legacy code.

It has a connection to graphql, which we've allowed through cloudflare already. The same approach worked for other projects.

But as this one is unique in its architecture, we are not able to really put it to work.

It seems to end up in green state, but accessing the webpage just results in upstream connect error or disconnect/reset before headers. reset reason: protocol error

I thought it might be a http/1.1 vs http/2 issue, but accessing the page with curl, using either of protocols doesn't end in different result.
Mmullet.8/24/2023
28efb0c1-ffd8-474d-94e0-9671f29845d0
Service id: bd65b2af-60e3-4a2c-8374-13c7e84359b5
BBrody8/24/2023
please share screenshots and domains so we can troubleshoot ourselves
Mmullet.8/24/2023
Sorry. Was end of workday already.

Can you perhaps access from the service id?
Mmullet.8/24/2023
Mmullet.8/24/2023
If i access my internal healtcheck url, that responds.
BBrody8/24/2023
I do not work for railway, your project id does nothing for me
Mmullet.8/24/2023
BBrody8/24/2023
I'm not seeing any issues yet?
it's totally okay if you want to pick this thread back up when you're on a computer
Mmullet.8/24/2023
I see.
Url is as follows.
https://sports-app-pr-2420.up.railway.app/de/sports
This just returns the protocol error thing.
But should instead render a whole page.
BBrody8/24/2023
well what do your deployment logs say?
Mmullet.8/24/2023
Nothing.
I've debugged it that far that i have 0 error logs remaining.
BBrody8/24/2023
seems like you need to add some error logging
really hard to debug stuff without logs
Mmullet.8/24/2023
Yeah. I tried debugging it whole day. No clue what goes wrong. From logs all seem nice.

Thought of 1 thing.actually. will try it when im near pc again
BBrody8/24/2023
sounds good
but yeah not much i can help with here without logs

Looking for more? Join the community!

Recommended Posts
About Private networkingHi, I saw Railway has https://docs.railway.app/reference/private-networking Private network domain, refundThe estimated bill is $5, but the actual cost is $11.99, which is much higher than expected. I requeHelloHello, I added cascade = CascadeType.ALL to a OneToMany relationship in my DB. Works locally, but deCannot create code snapshot right nowProject ID `a0e71e1d-430e-45cc-95c5-af153af61c1c` "Cannot create code snapshot right now, please reDeploy my app on Railway (Cost)Hello, Actually I have an API made with Nodejs + Express about Real Estate so I wanna recommendatioHow do you add a worker to a Procfile?It seems that Railway only accepts "web", so how can I add a "worker" to a Procfile?Cannot create code snapshot right nowUnable to deploy across multiple services, both using CLI and branch-triggered deploys. The deploy lhosting fivem (https://fivem.net) server on railwaywould it be possible to host fivem on railway? there is linux binaries for hosting the server. is thHelp configuring express app for use with storage volumeHi, I hope this is the right forum for this question. I have an express app that is using middlewareNo waiving of $5 dollar fee, even though qualified.Can someone clarify the rules for having the fee waived? Based on the blog article from Railway, my Environment Merging Doesn't WorkI created a new project and accidentally started an environment fork / merge thing. Now my staging hHow to remove files/foldersHi, im new in railway and i have to remove my node_modules folder because i get some issues. It seemcan't access deployed serviceSeems deployment completed when trying to access can't open page displayed. Tried with https://whizsAfter redeploying, I lost the uploaded images in the directoryAfter redeploying, I lost the uploaded images in the directory. My project uses Spring Boot v3.1.2 +help gettiing www subdomain wokringI have had a long discussions with railway team on working of www subdomain on my account ssdo.org.pSimple next.js build faildeployment ID 6b59c99d-f9d1-42bb-9733-67e02909cdc5 Repo: https://github.com/ballermatic/nextjs-shadcDatabase credentialsHello, my Railway starter plan has expired and I want to make a copy of my postgres database but iRunning python script [userbot]Hello so I have this python script that is used to automate something with email account can i use I need help on deploying my development database to production without losing any dataI mistakenly ran the command `npx prisma migrate dev` on my production env but did not accept when tNpgsql.npgsqlException (0x80004005) Failed to connect to 76.76.21.21:5432Hi! im trying to connect to an ASP.Net core 6 to railway.app for the first time and i receive the in