R
Railway•14mo ago
Bilgee

scylladb

Hi, i've tried to create new scylla db project but it failed. the error message is Cannot create code snapshot right now, please review your last commit or try again If this error persists, please reach out to Railway team what should i do?
34 Replies
Percy
Percy•14mo ago
Project ID: 09faaccc-f2a7-493d-87ef-277af04cfe83
Bilgee
BilgeeOP•14mo ago
09faaccc-f2a7-493d-87ef-277af04cfe83
Duchess
Duchess•14mo ago
Thread has been flagged to Railway team by @Adam.
Brody
Brody•14mo ago
@Bilgee - try again please #🚨|incidents
Melissa
Melissa•14mo ago
we're seeing another similar issue with this particular ScyllaDB template FYI, still investigating okay this should be fixed
Bilgee
BilgeeOP•14mo ago
now it's working, but i can't see the connection url, my project id is 26b828cb-e9b2-4a7e-a2a9-a38fbcffd33b
Bilgee
BilgeeOP•14mo ago
i can only see 2 variables that I created
No description
Brody
Brody•14mo ago
can you link the template please nvm found it, it doesn't come any connection url, seems the template author left that out it also uses a github repo, meaning every time you deploy this database you end up with another github repo in your github account
Bilgee
BilgeeOP•14mo ago
yeah, i tried 3 times, and now I have 3 different repo could you please update the template, i really want to try scylla db
Brody
Brody•14mo ago
its not my template, its a template maintained by a user, i could maybe see about publishing another template that uses better practices
Bilgee
BilgeeOP•14mo ago
ohh i see, thanks i will try to use scylla db from docker file is there any load balancers? how can i scale my application?
Bilgee
BilgeeOP•14mo ago
i got scyllab db service, and generated new domain but i couldn't reach the point. here is my domain scylladb2-production.up.railway.app. and port is 9042. does it automatically expose port?
Brody
Brody•14mo ago
does scylladb communicate over http?
Bilgee
BilgeeOP•14mo ago
i don't think so, it's tcp
Brody
Brody•14mo ago
then you need to use the tcp proxy (remove the domain first)
Bilgee
BilgeeOP•14mo ago
ohh, i see but still can't connect
Brody
Brody•14mo ago
show me the tcp proxy config?
Bilgee
BilgeeOP•14mo ago
No description
Brody
Brody•14mo ago
and show me how you are connecting
Bilgee
BilgeeOP•14mo ago
No description
Brody
Brody•14mo ago
is the db listening on the host 0.0.0.0 ?
Bilgee
BilgeeOP•14mo ago
yes, Is the default command for the Docker container the one that exposes all ports, or should I manually specify them?
Brody
Brody•14mo ago
I'm talking about the host not ports
Bilgee
BilgeeOP•14mo ago
yes, host is 0.0.0.0
Brody
Brody•14mo ago
and the db service is listening on 9042?
Bilgee
BilgeeOP•14mo ago
yes
Brody
Brody•14mo ago
what errors are you getting now
Bilgee
BilgeeOP•14mo ago
Connection closed prematurely I tried this Docker image locally, and it's working fine. Do I need to change the deployment command to something like docker run -p 9042:9042?
Brody
Brody•14mo ago
you can't modify the docker run command
Bilgee
BilgeeOP•14mo ago
so it automatically bound the ports?
Brody
Brody•14mo ago
not really how it works lol if the database is running and properly listening on host 0.0.0.0 and port 9042, then you would be able to access it via the tcp proxy, if it's not working you have some kind of configuration wrong
Bilgee
BilgeeOP•14mo ago
thanks i will check my config hey, i got managed to start scyllab db, but now i have some trouble on mounting volume. when i tried to mount volume this gives me Requested AIO slots too large, please increase request capacity in /proc/sys/fs/aio-max-nr. available:135 requested:102052 this errror, how can i increase this
Brody
Brody•14mo ago
you would have to limit the amount of io the db tried to use with a start flag of some sort
Want results from more Discord servers?
Add your server