Closed RickCarlino closed 10 years ago
We upgraded socket.io yesterday from 0.9.16 to 1.0.6. This update affected all skynet components including skynet.js, skynet npm, skynet OS, and the skynet hub. The API is not affected. Updating your software components should reconnect fine. Let us know if you have any issues...
It looks like this one might be a local configuration issue. I did some manual testing outside of the application and was able to connect without the polling issues noted previously. I will report back when I figure out what's causing it to not work anymore.
If you are running our latest version of the SkyNet cloud, our config file has changed - https://github.com/skynetim/skynet/blob/master/config.js.sample
OK- Fixed the issue. For those who are hitting the issue:
The API has completely changed. All of your old method calls are invalidated. Make sure you update any code that was making calls to the old library to reflect the new method calls and API.
My project was working fine a few days ago. I started working on it today and noticed a new error in the console:
GET http://skynet.im:3000/socket.io/?EIO=2&transport=polling&t=1404824663344-8 net::ERR_CONNECTION_REFUSED socket.io.js:2815
Has the Skynet socket API changed recently? I couldn't see a version in the
skynet.js
file, but the MD5 is a02f460d437d44e12499cc8846cfbdd0 versus the one available on the Skynet homepage, which is c6c83d1706a96d0d95b6b26d827f75a7