martijnwalraven / meteor-ios

Meteor iOS integrates native iOS apps with the Meteor platform (http://www.meteor.com) through DDP
MIT License
740 stars 79 forks source link

retry opening connection #118

Open black-lotus opened 7 years ago

black-lotus commented 7 years ago

Hi,

I am facing some issue these are the logs

didFailWithError Error Domain=PSWebSocketErrorDomain Code=3 "Output stream end encountered" UserInfo={NSLocalizedDescription=Output stream end encountered}
Will retry opening connection after 0.100000 seconds
Connecting to DDP server at URL: https://xxxxxx.com/websocket
Connected to DDP server with protocol version: 1, sessionID: NpeSoAyu8X5mcZDS9

didFailWithError Error Domain=PSWebSocketErrorDomain Code=3 "Output stream end encountered" UserInfo={NSLocalizedDescription=Output stream end encountered}
Will retry opening connection after 0.100000 seconds
Connecting to DDP server at URL: https://xxxxxx.com/websocket
Connected to DDP server with protocol version: 1, sessionID: yePjDcGMb7Z2iGTJd

I have already read this issue https://github.com/martijnwalraven/meteor-ios/issues/67 and implement this in server

SERVER_WEBSOCKET_COMPRESSION=0

But still always return "Will retry opening connection after"....

Any one please help Thank you