Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
RodrigoBucrin opened this issue May 16, 2020 · 9 comments
Open

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

RodrigoBucrin opened this issue May 16, 2020 · 9 comments
Labels
bug Something isn't working

Comments

@RodrigoBucrin
Copy link

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 NathanLovato added the bug Something isn't working label May 16, 2020
@NathanLovato
Copy link
Contributor

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
Copy link
Contributor

tanjunior commented May 19, 2020

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
Copy link
Author

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
Copy link
Contributor

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

@Torguen
Copy link

Torguen commented Jul 29, 2020

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

@mofirouz
Copy link
Member

@Torguen how are you running the Nakama server?

@Torguen
Copy link

Torguen commented Jul 29, 2020

@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
Copy link
Contributor

@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
Copy link

Torguen commented Jul 29, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants