RAILWAY_TOKEN: *** Service not found
jmuk
PROOP

3 months ago

Im getting the error in my ci pipeline on git.
I have 2 services, one for celery and the other is my normal backend, and the deployment job is failing coz of this error
What is the service name to set. Is it the same name of the service on railway dashboard or?
Run railway up --service purenest360 --detach

railway up --service purenest360 --detach

shell: /usr/bin/bash -e {0}

env:

pythonLocation: /opt/hostedtoolcache/Python/3.12.12/x64

PKG_CONFIG_PATH: /opt/hostedtoolcache/Python/3.12.12/x64/lib/pkgconfig

Python_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.12/x64

Python2_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.12/x64

Python3_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.12/x64

LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.12.12/x64/lib

RAILWAY_TOKEN: ***

Service not found

Solved$10 Bounty

4 Replies

3 months ago

This thread has been marked as public for community involvement, as it does not contain any sensitive or personal information. Any further activity in this thread will be visible to everyone.

Status changed to Open brody 3 months ago


yashko
PRO

3 months ago

Hello @jonathanmuk
Have you tried using your service ID ( you can see it in browser URL) instead of name?


admragy
FREE

3 months ago

Good


jratienza65
HOBBY

3 months ago

Make sure that the correct RAILWAY_TOKEN is being used for that environment.

To confirm:
1. Generate a new token for the environment you are deploying to
2. Try to deploy manually RAILWAY_TOKEN=your_token up -s service_name -d or print out the variables of your service RAILWAY_TOKEN=your_token variables -s service_name

If either railway up or railway variables worked, try and use the newly generated token in your CI pipeline.

If that worked, it just means that the token your CI pipeline has been using is invalid.


yashko

Hello @jonathanmuk Have you tried using your service ID ( you can see it in browser URL) instead of name?

jmuk
PROOP

3 months ago

It failed


Status changed to Solved jmuk 3 months ago


Loading...