Deployments aren't doing nothing
evan
HOBBYOP

2 years ago

I am trying to deploy hedgedoc, and the deploy doesn't do nothing and it fails after a few minutes. Not positive what to do about this

131 Replies

evan
HOBBYOP

2 years ago

3c13fb70-b70a-46cd-8d38-5e57856447ad


evan
HOBBYOP

2 years ago

oh ok this is something

1235306407818170400


evan
HOBBYOP

2 years ago

I don't know why it would be saying this, because railway is clearly able to figure out it does in fact exist

1235306645844787200


brody
EMPLOYEE

2 years ago

1235317828807032800


brody
EMPLOYEE

2 years ago

1235318152062304300


brody
EMPLOYEE

2 years ago

you better post this in <#942883303780921425> before i do


evan
HOBBYOP

2 years ago

hmm, it's still not toing anything for me

1235345042789372000


evan
HOBBYOP

2 years ago

Ohhh

1235345079514824700


evan
HOBBYOP

2 years ago

lets go


evan
HOBBYOP

2 years ago

ok


evan
HOBBYOP

2 years ago

😭

1235351248681570300


evan
HOBBYOP

2 years ago

is there any way to make railway not obscure what is actually happening


evan
HOBBYOP

2 years ago

this error is annoying


brody
EMPLOYEE

2 years ago

your application didn't respond lol


brody
EMPLOYEE

2 years ago

what else could it tell you?


brody
EMPLOYEE

2 years ago


evan
HOBBYOP

2 years ago

I just wish it would show me it not responding


evan
HOBBYOP

2 years ago

the error returned by the server


evan
HOBBYOP

2 years ago

or if the server is hanging, just show that


evan
HOBBYOP

2 years ago

instead of inserting it's own response


brody
EMPLOYEE

2 years ago

there was no error, your app did not respond what so ever


evan
HOBBYOP

2 years ago

then show that


brody
EMPLOYEE

2 years ago

it is


evan
HOBBYOP

2 years ago

not really, because if I go to an IP I own on a real server and type in some random port, it just hangs forever


evan
HOBBYOP

2 years ago

the server simply does not respond


brody
EMPLOYEE

2 years ago

why would that be an acceptable alternative?


evan
HOBBYOP

2 years ago

because that is what servers normally do


evan
HOBBYOP

2 years ago

I've had issues with railway before where it seems like this page is cached


evan
HOBBYOP

2 years ago

and it takes it a good 30 seconds to update the cache


brody
EMPLOYEE

2 years ago

right but how does hanging help you more than that page?


brody
EMPLOYEE

2 years ago

its not


brody
EMPLOYEE

2 years ago

and it takes my app a good 30 seconds to respond*


evan
HOBBYOP

2 years ago

maybe its because I'm used to servers doing normal things, but it is a lot more clear to me when I see this

1235354755602190600


evan
HOBBYOP

2 years ago

even though it's like… objectively less clear


brody
EMPLOYEE

2 years ago

how is chrome's error page better?


evan
HOBBYOP

2 years ago

because that is the default behavior when you request a server and there is no port. The server just doesn't respond because it doesn't have anything to respond with, and the browser gives up


brody
EMPLOYEE

2 years ago

and the default behavior on railway is to tell you that your app didnt respond


evan
HOBBYOP

2 years ago

the departure from standard is just confusing to me. I don't know. I think we just want different things


brody
EMPLOYEE

2 years ago

im sure heroku and fly has similar pages


evan
HOBBYOP

2 years ago

I guess one other thing I have actually legitimate complaint with railway is my umami instance was taking ridiculous amount of resources. Eventually I gave up on railway and switched to hetzner. It wasn't really railway's fault, but I quickly figured out what the issue was on hetzner because I could ssh in and when I saw htop, I saw postgres was running 15 count(*) queries per second


evan
HOBBYOP

2 years ago

and as far as I'm aware you can't just ssh into railway like that?


brody
EMPLOYEE

2 years ago

correct


evan
HOBBYOP

2 years ago

