mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-02-04 05:34:51 +00:00
Linux SSL/port issues #388
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @esperpinion on GitHub (Oct 8, 2019).
Originally assigned to: @GregorBiswanger on GitHub.
Core 3.0, Node.js v10.16.0
Hi. I'm having issues running Blazor + ElectronNET app on Linux. The Windows build works fine.
We're also running additional API that is accessed through simple full uri requests.
Ubuntu console outputs:
stdout: warn: Microsoft.AspNetCore.HttpsPolicy.HttpsRedirectionMiddleware[3] Failed to determine the https port for redirect.right after BridgeConnector connected.
In app, the problem is UI not being updated after any changes. API responds as being accessed fine.
The above happens only on Ubuntu, while on Windows everything is fine.
Currently our API is accessed through http protocol, Blazor UI is too. Only Electron Socket is https.
Trying to open electron socket in browser gives SSL error.
I've tried adding to StartupConfigure
or removing
But the problem remains.
Is it possible to switch electron to http protocol or allow unsafe connection (possible in electronjs)?
Thank you.
@GregorBiswanger commented on GitHub (May 10, 2020):
https://www.thesslstore.com/blog/how-to-make-ssl-certificates-play-nice-with-asp-net-core/