skeledrew
skeledrew
RRunPod
Created by skeledrew on 2/18/2025 in #⚡|serverless
Workers stuck at initializing
No description
5 replies
RRunPod
Created by skeledrew on 2/14/2025 in #⚡|serverless
Websocket Connection to Serverless Failing
Hello. I'm updating a project to use websockets (moving from batch to realtime processing), however whenever I attempt to connect, I get a "websockets.exceptions.InvalidStatus: server rejected WebSocket connection: HTTP 404" error via wss://. It changes to a "HTTP 301" which redirects to https:// and also fails due to the invalid protocol if I use ws:// instead. I construct the URL as wss://<pod_id>-<port>.proxy.runpod.net/ws and expect this to be translated to wss://localhost:<port>/ws, and the websocket server is run in a thread just before the HTTP server is run. The latter works fine as I am able to communicate with it via the regular https://api.runpod.ai/v2/<pod_id> URL. The expected port is exposed in the Docker config, as per https://docs.runpod.io/pods/configuration/expose-ports. Any ideas what the issue is?
1 replies
RRunPod
Created by skeledrew on 3/4/2024 in #⚡|serverless
Migrating from Banana.dev
Hello. I'm trying to migrate a project over. My previous flow was, whenever I wanted to deploy a change, I would run banana deploy, and that would send off the project to be built into an image and deployed. I was unable to really utilize the local image build option as I have limited resources. I've read the migration blog post, but the only option there is for building the image and pushing to a repo. Is there anything similar to banana deploy, where I only need to tweak the Dockerfile a bit and update the handler? Alternatively, I could go the dockerless route, but I'm not seeing any way in that post to specify non-Python requirements. I need access to ffmpeg and a project on GitHub; how would I setup these? And what would be the preferred way to provide API tokens/keys?
3 replies