Godot cannot connect to intenet at all

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Titox

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():

func _on_Button_pressed():

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

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.

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

gmaps | 2019-09-06 10:11

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.

Zylann | 2019-09-06 12:38

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

Titox | 2019-09-06 17:09

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.

Zylann | 2019-09-06 17:38