Comments (7)
@Shivang44 yes, it appears to be working as expected.
No console errors. ✅
Thanks again! 👍
from hapi-socketio-redis-chat-example.
Well... this might be my fault. It turns out the new socket.io js client file we included doesn't "work". Not sure why that is.
If we include the original file,
https://cdn.socket.io/socket.io-1.3.5.js
It works. The issue we were having was that link was broken, but today, it seems the link has fixed itself. So if we didn't change anything and just waited a day it would have fixed itself haha. Anyways, I'm sorry about this, I can either create a new branch with the original link or we could revert to the commit before the merge?
I pulled in the code as-is and then just changed the socket.io client JS file to the one above on my digitalocean box, and it seems to work: http://107.170.109.97:8000/
Thanks and sorry again for the troubles.
from hapi-socketio-redis-chat-example.
@Shivang44 cool. let's go back to the previous version. do you have time to PR? 👍
from hapi-socketio-redis-chat-example.
@nelsonic Done. It might have had to do with the version differences (1.3.5 vs 1.4.6).
from hapi-socketio-redis-chat-example.
@Shivang44 thanks for helping to debug this.
the older version of Socket.io has been deployed to the app: view-source:https://hapi-chat.herokuapp.com/ but the issue is still there. sad times. 😞
from hapi-socketio-redis-chat-example.
@nelsonic That's really strange. I stopped my server, pulled in the latest repo, and just ran it as-is. Works for me. I'll take a deeper look at later today, but I think you and your team know much more about nodejs and websockets than me. :)
Nevertheless, I'll make a new PR if I do figure it out. Thanks for spending time merging the PR's!
from hapi-socketio-redis-chat-example.
@nelsonic Is this resolved? It seems to work on the link you posted.
from hapi-socketio-redis-chat-example.
Related Issues (20)
- Compiled Elm code missing from heroku HOT 10
- Error while running command npm start HOT 7
- Error. Can't run example. HOT 3
- Why do you use ports to send message instead of WebSocket.send HOT 1
- Unable to run the demo version in 2018 HOT 1
- Reply.view error HOT 2
- Send chat message from command line HOT 1
- Time and Date should be set on the serverside HOT 1
- Update Dependencies to latest version of Hapi
- Add CONTRIBUTING.md File to Repo
- Elm UI with Tachyons HOT 21
- Not working locally on npm start
- Empty message form submitting anyway HOT 1
- (DO NOT) UPDATE SOCKET.IO to v2
- Should we be using socket.io with elm? HOT 5
- Using Tachyons to replicate 'Send' form HOT 2
- Redis deprecation warnings on server start
- Epic: creating dwylchat HOT 1
- Create online users widget
- create initial design
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hapi-socketio-redis-chat-example.