razvang10 commented on issue #197: [Ionic] Cordova app is not connecting to the 
sockets api in release build.
URL: https://github.com/apache/cordova/issues/197#issuecomment-590324205
 
 
   > Are you able to provide a sample reproduction app that contains exactly 
what is needed to reproduce the issue and nothing more? (pure cordova, no 
frameworks like ionic, angular, etc).
   
   You can reproduce it just by creating an app adding socket io client and 
running the app in release mode.
   
   > Alternatively, if you provide us with a full error message, we may be able 
to provide some more insight. XHR Poll Error is a generic error message from 
the socket library you are using. I don't know too much about socket.io, but I 
suspect there are probably other relevant information that we are missing here. 
(Perhaps check the network tab?)
   
   Well @breautek the thing is that it works with api 28+ just in debug mode 
but in release mode it does not connect... I cannot debug it, check the network 
tab or anything releated to that.
   
   > This is just a guess, but one notable change between API 27 and API 28 is 
that network traffic by default must be secure (therefore they need to use 
https protocol and your server needs to have a valid SSL certificate).
   
   The server that im trying to connect to is secure and it has a valid ssl 
certificate.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to