Error Cannot GET /socket.io/?transport=polling&b64=1
I am using this library in obj-c project, everything was working great before I turned my server to https. At the moment I turned to https I was encountering invalid certificate issue which I had addressed by implementing didReceiveChallenge delegate method. Now, I am getting this error ;
Cannot GET /socket.io/?transport=polling&b64=1
socket = [[SocketIOClient alloc] initWithSocketURL:[[NSURL alloc] initWithString:@"https://localhost:xxxx"] config:@{@"log": @YES, @"forcePolling": @YES, @"selfSigned": @YES, @"sessionDelegate":appDelegate}];
I have also given a try by placing following key and value in config. @"path":@"/node_modules/socket.io"
Any prompt help will be really appreciated.
It required a server side fix.
I would like to know this fix as I am getting the same error.