multiple deployments running at once?
title. there's 2 deployments running on one of my projects and i can't remove the old one because it's already removed.
24 Replies
Project ID:
N/A
its a bot
and its responding to interactions it shouldnt be able to
since its "removed"
there is a green check mark, what makes you think all deployments have been removed
because
im running one
but this removed deployment
is still running
and responding
why makes you think that removed deployment is still running
look at the time it errored
it was removed yesterday
and its errors line up exactly as im getting incorrect responses for my bots commands
the old responses
from this old deployment
please show me the service within a deployment open
what
this?
without a deployment open
oh
only 1 completed
and active
i've also redeployed it once before
first the newest deployment responds to the command interaction
then the older one
both get errors because theyre both trying to respond
then the one that has the better latency wins and gets its response through
I thought discord doesn't allow to bots to run at the same time
thats what i thought
im completely lost
i'm not sure whats happening
but i cant shut down the old deployment
I'm not really seeing any clear evidence that railway is running two deployments
how...
the old deployment was removed yesterday
and errored like
10 minutes ago
when i sent a command to my bot
because it was trying to send its interaction response
then after i tried the command again
the old command response came through
and my new deployment errored instead
Solution
go ahead and reset your bot token
theyre both running at the same time
somehow
alright i can try that
please try not to spam messages
sorry
its just my texting style lol
it's redeploying at the moment
alright that's fixed it, thanks for your help
no problem