Open juzerali opened 12 years ago
Express currently breaks NowJS file-serving. Not sure how to fix.
I don't think it is express that is breaking, since it is running fine on my local and on different devices on my private LAN. And on both nodester and my local I have Express 2.5.8 installed. It might have something to do with Operating System. I work on Windows 7, not sure about nodester's OS.
Hey, @juzerali - Did you get ever get this issue solved? I'm having the exact same problem.
@FaisalAbid It has been a long time. I remember I did got around this issue. Not remember how though.
@FaisalAbid @juzerali any luck remembering your work around ? I have the same problem .... I get the socket.io.js client side script but the next request made is to : http://http/socket.io/1/?t=1349987996367 ...
Unfortunately, I never got it to work, and didn't spend too much time on it since it was dropped from scope.
However from what I can see, AppFog bought Nodestr, and this wasn't working on Nodester, so it could be something on their end. I know AppFog does not support websockets. Perhaps that has to do with something, even though Socket.io should fall back to polling if im not mistaken.
I found out, debugging the io.socket.js . It was my mistake ... I had different host configuration (local and nodester).
I had io.connect('http://'+hostname+':'port');
And i configured hostname = 'http://mydomainonnodester'
So, it tried to do io.connect('http://http://mydomainonnodester') ...
It works now ...
This project is dead or what? No commits since last 8 months?
facing same issue can someone tell me that how to resolve it properly ?
I have tried creating a demo chat app on nodester. Although this app is working on my Windows 7 local, its not working on nodester. I have also asked a question on stackoverflow about this.
This is the error I am getting in browser's javascript console: