3 months ago
I have a website, and I host the backend on Railway. It’s a story generator, and each user can generate their own story. This used to work correctly; however, I’m not sure what changes have happened lately, but now two different users can’t generate a story at the same time. What has changed in Railway? What changes do I need to make in my model?
3 Replies
3 months ago
Can you provide more information about your tech stack and how users are "generating stories"? It sounds like this would be more of an application error than a Railway one.
3 months ago
I’m using LangGraph to generate with different agents, different parts of the story, and until a week ago it was working correctly. Several users could create their stories at the same time. Now, without having made any changes to the code, it no longer allows two users to generate a story at the same time. The backend, which is what’s failing, is hosted on Railway. The frontend is on Vercel. Este es el error que me sale ahora y antes no: File "/app/roloperativa2-web/api-bridge.py", line 1777, in run_adventure loop.run_until_complete(process_adventure()) File "/root/.nix-profile/lib/python3.12/asyncio/base_events.py", line 663, in run_until_complete self._check_running() File "/root/.nix-profile/lib/python3.12/asyncio/base_events.py", line 624, in checkrunning raise RuntimeError( RuntimeError: Cannot run the event loop while another loop is running
3 months ago
Hey there,
This looks like an application issue. Unfortunately we can't offer support for application specific issues.
It looks like your application needs to support async for concurrent execution of these two threads.
Status changed to Awaiting User Response Railway • 3 months ago
Status changed to Solved echohack • 3 months ago