- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
Hi,
I am using the following code as a link in my android app.
<a href='https://192.168.50.48:443/trcz0.html'>Click Here</a>
Basically 192.168.50.48 my server ip.
and 443 is port.
But it showing message like "GET https://192.168.50.48/trcz0.html net::ERR_INSECURE_RESPONSE"
if I use the link in the Chrome or Firefox browser the it shows me the massage that "Your connection is not secure".
If i ignore the message then i can connect to the page. I am using my own SSL in the server.
What should i do now? Intel xdk does allow to access any untrusted certificate. Or I have change something on my project.
I can get access all the https link which has trusted certificate. Kindly help me.
Thanks
- Etiquetas:
- HTML5
- Intel® XDK
Enlace copiado
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
This is not an XDK issue but a Cordova and webview issue. The XDK does not control the behaviour you are seeing, it is controlled by the webview, the target device and the way the Cordova framework sets up that webview. See these docs:
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
Hi Paul,
Thanks for quick reply.
I have read all the links. And I also use my https://192.168.50.48/trcz0.html link in the whitelists and Content Security Policy (CSP) in the index.html.
But still its not working. Could you kindly help me the easiest way so that I can bypass it? I am new in app designing and Intel XDK.
Thanks
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
Numery -- there is no "easy answer" for this issue. You need to search the web for some solutions. The ones that I have found look like you cannot apply them with our build system, you might have to use Cordova CLI directly. Here's a search to get you started > cordova phonegap net::ERR_INSECURE_RESPONSE response < in particular, this search result > http://ivancevich.me/articles/ignoring-invalid-ssl-certificates-on-cordova-android-ios/ <
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
Hi Paul,
Thanks a lot for your quick response. Now I am using the trusted certificate. I bought this certificate from the vendor.
But still getting the same error. "Failed to load resource: net::ERR_INSECURE_RESPONSE"
Kindly tell me what should I do now.
Thanks
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
Numery -- please follow the search links I provided. What you are asking is outside the scope of this forum, we are not able to provide general programming help. The XDK creates standard Cordova (aka PhoneGap) apps. Solutions you find for Cordova apps can be applied to your XDK app. The XDK is just a front-end for building Cordova apps. Please search the many excellent Cordova blogs written by other developers and Stack Overflow, where you will find more useful information regarding the Cordova and webview programming environment.

- Suscribirse a un feed RSS
- Marcar tema como nuevo
- Marcar tema como leído
- Flotar este Tema para el usuario actual
- Favorito
- Suscribir
- Página de impresión sencilla