Software Archive
Read-only legacy content
17061 Discussions

Connection to socket.io impossible

yarek_c_1
Beginner
305 Views

My application works fine on browser.

When I compile it with intelXDL / phonegap : AJAX calls works fine, but not socket.io connections. (sockets use port 1445)

I have

"status: cancelled"

so it looks like permissions problem

permissions problems

I tried to add ALL possible combinations for whitelist (I use CLI 4.1.2)

    http://www.example.com/*
    http://www.example.com:1445/*
    http://*:1445/*
    http://*
    *

The first rule makes AJAX call possible. The other rules do not allow to connect to socket.io on port 1445

Any idea ?

0 Kudos
2 Replies
PaulF_IntelCorp
Employee
305 Views

Yarek, are you trying this with an Android build or with a Crosswalk build? I'm suspecting that you are using an older Android device that does not support what you are trying to do. Build with Crosswalk and see how that works.

0 Kudos
Eliecer_R_
Beginner
305 Views

lograron Solucionar? tengo el mismo problema

0 Kudos
Reply