Giter VIP home page Giter VIP logo

Comments (6)

SmilinJasper avatar SmilinJasper commented on June 29, 2024

Did you solve it yet?

from gun-chat.

tylerjharden avatar tylerjharden commented on June 29, 2024

How did you produce this error?

from gun-chat.

SmilinJasper avatar SmilinJasper commented on June 29, 2024

How did you produce this error?

I think it is caused by AdBlocker maybe blocking WebRTC

from gun-chat.

anesuc avatar anesuc commented on June 29, 2024

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.

ArvindGundimajalu avatar ArvindGundimajalu commented on June 29, 2024

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.

anesuc avatar anesuc commented on June 29, 2024

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 photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.