Invalid service name for deploying GitHub repo
abeshunyah
HOBBYOP

a year ago

  • when i try to deploy github repo node.js app.

  • error messsage i got: Invalid service name.

  • but it works on other repos, if it is the same source code.

github repo is private but like this:

https://github.com/pushcorp/xxx-xxxxxx-xxx-xxx-site-api-server

i see the repo name is too long but it is not reasonable so i want to ask help.

thank you in advance.

Solved

6 Replies

abeshunyah
HOBBYOP

a year ago

I found the cause & solution of this:

Cause:

Railway does not allow 32 characters or more for service name.

So error hapens if the github repo name is longer than that because the service name should be the same as service name at first.

(but I hope Railway will stop this error in the near future)

Solution:

  1. Create Empty service.

  2. Click Settings on the service.

  3. Connect GitHub repo for Source section. and you can deploy.


Railway
BOT

a year ago

An internal ticket has been attached to this thread. Updates will be relayed in this thread, so keep an eye out!

Status changed to In Progress Railway over 1 year ago


Just raised a ticket for this bug, we will let you know when the fix lands. Thanks for reporting this.


Status changed to Awaiting User Response Railway over 1 year ago


angelo-railway

Just raised a ticket for this bug, we will let you know when the fix lands. Thanks for reporting this.

abeshunyah
HOBBYOP

a year ago

Thank you.


Status changed to Awaiting Railway Response Railway over 1 year ago


Status changed to Solved christian over 1 year ago


Railway
BOT

a year ago

Update: An internal ticket linked to this thread has been changed to Completed.

Status changed to Awaiting Railway Response Railway about 1 year ago


unicodeveloper
PRO

a year ago

Hi, please can you try this again. We have fixed the issue.


Status changed to Awaiting User Response Railway about 1 year ago


unicodeveloper

Hi, please can you try this again. We have fixed the issue.

abeshunyah
HOBBYOP

a year ago

Hi, I comfirmed it is working as I expected. This experience is so smooth.

Thank you.


Status changed to Awaiting Railway Response Railway about 1 year ago


unicodeveloper
PRO

a year ago

Awesome. Enjoy!


Status changed to Awaiting User Response Railway about 1 year ago


Railway
BOT

7 months ago

This thread has been marked as solved automatically due to a lack of recent activity. Please re-open this thread or create a new one if you require further assistance. Thank you!

Status changed to Solved Railway 7 months ago


Loading...