Comments (6)
Did you solve it yet?
from gun-chat.
How did you produce this error?
from gun-chat.
How did you produce this error?
I think it is caused by AdBlocker maybe blocking WebRTC
from gun-chat.
Ad blockers do not just block all WebRTC connections, that would be an insane thing to do. You would essentially be blocking an entire web protocol lol. You would have to have a specific extension designed to block WebRTC connections maybe to prevent an IP leak etc.
In this case thats because there isn't a websocket on that port as far as I know from briefly looking at the code. We never started a server on that port.
from gun-chat.
Not sure if this is related but I see this error come up when I try deploying it on AWS "'web socket connection to wss://gun-manhattan.herokuapp.com/gun failed'. Any idea what could be going wrong"
from gun-chat.
Not sure if this is related but I see this error come up when I try deploying it on AWS "'web socket connection to wss://gun-manhattan.herokuapp.com/gun failed'. Any idea what could be going wrong"
Do you have a websocket server ruining on that? If not, thats the reason. You need to a gun server like (this is an example of running one on locahost, haven't fully tested this or anything but should give you an idea):
const server = require('http').createServer().listen(8765);
new Gun({
web: server,
});
I myself have abandoned this for now because if all users leave, it forgets the data only until you restart the server does it then load the saved data. In other words you would have to restart the server everytime there was no activity (no other peers to get the data from)
from gun-chat.
Related Issues (8)
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 gun-chat.