Support Request: Custom URL Protocol

Description

I get an error using a custom URL protocol, even though I entered it as a scheme with this:

<scheme name="webclientprintiv" desc="Neodynamic Web Client Print" allowed="true" />

I see the error in the chrome debugging (debug.txt). This is it:

GET webclientprintiv:///favicon.ico net::ERR_UNKNOWN_URL_SCHEME

I realize you are using Chromium CEF. Everything works fine with Chrome, Edge, and Firefox. As a test, I also installed KioWare, which uses embedded Chromium as well, and it worked with that software. I really like SiteKiosk and I would like to find a solution. Particularly in light that we bought an on-site license for SiteRemote and I have it installed and configured already. I either need to find a different way to print that does not use a custom url protocol, or I need to find a way to set "Preferences" in ECF as I did with Chrome, specifically this:

"protocol_handler":{"excluded_schemes,*":{"webclientprintiv":false}}

location: C:\Users\{user}\AppData\Local\Google\Chrome\User Data\Default

Or...I have to use KioWare. We are one of the most recognized museum names in the world. I hope you can help solve this issue. I am sure it will be mutually beneficial. Thank you.

Steve

Answer: (5)

Re: Custom URL Protocol 9/4/2018 5:13 PM
What are the results if you test it in SiteKiosk in Start Once mode under the same Windows user account that you tested it outside of SiteKiosk in Chrome?

If you get different results in Start Once then the issue would be attributed to a Windows user dependent settings under the SiteKiosk Windows user account.

If it doesn’t work you can temporarily enable all protocols for testing (again in “Start once”).
In the SKCFG set
<schemes defaultallowed="false">
To
<schemes defaultallowed="true">

- If it works in SiteKiosk after that you should reset the scheme setting to default, reproduce the problem and send the SiteKiosk config & log file and the time at which the problem occurred. Please also send the console output of the Chrome Debugger.

- If it still doesn’t work, please verify that it works when testing in Chromium CEF using the same Chromium CEF version that is integrated to SiteKiosk.
SiteKiosk 9.6 uses Chromium 59.0.3071.82 Windows 32 Bit that you can download here:
http://opensource.spotify.com/cefbuilds/cef_binary_3.3071.1641.gf95fa26_windows32_client.tar.bz2
(you need to extract the download twice e.g. with using 7ZIP):
Further information about Chromium: https://bitbucket.org/chromiumembedded/cef

Alternatively, please provide access to that page with a description how to reproduce the problem.
Re: Custom URL Protocol 9/4/2018 7:02 PM
This appears to be an issue with cef that many people have reported. Below are two links to the essential problem:

http://magpcss.org/ceforum/viewtopic.php?f=6&t=15822

https://bitbucket.org/chromiumembedded/cef/issues/1340

I am trying to do the same thing with a custom protocol:

webclientprintiv:http://localhost:54940/PrintFGLHandler.ashx?clientPrint&sid=o5ijpbvmke3jo2dq50mynosy&printerCommands=

Which leads to this error in cef...

Page failed to load.

URL: webclientprintiv:http://localhost:54940/PrintFGLHandler.ashx?clientPrint&sid=y0zmy0i4ofgrjk3rimlxomqn&printerCommands=
Error: ERR_UNKNOWN_URL_SCHEME (-302)
ERR_UNKNOWN_URL_SCHEME
Re: Custom URL Protocol 9/4/2018 10:37 PM
Can you provide your configuration file and the steps to replicate the issue?
Re: Custom URL Protocol 9/5/2018 4:00 AM
There is no need to do an elaborate install. Even this super-simple html file will give you the same error:

<html>
<head></head>
<body>
<a href="mailto:steven_moore@moma.org">mailto link</a>
</body>
</html>

Error:

Clicking on the link leads to the same error I am getting (below).

URL: mailto:steven_moore@moma.org
Error: ERR_UNKNOWN_URL_SCHEME (-302)
ERR_UNKNOWN_URL_SCHEME

The same page and link works in Chrome though. This is without SiteKiosk. I don't believe it is a SK issue. I believe it is CEF.

CEF Version: 3.3071.1641.gf95fa26
Re: Custom URL Protocol 9/8/2018 2:18 AM
I solved this issue by using qz.io, which allows for web browser printing without a custom url protocol. FYI. Steve
My Account
Login
Language (Tickets):