heroiclabs / nakama-godot-demo

A demo project with Godot engine and Nakama server.
Other
305 stars 49 forks source link

Error Code 8: HTTPRequest Failed! [Windows 10 Home] #25

Open RodrigoBucrin opened 4 years ago

RodrigoBucrin commented 4 years ago

image

Hello, once the Bash throws me the "" msg ":" Startup done "}" I proceed to run the project in godot, but in the registry part I get the following error "Error Code 8: HTTPRequest Failed!" I have been trying to find what it is, however I have not managed to solve it, I would appreciate the support since I am very interested in continuing to test the project, regards

image

NathanLovato commented 4 years ago

I don't know why this is happening, sorry. And I don't have Windows here.

Try to place breakpoints in Authenticator.register_async() and login_async to see where the request is failing. If any request fails, from registration, it might be an issue with the server's setup. If you can register successfully, we'll have to inspect the login.

tanjunior commented 4 years ago

run docker-machine ip on terminal and check what IP is the server running on. It might not be 127.0.01 for windows10 https://github.com/heroiclabs/nakama-godot-demo#setting-up-docker-on-windows-10-home-and-below

RodrigoBucrin commented 4 years ago

Hello, sorry I had been busy, as "tanjunior" apparently said for windows 10 home and earlier, the docker assigns another ip, of course it can be modified, but I preferred to adapt it to the ip that the docker threw at me, apparently the connection worked and the account was created, however, from there I could not go, when selecting the "Character" and pressing "Login" the "GameWorld.gd" gives me an error as you can see in the screenshot

image

image

image

Do you think it could be an error with the connection to the database? Again, thank you very much, I am really new to this (networking) but it would help me a lot to learn

tanjunior commented 4 years ago

I think you might have accidentally deleted a bracket or something. Do reclone this project as it was updated few days ago.

Torguen commented 4 years ago

Currently this demo does not work. You receive the "Error code 8: HTTP request failed" error. Captura2

mofirouz commented 4 years ago

@Torguen how are you running the Nakama server?

Torguen commented 4 years ago

@Torguen how are you running the Nakama server?

I'm not sure about that. Create an account on the nakama website and verify the email. I import the project into godot and then run it, enter my email and password and the error occurs. Captura2

NathanLovato commented 4 years ago

@Torguen Did you follow the install instructions? You need to install and run a Nakama server on your machine, locally, and that's what you use to test the game.

See the install steps here: https://github.com/heroiclabs/nakama-godot-demo#testing-the-project

Torguen commented 4 years ago

@Torguen Did you follow the install instructions? You need to install and run a Nakama server on your machine, locally, and that's what you use to test the game.

See the install steps here: https://github.com/heroiclabs/nakama-godot-demo#testing-the-project

Ok, it is not as easy as I thought. Thanks for the info.