Deployments aren't doing nothing

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

2 years ago

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


2 years ago

oh ok this is something

1235306407818170400


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


2 years ago

1235317828807032800


2 years ago

1235318152062304300


2 years ago

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


2 years ago

hmm, it's still not toing anything for me

1235345042789372000


2 years ago

Ohhh

1235345079514824700


2 years ago

lets go


2 years ago

ok


2 years ago

😭

1235351248681570300


2 years ago

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


2 years ago

this error is annoying


2 years ago

your application didn't respond lol


2 years ago

what else could it tell you?


2 years ago


2 years ago

I just wish it would show me it not responding


2 years ago

the error returned by the server


2 years ago

or if the server is hanging, just show that


2 years ago

instead of inserting it's own response


2 years ago

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


2 years ago

then show that


2 years ago

it is


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


2 years ago

the server simply does not respond


2 years ago

why would that be an acceptable alternative?


2 years ago

because that is what servers normally do


2 years ago

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


2 years ago

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


2 years ago

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


2 years ago

its not


2 years ago

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


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


2 years ago

even though it's like… objectively less clear


2 years ago

how is chrome's error page better?


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


2 years ago

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


2 years ago

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


2 years ago

im sure heroku and fly has similar pages


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


2 years ago

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


2 years ago

correct


2 years ago

yeah


2 years ago

oh here was the bruh moment in question

1235356484452225000


2 years ago

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


2 years ago

unrelated but will this work in the template composer?

1235357443765178400


2 years ago

provided the PGUSER variables are set and such


2 years ago

yeah, why wouldnt it?


2 years ago

just checking, I haven't used the new composer


2 years ago

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


2 years ago

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


2 years ago

seems a little broken

1235368006864077000


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


2 years ago

did you fix this? doesn't happen for me


2 years ago

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


2 years ago

alr


2 years ago

I've made all the suggested changes


2 years ago

doing a test deply


2 years ago

that was fast


2 years ago

¯_(ツ)_/¯


2 years ago

do you like the new template composer?


2 years ago

Yeah, much better than the old one


2 years ago

the old one was awful


2 years ago

the one thing is


2 years ago

in the new one


2 years ago

I can't create volumes


2 years ago

yes you can?


2 years ago

how?


2 years ago

1235388212260900900


2 years ago

your two services already have volumes


2 years ago

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


2 years ago

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


2 years ago

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


2 years ago

1235388552246853600


2 years ago

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


2 years ago

because you can do that in the project composer


2 years ago

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


2 years ago

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


2 years ago

it works!


2 years ago

cool beans


2 years ago

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


2 years ago

that would be done via the update button


2 years ago

where?


2 years ago

and how do I change the description


2 years ago

also the update button


2 years ago

1235389419003973600


2 years ago

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

1235389593759776800


2 years ago

well the buttons do very different things


2 years ago

and there's an update button here

1235389725242691600


2 years ago

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


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


2 years ago

that button edits the name lol


2 years ago

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


2 years ago

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


2 years ago

but that would get confusing


2 years ago

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


2 years ago

this is the menu I'm talking about btw

1235390743128838400


2 years ago

yes i know


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


2 years ago

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


2 years ago

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


2 years ago

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



2 years ago

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


2 years ago

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


2 years ago

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


2 years ago

video from 2007 💀


2 years ago

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


2 years ago

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


2 years ago

so what i do every single day?


2 years ago

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


2 years ago

which you cant because you don't work for railway


2 years ago

but railway should do this


2 years ago

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


2 years ago

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


2 years ago

you get it 😉


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"


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


2 years ago

... yet should give you a good idea


2 years ago

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


2 years ago

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

1235394308400611300


2 years ago

1235394356593299500


2 years ago

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


2 years ago

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


2 years ago

because to me it looks like a 404 page


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


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


2 years ago

which they do, fwiw

1235395648203915300


2 years ago

impatient


2 years ago

I mean, I guess?


2 years ago

yep 🙂


Loading...