0 votes

Nothing about internet works on the Godot editor or engine.

The game assets tab stays at 20% and never finishes loading.

Simple code like

extends CanvasLayer

func _ready():
    pass

func _on_Button_pressed():
    $HTTPRequest.request("http://www.mocky.io/v2/5185415ba171ea3a00704eed")

func _on_HTTPRequest_request_completed( result, response_code, headers, body ):
    var json = JSON.parse(body.get_string_from_utf8())
    print(json.result)

doesn't work at all.
If I click the button It doesn't return anything, no errors nothing.

N.B: I am very sure I have internet(or how would I have posted this post) and it is even high speed.The internet is behind a network proxy.

in Engine by (70 points)

Maybe the windows firewall is blocking it? Are you usinh windows?

Did you try with a direct internet connection not behind a proxy? (preferably using the same computer?) Not sure if the cause is the firewall or the proxy.

well it cant be the firewall coz I've just disabled it.How do i use direct internet

A home internet router is a "direct" connection. A university WiFi may be behind a proxy (which may have its own limitations regarding what you can do on the internet). That's what I mean by testing if you can without a proxy using the same computer (if you happen to have a laptop?).

Beyond that, it would depend on which OS you are and which version of Godot.

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 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 webmaster@godotengine.org with your username.