@Calinou said:
As far as I know, Godot does not expose a way to check for Internet connectivity using OS APIs. As a workaround, you could try requesting a page from a public web server such as example.com (which is a domain reserved by IANA, so it should always be there).
Thanks, I did not known about example.com. However, when I try it in log is
Cause: unable to get local issuer certificate
[4, 0, [], [PoolByteArray]] #caused by printing the result of "yield($web,"request_completed")"
In debugger are two errors.
0:00:01:0217 - Some I/O error occurred. The OpenSSL error queue may contain more information on the error.
Type:Error
Description:
Time: 0:00:01:0217
C Error: Some I/O error occurred. The OpenSSL error queue may contain more information on the error.
C Source: modules/openssl/stream_peer_openssl.cpp:429
C Function: _print_error
0:00:01:0222 - A failure in the SSL library occurred, usually a protocol error.
Type:Error
Description:
Time: 0:00:01:0222
C Error: A failure in the SSL library occurred, usually a protocol error.
C Source: modules/openssl/stream_peer_openssl.cpp:432
C Function: _print_error
Btw. It referring to protocols, Do I need them ? If yes, where I can get them ?