yeah


evan
HOBBYOP

2 years ago

oh here was the bruh moment in question

1235356484452225000


brody
EMPLOYEE

2 years ago

though i dont think youd need ssh to find out how many queries are being ran


evan
HOBBYOP

2 years ago

unrelated but will this work in the template composer?

1235357443765178400


evan
HOBBYOP

2 years ago

provided the PGUSER variables are set and such


brody
EMPLOYEE

2 years ago

yeah, why wouldnt it?


evan
HOBBYOP

2 years ago

just checking, I haven't used the new composer


evan
HOBBYOP

2 years ago

ohhh @Brody the cache I was thinking of was the Nothing here… yet


brody
EMPLOYEE

2 years ago

also not cache, just need a bit of time for railway to update the routing tables


brody
EMPLOYEE

2 years ago

seems a little broken

1235368006864077000


brody
EMPLOYEE

2 years ago

  • change PORT to ${{CMD_PORT}}

  • add CMD_PROTOCOL_USESSL set to true

  • add CMD_SESSION_SECRET set to ${{secret(64)}}

  • add a health check set to /_health

  • rename template and service Hedgedoc -> HedgeDoc (since thats how they case the name)

  • set a service icon for HedgeDoc


evan
HOBBYOP

2 years ago

did you fix this? doesn't happen for me


brody
EMPLOYEE

2 years ago

your browser might be auto upgrading http requests, please make sure to apply all my suggested changes


evan
HOBBYOP

2 years ago

alr


evan
HOBBYOP

2 years ago

I've made all the suggested changes


evan
HOBBYOP

2 years ago

doing a test deply


brody
EMPLOYEE

2 years ago

that was fast


evan
HOBBYOP

2 years ago

¯_(ツ)_/¯


brody
EMPLOYEE

2 years ago

do you like the new template composer?


evan
HOBBYOP

2 years ago

Yeah, much better than the old one


evan
HOBBYOP

2 years ago

the old one was awful


evan
HOBBYOP

2 years ago

the one thing is


evan
HOBBYOP

2 years ago

in the new one


evan
HOBBYOP

2 years ago

I can't create volumes


brody
EMPLOYEE

2 years ago

yes you can?


evan
HOBBYOP

2 years ago

how?


evan
HOBBYOP

2 years ago

1235388212260900900


brody
EMPLOYEE

2 years ago

your two services already have volumes


evan
HOBBYOP

2 years ago

even when they didn't there wasn't an option


brody
EMPLOYEE

2 years ago

if there wasnt an option how did you end up adding the volumes


evan
HOBBYOP

2 years ago

what I did was create it in the "new project" and then create the template from there


brody
EMPLOYEE

2 years ago

1235388552246853600


evan
HOBBYOP

2 years ago

O, that should be added to the add service button as well


evan
HOBBYOP

2 years ago

because you can do that in the project composer


evan
HOBBYOP

2 years ago

they should probably just use the exact same component in both contexts


evan
HOBBYOP

2 years ago

https://hedgedoc-production.up.railway.app/ does this look better to you?


brody
EMPLOYEE

2 years ago

it works!


evan
HOBBYOP

2 years ago

cool beans


evan
HOBBYOP

2 years ago

the only thing is I'm not sure how to change capitalization in the template store


brody
EMPLOYEE

2 years ago

that would be done via the update button


evan
HOBBYOP

2 years ago

where?


evan
HOBBYOP

2 years ago

and how do I change the description


brody
EMPLOYEE

2 years ago

also the update button


brody
EMPLOYEE

2 years ago

1235389419003973600


evan
HOBBYOP

2 years ago

Oh, this is another UX hard edge I think because there is also this

1235389593759776800


brody
EMPLOYEE

2 years ago

well the buttons do very different things


evan
HOBBYOP

2 years ago

and there's an update button here

1235389725242691600


evan
HOBBYOP

2 years ago

yes they do, but the update button should also be in the hamburger at the very least


evan
HOBBYOP

2 years ago

