#Error Code 111 when accessing domain?

80 messages · Page 1 of 1 (latest)

lilac cosmos
#

upstream connect error or disconnect/reset before headers. retried and the latest reset reason: connection failure, transport failure reason: delayed connect error: 111

I get that error when going to my newly generated domain. I am deploying a NextJS project.

flint cradleBOT
#

Project ID: 4e6929e4-8a83-4071-805c-a3bb8f8274ab

lilac cosmos
#

Can anyone help?

calm osprey
#

whats your start command?

lilac cosmos
calm osprey
#

What's the start script command

lilac cosmos
#

Which does this:

#

:)

calm osprey
#

next start -p $PORT

#

Change to that

lilac cosmos
#

Oh ok one second

#

And why do I have to do that?

calm osprey
#

And make sure you don't have a PORT manually set in your service variables

lilac cosmos
#

How do I do that?

#

Sorry make sure I don't have that?

calm osprey
#

Look at the service variables, and make sure there's no PORT in the railway UI

calm osprey
lilac cosmos
#

Is this in the docs anywhere also can I ask?

static yew
calm osprey
#

This specific error message isn't in the docs, but the docs do tell you to listen on $PORT

lilac cosmos
#

And its building :)

calm osprey
#

Yep thanks aleks

lilac cosmos
#

Sorry I just started using Railway today like 3 hrs ago

calm osprey
#

No worries

static yew
#

np! welcome aboard.

lilac cosmos
#

Looks easier than spinning up and setting up a shite digitalocean droplet every time for my clients sites 😭

lilac cosmos
calm osprey
#

That is very true

static yew
calm osprey
#

Might even be free 😉

lilac cosmos
#

Well I pay 6 a month on the bottom tier

#

But I run into so many issues like ram etc 😭

#

Right now when setting up a new droplet I have to:
Update packages, install nvm, install node, install git, install mdb, configure it all etc

#

Quite a pain

#

But yeah wow it's working, thanks!

calm osprey
#

woohoo

lilac cosmos
#

Is the speed gonna be faster than a DO Droplet?

#

Like where is the nearest server gonna be if I'm in the UK?

calm osprey
#

they are in us west1

lilac cosmos
#

Ahh that isn't too good :(

calm osprey
#

so yeah increased latency since you likely has a droplet in your region

lilac cosmos
#

Yeah on the DO Droplet it's super fast

#

Like 10ms or something

#

Railway is easier to use for sure, but it's not that usable if it's not in the same region... is there going to be more region support soon?

calm osprey
#

yes

#

soon ™️

lilac cosmos
calm osprey
#

current eta is end of q1 2023, but thats just an eta

lilac cosmos
#

Wait I'm a bit of a noob, when does Q1 end?

calm osprey
lilac cosmos
#

Oh so not that far away

calm osprey
#

but please dont get your hopes up, its purely an eta

lilac cosmos
#

Yeah ok

#

Ok well if by that time or close to that time Europe or London is added, I'll hop right aboard - but for now I think I might have to stay with DO and keep paining myself with NGINX configs etc 😭

calm osprey
#

switch to fly.io first, then come back to railway

lilac cosmos
#

Lmao talking about your competitor is illegal!!!

calm osprey
#

nah we are cool with fly

lilac cosmos
#

Fair enough :)

#

Well, if the EU/UK support comes I'll be coming right back ;)

#

But alright, thanks a lot - at least I don't have to use DO now :D

#

Have a lovely rest of your day @static yew and @calm osprey

calm osprey
#

thank you and you too!

static yew
#

https://hop.io is cool too

#

Thanks! You too!

lilac cosmos
#

Oh my god @calm osprey fly.io has an outage but I didn't realise so I just tried setting up an app for testing on their platform for like an hour and it kept failing and that's why 😭

calm osprey
#

welp that sucks, guess you have to stay on your VPS for a little longer

#

and yes hop.io is cool but they only have 1 region (us east)

static yew
calm osprey
#

so are we 😉

static yew
#

and there's also minimum which doesn't exist yet

static yew
calm osprey
#

their pricing model is also better than fly.io

static yew
#

^ that's why I recommended them

calm osprey
#

hey us-east is closer to uk than us-west tho

lilac cosmos
#

But yeah my VPS is fine for now, it's just new clients will make me wanna cry when deploying (around an hour or 2 of unpaid DevOps work 💀)

calm osprey
#

I too have manually managed VPS's it's not fun