nakama-godot-demo icon indicating copy to clipboard operation
nakama-godot-demo copied to clipboard

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

Open RodrigoBucrin opened this issue 4 years ago • 9 comments

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

RodrigoBucrin avatar May 16 '20 00:05 RodrigoBucrin

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.

NathanLovato avatar May 16 '20 01:05 NathanLovato

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

tanjunior avatar May 19 '20 06:05 tanjunior

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

RodrigoBucrin avatar May 19 '20 19:05 RodrigoBucrin

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

tanjunior avatar May 19 '20 19:05 tanjunior

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

Torguen avatar Jul 29 '20 10:07 Torguen

@Torguen how are you running the Nakama server?

mofirouz avatar Jul 29 '20 10:07 mofirouz

@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

Torguen avatar Jul 29 '20 10:07 Torguen

@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

NathanLovato avatar Jul 29 '20 12:07 NathanLovato

@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.

Torguen avatar Jul 29 '20 13:07 Torguen