cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [jira] [Commented] (CB-11123) Cordova Windows Universal App websockets not working
Date Wed, 21 Feb 2018 11:24:00 GMT


FAURE SYSTEMS commented on CB-11123:

I guess not... I use mqttws31.js  (Eclipse Paho JavaScript client) in a Cordova App which
runs well on Android simulator but not on Windows 10 with error:

{{Exception non gérée à la ligne 979, colonne 4 dans ms-appx-web://io.cordova.myapp6efe26/www/scripts/mqttws31.js}}
{{0x800a139e - JavaScript runtime error: SecurityError a eu lieu }}

I added you suggestion :<meta http-equiv="Content-Security-Policy" content="default-src
'self' 'unsafe-inline'gap://ready gap: cdvfile: file: [|] blob:
ws: wss:;"/>

but same error.

> Cordova Windows Universal App websockets not working
> ----------------------------------------------------
>                 Key: CB-11123
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Wish
>          Components: cordova-windows
>    Affects Versions: 3.5.0
>         Environment: Windows 10
>            Reporter: Chetana YIN
>            Priority: Major
>              Labels: newbie
> I'm working on a mobile application build with Cordova, my server is using WebSockets
and is reachable in my App on iOS, but i want to use my client side app on Windows 10, so
i did an Apache Cordova Windows Universal App. Problem is that the only way to make it work,
is when i use the client on the same computer as the server. I have access to internet (internet
capabilities already set up). Does anyone have an idea of what can block the access to external
websockets ? 

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message