I just identified an issue with profiles in the DeskApp (causing
net:ERR_FAILED to occur).
The web server URL is being trimmed from e.g. “https://” to “//” (which usually checks by itself whether the service has SSL enabled, so it’s common practice) after saving the profile.
This causes authentication to fail once you’re trying to sign in, because the application tries sending an XHR to “chrome://example.com/webapp/” instead of “//example.com/webapp/”. I’m assuming XHRs do not default to the automatic SSL lookup behavior and need their protocol to work.
Hence, the whole code in
modules/WebAppWindow.js is erroneous. I could not identify where exactly the “https:” part is being omitted, but created a function to sanitize
this.profile.requestOptions.url that is being called whenever that variable is being referenced.
Your engineers might want to look into hotfixing this.
See this gist as a guide.