Hi,

I'm using xwalk embedded in my android app. My web server uses a self signed 
SSL/TLS cert. Since I've updated xwalk from version

16.45.421.19 to 19.49.514.5 (or higher), I cannot load pages from that server 
in xwalk any more. I'm always getting "ERR_INSECURE_RESPONSE" errors.

In the past I was able to catch and ignore the ssl errors in 
onReceivedSslError<https://crosswalk-project.org/apis/embeddingapidocs_v7/org/xwalk/core/XWalkResourceClient.html#onReceivedSslError-org.xwalk.core.XWalkView-android.webkit.ValueCallback-android.net.http.SslError->
 function of my resourceClient. Now with xwalk 19.49.514.5 (or higher) 
onReceivedSslError is not called any more. Instead, onReceivedLoadError
is called with error code -1.

I also tried according command line flags in OnCreate() function of my 
mainActivity:

final String commandLineParams[] = 
{"--unsafely-treat-insecure-origin-as-secure=https://myServer 
--user-data-dir=/test/only/profile/dir"};//set cmdline params
CommandLine.getInstance().appendSwitchesAndArguments(commandLineParams);//send 
cmdline params

I also tried flags --reduce-security-for-testing, 
--allow-running-insecure-content but nothing helped.

How can I enable the recent xwalk version to let me handle (ignore) 
"ERR_INSECURE_RESPONSE" errors by myself?

Cheers,

tom
_______________________________________________
Crosswalk-help mailing list
[email protected]
https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-help

Reply via email to