How to move from Working Localhost w/ Django Websockets to Railway production?

I had a functioning django websocket fantasy draft on my local host using daphne and redis. However, I am having trouble making the websocket actually connect when in railway production. I have updated the ws url to include the active domain used by railway. Initially, I thought it might have been using ws instead of wss, but after updating that I am still have problems with the server giving a 'Not Found' error for trying to connect to my websocket. On looking online I have seen discussion of using Nginx to handle both gunicorn http and daphne ws, however I am not quite sure how to add Nginx to be used .
Is there a resource/doc I should be looking at because what I have seen I havent been able to implement to make it work. Even thought I have made my routing.py url match my url to connect in js for websocket. Please let me know of any feedback, thanks.
Project ID: cd094f89-1131-48fa-8425-7067772de91e
I have properly connect to both remote database and redis server as well.
do http requests work as they should?
Yes they do. I can get on that page with websockets and try to play out the draft but the only updates are on page reload with http.
rule 5...
I'm sorry Brody, I had just woken up and forgotten ping rule. It was not considerate of your time
it's fine, I had 9 pings when I woke up, what was one more lol
have you tested the websocket connection with something like postman or insomnia?

Looking for more? Join the community!

Recommended Posts
There's suddenly two new random columns in my database??I went in and checked my railway dashboard and to my surprise there's two new completely random dataRailway having issues with Mongoose NPM package???Locally my code works fine, I can connect to Mongo using Mongoose no issues but when on Railway it rNo VAT taxes on invoicesHello everyone I've just joined this server. On my invoices, I don't see any VAT tax prices includeIssue with mounting volumeHello, I have an instance of n8n running, I need to attach a volume to keep community node persistenPin memory usageI'm running a service that scales memory usage unpredictably and quickly, and it crashes in these caVariables redeploy infoSometimes when I don't have an active deployment and I change the variables it triggers a redeploy bStatic IPsIs there any updates for static IPs? I would love to use Railway for a Discord bot so everything is Prebuilt Mqtt Service and PortsLooking for some guidance. Currently have a couple different services in my project, including a posMySQL queries timeout or lead to blank screen on web versionFor the last 2 days or so I've been running into some problems with my personal project database. ItAdonisjs Migration - MySQL using password noTrying to deploy an app on railway with adonisjs and a MySQL database, I can get the web app runningGraalVMHi, is it possible to build a graalvm image in nixpacks? https://github.com/railwayapp/nixpacks/issuDebugging issuesIs their someway to get into filesystem so I can debug production errors a0aaa94d-45ad-410c-bcae-31Debugging issuesIs their somehow to get into file system? or the built filesEnabled mlockHi everyone, I'm currently creating a template for the hashicorp vault service (https://developer.hSubscription already existsI can't enable the developer plan, the system returns the message: "Subscription already exists"simple socket server got timeout errorhi i have a simple question if i have a java simple sever (spring boot) and in my app in another porCheck SuitesI'm looking for a feature that could allow to deploy if failed build So I try to use Check Suites bTypeError: fetch failed error without much description in the logsFull error below: TypeError: fetch failed at Object.fetch (/app/node_modules/next/dist/compiled/unRenamed user/organization for GitHub - unsafe?A student organization I work with has a cron job service for our database, and it's linked with ourContainer Failed to StartError Response from Daemon