0 votes

So I made two projects, one is the client and the other is the server, and they communicate with websockets. When I run them in Godot locally, the connect to each other and the game works perfectly, but I cannot get it to work with Heroku. I've tried to deploy them via this video: https://www.youtube.com/watch?v=JMVvNd7lsaM&t=293s
This seems to work as it opens the client project and let's me start playing, but it will not connect to the server. In the logs it says that Godot keeps on exiting, and enters a fatal state, and that it cannot connect due to an upstream connection failure. I do not know how to fix these so I moved onto another method. I followed this video to put my server on heroku: https://www.youtube.com/watch?v=HIww-LXrPu0&t=92s
Again, it seemingly works and the server seems to run with errors, but when I try to connect to it from my client project, it won't connect. Does anyone have any idea what my issue could be. Or is there a better way to go about this? I have been stuck for over a week trying to get this to work. Thanks

Godot version 3.4
in Engine by (596 points)

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.