and likewise, inside the composer, this button should take you to the edit panel you see when publishing a new template

1235390201770279000


brody
EMPLOYEE

2 years ago

that button edits the name lol


evan
HOBBYOP

2 years ago

Yes, it should bring up the edit sorry update menu instead


evan
HOBBYOP

2 years ago

or there should be a button to do so in the composer


evan
HOBBYOP

2 years ago

but that would get confusing


brody
EMPLOYEE

2 years ago

i think its pretty straight forward how it is right now tbh


evan
HOBBYOP

2 years ago

this is the menu I'm talking about btw

1235390743128838400


brody
EMPLOYEE

2 years ago

yes i know


evan
HOBBYOP

2 years ago

I'm simply stating that this is very clearly a UX difficulty I just experienced. If the railway team considers this difficulty to be a skill issue on my part, that's fine


evan
HOBBYOP

2 years ago

obviously at a certain point of idiocracy you need to call it quits


brody
EMPLOYEE

2 years ago

i cant speak for the team, but i do <:kekw:788259314607325204>


evan
HOBBYOP

2 years ago

but watching users try to do something and seeing their painpoints is very helpful



brody
EMPLOYEE

2 years ago

i do not have the attention span for a 24 minute video lol


evan
HOBBYOP

2 years ago

the part from 1:00 to 2:00 is most relevant


evan
HOBBYOP

2 years ago

and then you can just skip to a random point to see painpoints she experiences


brody
EMPLOYEE

2 years ago

video from 2007 💀


evan
HOBBYOP

2 years ago

he basically tells her to do certain tasks and watches the ways she screws up doing said tasks


evan
HOBBYOP

2 years ago

"I don't know what an iPhone app is" quote from vid btw


brody
EMPLOYEE

2 years ago

so what i do every single day?


evan
HOBBYOP

2 years ago

right, but then the next step in UX testing is asking yourself if that painpoint can be reduced


evan
HOBBYOP

2 years ago

which you cant because you don't work for railway


evan
HOBBYOP

2 years ago

but railway should do this


brody
EMPLOYEE

2 years ago

i mean theres only so much you can do before the UI starts looking like a kids toy


evan
HOBBYOP

2 years ago

Sure. There's a balance before you start pandering to idiots.


brody
EMPLOYEE

2 years ago

you get it 😉


evan
HOBBYOP

2 years ago

Say with this. I thought there was a cache on these error messages. You told me that the routing tables needs to be updated. If I was a programmer working at railway, I would think "Ok, nothing here… yet" does not convey that something will be here soon clear enough. We should add subtext that says "Please wait a few moments for routing tables to update"


evan
HOBBYOP

2 years ago

because I guarantee you if you asked 100 new users what this means, nobody would guess it means routing tables are updating and no action is required on your part


brody
EMPLOYEE

2 years ago

... yet should give you a good idea


brody
EMPLOYEE

2 years ago

i could ask 1000 users what a service is and they wouldnt know what it is


evan
HOBBYOP

2 years ago

I just asked a community of programmers, I've gotten one response so far

1235394308400611300


evan
HOBBYOP

2 years ago

1235394356593299500


brody
EMPLOYEE

2 years ago

what are they even talking about though? did you even mention php?


evan
HOBBYOP

2 years ago

No. the intent is to ask a general community of programmers what this page means to them in a deployment context


evan
HOBBYOP

2 years ago

because to me it looks like a 404 page


brody
EMPLOYEE

2 years ago

probably a good time to mention this, the nothing here yet page is not going to exist forever, at some point railway will roll out a change and you will never have to wait for such things


evan
HOBBYOP

2 years ago

Right. I get it. I'm just saying that ambiguities impact a great number of professional programmers. If a number of users ask the same question, it is possibly a UX issue


evan
HOBBYOP

2 years ago

which they do, fwiw

1235395648203915300


brody
EMPLOYEE

2 years ago

impatient


evan
HOBBYOP

2 years ago

I mean, I guess?


brody
EMPLOYEE

2 years ago

yep 🙂


Loading...