Created HTML5 can not be run, as WebAssembly cannot find System.Net.Http.HttpClient

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

Hi All,
I am new here.
I just started to work with Godot and got a strange problem.
I made a C# Godot VS solution. Added C# library where I am using System.Net.Http.HttpClient to connect to Firebase Auth.
everything worked fine until I convert it to HTML 5.

When I run my Html5 under localhost I got this. As I understand WebAssembly can not find System.Net.Http.dll. I have tried all possible variants of build but no difference.

I would greatly appreciate any help.

index.js:8 Assembly Loader probing location: ‘/.mono/assemblies/Debug//Facades/WebAssembly.Net.Http.dll’.
index.js:8 Assembly Loader probing location: ‘/.mono/assemblies/Debug/WebAssembly.Net.Http.exe’.
index.js:8 Assembly Loader probing location: ‘/root/mono-installs/wasm-runtime-release/lib/WebAssembly.Net.Http.exe’.
index.js:8 Assembly Loader probing location: ‘/.mono/assemblies/Debug//Facades/WebAssembly.Net.Http.exe’.
index.js:8 Assembly Loader probing location: ‘/.mono/assemblies/Debug/WebAssembly.Net.Http.dll’.
index.js:8 Assembly Loader probing location: ‘/root/mono-installs/wasm-runtime-release/lib/WebAssembly.Net.Http.dll’.
index.js:8 Assembly Loader probing location: ‘/.mono/assemblies/Debug//Facades/WebAssembly.Net.Http.dll’.
index.js:8 Assembly Loader probing location: ‘/.mono/assemblies/Debug/WebAssembly.Net.Http.exe’.
index.js:8 Assembly Loader probing location: ‘/root/mono-installs/wasm-runtime-release/lib/WebAssembly.Net.Http.exe’.
index.js:8 Assembly Loader probing location: ‘/.mono/assemblies/Debug//Facades/WebAssembly.Net.Http.exe’.
index.js:8 Assembly Loader probing location: ‘/.mono/assemblies/Debug/WebAssembly.Net.Http.dll’.
index.js:8 Assembly Loader probing location: ‘/root/mono-installs/wasm-runtime-release/lib/WebAssembly.Net.Http.dll’.
index.js:8 Assembly Loader probing location: ‘/.mono/assemblies/Debug//Facades/WebAssembly.Net.Http.dll’.
index.js:8 Assembly Loader probing location: ‘/.mono/assemblies/Debug/WebAssembly.Net.Http.exe’.
index.js:8 Assembly Loader probing location: ‘/root/mono-installs/wasm-runtime-release/lib/WebAssembly.Net.Http.exe’.
index.js:8 Assembly Loader probing location: ‘/.mono/assemblies/Debug//Facades/WebAssembly.Net.Http.exe’.
index.js:8 Assembly Loader probing location: ‘/.mono/assemblies/Debug/WebAssembly.Net.Http.dll’.
index.js:8 Assembly Loader probing location: ‘/root/mono-installs/wasm-runtime-release/lib/WebAssembly.Net.Http.dll’.
index.js:8 Assembly Loader probing location: ‘/.mono/assemblies/Debug//Facades/WebAssembly.Net.Http.dll’.
index.js:8 Assembly Loader probing location: ‘/.mono/assemblies/Debug/WebAssembly.Net.Http.exe’.
index.js:8 Assembly Loader probing location: ‘/root/mono-installs/wasm-runtime-release/lib/WebAssembly.Net.Http.exe’.
index.js:8 Assembly Loader probing location: ‘/.mono/assemblies/Debug//Facades/WebAssembly.Net.Http.exe’.
index.js:8 Assembly Loader probing location: ‘/.mono/assemblies/Debug/WebAssembly.Net.Http.dll’.
index.js:8 Assembly Loader probing location: ‘/root/mono-installs/wasm-runtime-release/lib/WebAssembly.Net.Http.dll’.
index.js:8 Assembly Loader probing location: ‘/.mono/assemblies/Debug//Facades/WebAssembly.Net.Http.dll’.
index.js:8 Assembly Loader probing location: ‘/.mono/assemblies/Debug/WebAssembly.Net.Http.exe’.
index.js:8 Assembly Loader probing location: ‘/root/mono-installs/wasm-runtime-release/lib/WebAssembly.Net.Http.exe’.
index.js:8 Assembly Loader probing location: ‘/.mono/assemblies/Debug//Facades/WebAssembly.Net.Http.exe’.
index.js:8 Assembly Loader probing location: ‘/.mono/assemblies/Debug/WebAssembly.Net.Http.dll’.
index.js:8 Assembly Loader probing location: ‘/root/mono-installs/wasm-runtime-release/lib/WebAssembly.Net.Http.dll’.
index.js:8 Assembly Loader probing location: ‘/.mono/assemblies/Debug//Facades/WebAssembly.Net.Http.dll’.
index.js:8 Assembly Loader probing location: ‘/.mono/assemblies/Debug/WebAssembly.Net.Http.exe’.
index.js:8 Assembly Loader probing location: ‘/root/mono-installs/wasm-runtime-release/lib/WebAssembly.Net.Http.exe’.
index.js:8 Assembly Loader probing location: ‘/.mono/assemblies/Debug//Facades/WebAssembly.Net.Http.exe’.
index.js:8 Assembly Loader probing location: ‘/.mono/assemblies/Debug/WebAssembly.Net.Http.dll’.
index.js:8 Assembly Loader probing location: ‘/root/mono-installs/wasm-runtime-release/lib/WebAssembly.Net.Http.dll’.
index.js:8 Assembly Loader probing location: ‘/.mono/assemblies/Debug//Facades/WebAssembly.Net.Http.dll’.
index.js:8 Assembly Loader probing location: ‘/.mono/assemblies/Debug/WebAssembly.Net.Http.exe’.
index.js:8 Assembly Loader probing location: ‘/root/mono-installs/wasm-runtime-release/lib/WebAssembly.Net.Http.exe’.
index.js:8 Assembly Loader probing location: ‘/.mono/assemblies/Debug//Facades/WebAssembly.Net.Http.exe’.

index.js:8 Uncaught RangeError: Maximum call stack size exceeded
at _fd_write (index.js:8)
at __stdio_write (:5000/:wasm-function[15242]:0x2e2319)
at __fwritex (:5000/:wasm-function[9718]:0x1dbaac)
at out (:5000/:wasm-function[2253]:0x766c4)
at printf_core (:5000/:wasm-function[8937]:0x1b5953)
at __vfprintf_internal (:5000/:wasm-function[9710]:0x1db1e4)
at vfiprintf (:5000/:wasm-function[8757]:0x1ad816)
at fiprintf (:5000/:wasm-function[991]:0x3f4f4)
at wasm_logger (:5000/:wasm-function[24237]:0x44b71d)
at callback_adapter (:5000/:wasm-function[33433]:0x7ceec5)

:bust_in_silhouette: Reply From: yrtv

Only WebRTC works in HTML5 exports.

Edit:
I never worked with Firebase from HTML5 Secure Context.
But they do have JavaScript API. So maybe you can use them?
https://docs.godotengine.org/en/stable/classes/class_javascript.html