Issue with try to connect on https site with fetch()

Hi, i have this issue in my application when i try test it on Android.

In Local mode or on iOS it works correctly, issue is only on Android. (Information: For networking i use in my application method fetch() )

Fuse version 0.29.0 (build 8396)

Operating system: MacOSX

D/libc-netbsd(17187): [getaddrinfo]: mtk hostname=xxxxxx.xx; servname=(null); cache_mode=(null), netid=0; mark=0
D/libc-netbsd(17187): getaddrinfo( app_uid:10097
D/libc-netbsd(17187): getaddrinfo() uid prop:
D/libc-netbsd(17187): getaddrinfo() getuid():10097
D/libc-netbsd(17187): [getaddrinfo]: mtk ai_addrlen=0; ai_canonname=(null); ai_flags=4; ai_family=0
D/libc-netbsd(17187): [getaddrinfo]: mtk hostname=xxxxxx.xx; servname=(null); cache_mode=(null), netid=0; mark=0
D/libc-netbsd(17187): getaddrinfo( app_uid:10097
D/libc-netbsd(17187): getaddrinfo() uid prop:
D/libc-netbsd(17187): getaddrinfo() getuid():10097
D/libc-netbsd(17187): [getaddrinfo]: mtk ai_addrlen=0; ai_canonname=(null); ai_flags=1024; ai_family=0
D/libc-netbsd(17187): getaddrinfo: xxxxxx.xx get result from proxy >>
D/Posix   (17187): [Posix_connect Debug]Process octomat.donald :3002
I/BufferQueueProducer(  250): [SurfaceView](this:0xb8a6ae20,id:104,api:1,p:17187,c:250) queueBuffer: fps=0.18 dur=11317.00 max=11265.80 min=51.21
D/libc-netbsd(17187): [getaddrinfo]: mtk hostname=xxxxxx.xx; servname=(null); cache_mode=(null), netid=0; mark=0
D/libc-netbsd(17187): getaddrinfo( app_uid:10097
D/libc-netbsd(17187): getaddrinfo() uid prop:
D/libc-netbsd(17187): getaddrinfo() getuid():10097
D/libc-netbsd(17187): [getaddrinfo]: mtk ai_addrlen=0; ai_canonname=(null); ai_flags=4; ai_family=0
D/NativeCrypto(17187): ssl=0xb96ed028 NativeCrypto_SSL_do_handshake fd=0x9e629630 shc=0x9e629634 timeout_millis=60000 client_mode=1 npn=0x0
D/NativeCrypto(17187): doing handshake ++
D/NativeCrypto(17187): ssl=0xb96ed028 info_callback where=0x10 ret=1
D/NativeCrypto(17187): ssl=0xb96ed028 handshake start in UNKWN  before/connect initialization
D/NativeCrypto(17187): ssl=0xb96ed028 info_callback calling handshakeCompleted
D/NativeCrypto(17187): ssl=0xb96ed028 info_callback completed
D/NativeCrypto(17187): ssl=0xb96ed028 info_callback where=0x1001 ret=1
D/NativeCrypto(17187): ssl=0xb96ed028 SSL_connect:UNKWN  before/connect initialization
D/NativeCrypto(17187): ssl=0xb96ed028 info_callback ignored
D/NativeCrypto(17187): ssl=0xb96ed028 info_callback where=0x1001 ret=1
D/NativeCrypto(17187): ssl=0xb96ed028 SSL_connect:23WCHA SSLv2/v3 write client hello A
D/NativeCrypto(17187): ssl=0xb96ed028 info_callback ignored
D/NativeCrypto(17187): ssl=0xb96ed028 info_callback where=0x1002 ret=-1
D/NativeCrypto(17187): ssl=0xb96ed028 SSL_connect:error exit in 23RSHA SSLv2/v3 read server hello A
D/NativeCrypto(17187): ssl=0xb96ed028 info_callback ignored
D/NativeCrypto(17187): doing handshake -- ret=-1
D/NativeCrypto(17187): ssl=0xb96ed028 NativeCrypto_SSL_do_handshake ret=-1 errno=11 sslError=2 timeout_millis=60000
D/NativeCrypto(17187): doing handshake ++
D/NativeCrypto(17187): ssl=0xb96ed028 info_callback where=0x1001 ret=1
D/NativeCrypto(17187): ssl=0xb96ed028 SSL_connect:3RSH_A SSLv3 read server hello A
D/NativeCrypto(17187): ssl=0xb96ed028 info_callback ignored
D/NativeCrypto(17187): ssl=0xb96ed028 info_callback where=0x1002 ret=-1
D/NativeCrypto(17187): ssl=0xb96ed028 SSL_connect:error exit in 3RSC_A SSLv3 read server certificate A
D/NativeCrypto(17187): ssl=0xb96ed028 info_callback ignored
D/NativeCrypto(17187): ssl=0xb96ed028 info_callback where=0x1002 ret=-1
D/NativeCrypto(17187): ssl=0xb96ed028 SSL_connect:error exit in 3RSC_A SSLv3 read server certificate A
D/NativeCrypto(17187): ssl=0xb96ed028 info_callback ignored
D/NativeCrypto(17187): doing handshake -- ret=-1
D/NativeCrypto(17187): ssl=0xb96ed028 NativeCrypto_SSL_do_handshake ret=-1 errno=11 sslError=2 timeout_millis=60000
D/NativeCrypto(17187): doing handshake ++
E/NativeCrypto(17187): ssl=0xb96ed028 cert_verify_callback x509_store_ctx=0x9e629470 arg=0x0
E/NativeCrypto(17187): ssl=0xb96ed028 cert_verify_callback calling verifyCertificateChain authMethod=ECDHE_RSA
D/NativeCrypto(17187): ssl=0xb96ed028 cert_verify_callback => 0
D/OpenSSLLib(17187): OpensslErr:Module:20(144:134); file:external/openssl/ssl/s3_clnt.c ;Line:1260;Function:ssl3_get_server_certificate
D/NativeCrypto(17187): ssl=0xb96ed028 info_callback where=0x4008 ret=558
D/NativeCrypto(17187): ssl=0xb96ed028 SSL3 alert write:F:CU fatal certificate unknown
D/NativeCrypto(17187): ssl=0xb96ed028 info_callback ignored
D/NativeCrypto(17187): ssl=0xb96ed028 info_callback where=0x1002 ret=-1
D/NativeCrypto(17187): ssl=0xb96ed028 SSL_connect:error exit in 3RSC_B SSLv3 read server certificate B
D/NativeCrypto(17187): ssl=0xb96ed028 info_callback ignored
D/NativeCrypto(17187): doing handshake -- ret=-1
D/NativeCrypto(17187): ssl=0xb96ed028 NativeCrypto_SSL_do_handshake exception => 0
I/octomobile(17187): err: TypeError: Network request failed

Could you send a project where we could reproduce the issue? Use the following link to upload https://www.dropbox.com/request/ZgndLtJQm5eGzG9cicGK

Hi, already uploaded.
But i uploaded this project already also for Chris Bagley, because he want it for this another issue in this post:
https://www.fusetools.com/community/forums/howto_discussions/include_headers_in_uno_for_ios

You did not send the login.json file, so I can’t know what hostname you are using.

Anders Bondehagen wrote:

You did not send the login.json file, so I can’t know what hostname you are using.

sorry, where I can send it again ?

You can contact me on slack, my username is @bondehagen.

Issue resolved …
there was missing startcom intermediate certificate

hey, I have same error
D/libc-netbsd(16473): [getaddrinfo]: hostname=us-central1-fir-f32d6.cloudfunctions.net; servname=(null); netid=0; mark=0
Can you help me with this?

Hello! I might be mistaken, but this has to do with the server’s certificate/setup? Have you tried fetch with other hosts?

Yes but I am getting the same error
This is the error :
D/libc-netbsd(14222): [getaddrinfo]: hostname=us-central1-fir-f32d6.cloudfunctions.net; servname=(null); netid=0; mark=0
D/libc-netbsd(14222): [getaddrinfo]: ai_addrlen=0; ai_canonname=(null);
ai_flags=1024; ai_family=0

I am stuck at this error for 4 days now. I am not getting enough information about this error on internet. Please help me solve this error its really getting annoying now. I am developing a Multiplayer Tic Tac Toe game on Flutter.

Can you share some code? What are device are you testing on, OS, uno version, etc.?