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
Project ID:
09faaccc-f2a7-493d-87ef-277af04cfe83
09faaccc-f2a7-493d-87ef-277af04cfe83
Thread has been flagged to Railway team by @Adam.
@Bilgee - try again please
#🚨|incidents
we're seeing another similar issue with this particular ScyllaDB template FYI, still investigating
okay this should be fixed
now it's working, but i can't see the connection url, my project id is 26b828cb-e9b2-4a7e-a2a9-a38fbcffd33b
i can only see 2 variables that I created
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
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
its not my template, its a template maintained by a user, i could maybe see about publishing another template that uses better practices
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?
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?
does scylladb communicate over http?
i don't think so, it's tcp
then you need to use the tcp proxy (remove the domain first)
ohh, i see but still can't connect
show me the tcp proxy config?
and show me how you are connecting
is the db listening on the host
0.0.0.0
?yes, Is the default command for the Docker container the one that exposes all ports, or should I manually specify them?
I'm talking about the host not ports
yes, host is 0.0.0.0
and the db service is listening on 9042?
yes
what errors are you getting now
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
?you can't modify the docker run command
so it automatically bound the ports?
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
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 thisyou would have to limit the amount of io the db tried to use with a start flag of some sort