Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
dot357
@dot357:matrix.org
[m]
2 days ago same code was working
Lorenzo Mangani @qxip
@lmangani:matrix.org
[m]
as you can see the websocket connection is failing
that's the issue
dot357
@dot357:matrix.org
[m]
It used to fail but
i worked
it worked before
Lorenzo Mangani @qxip
@lmangani:matrix.org
[m]
GUN depends on those websockets being reliably connected. Are you doing this behind a proxy/gateway/something?
Yeah this seems about your network connectivity conditions and not GUN itself
dot357
@dot357:matrix.org
[m]
Let me try another connection hold on
same issue
After i logout and signin again i can see somemessages
Lorenzo Mangani @qxip
@lmangani:matrix.org
[m]
How about you use your own GUN server?
you're using a public/demo one which is not guaranteed to be reliable, run your own GUN server and the issues will disappear
dot357
@dot357:matrix.org
[m]
I have tried ngrok for server
issue still continues
Lorenzo Mangani @qxip
@lmangani:matrix.org
[m]
ngrok?
that's got nothing to do with it
dot357
@dot357:matrix.org
[m]
It turns your localhost to a server
Lorenzo Mangani @qxip
@lmangani:matrix.org
[m]
not sure where you're getting this from, but you need to run your own GUN server and then use that for your project if you want it to be reliable and up to your own devices ;)
dot357
@dot357:matrix.org
[m]
i will send link hold on
Lorenzo Mangani @qxip
@lmangani:matrix.org
[m]
nah, ngrok is just a packet forwarding tool, i know it perfectly, not good for your case
dot357
@dot357:matrix.org
[m]
So we cantry
But it use to be working i do not understand the problem what changed
Lorenzo Mangani @qxip
@lmangani:matrix.org
[m]
its a lot easier if you start a GUN server somewhere (dynos, glitch, anything) and connect there w/o trickery
Your errors will dissipate very quickly
dot357
@dot357:matrix.org
[m]
how can i create a gun server for fre
free
Lorenzo Mangani @qxip
@lmangani:matrix.org
[m]
its all in the docs
its a lot better if you find out from there precisely than out of a chat ;)
dot357
@dot357:matrix.org
[m]
Okay but i still doubt it is becouse of i dont have GUN server it use to be working just fine.
Lorenzo Mangani @qxip
@lmangani:matrix.org
[m]
pure luck
dot357
@dot357:matrix.org
[m]
Pure luck for 15 days in a row?
Lorenzo Mangani @qxip
@lmangani:matrix.org
[m]
you're using someone else's peer, it might go offline, be broken, disappear, etc
up to you man, do as you prefer :) just sharing advice
dot357
@dot357:matrix.org
[m]
Thanks
Lorenzo Mangani @qxip
@lmangani:matrix.org
[m]
and YES pure luck 15 days is a row sounds fine, if there's an issue with that specific server, it might even be 360 days of luck. Use your own resources if you want to guarantee uptime/etc in your app
dot357
@dot357:matrix.org
[m]
Thanks mate i am trying thi
s
right now
Lorenzo Mangani @qxip
@lmangani:matrix.org
[m]
but if you see websocket connections fail, look no further
dot357
@dot357:matrix.org
[m]
Hey i have rebuilded the app and it worked again
i belive it has something with the code
I used the same codes before
Ulvi YELEN
@ulvido
hi. If I created a user in one computer and try to login that in another computer I got this error? what is dare is not a function.
Hello wonderful person! :) Thanks for using GUN, please ask for help on http://chat.gun.eco if anything takes you longer than 5min to figure out!
radisk.js:28 ERROR: Radisk needs `opt.store` interface with `{get: fn, put: fn (, list: fn)}`!
tmp_js_export.js:362 Error calling method once on: Gun_: {$: Gun, root: {…}, id: 5, back: {…}, on: ƒ, …}[[Prototype]]: Object error: TypeError: dare is not a function
...
...
Barłomiej Bąk
@dweorh_twitter
without a code nobody will be able to help you, but for now, disable radisk, use localStorage and check if your code works that way
Ulvi YELEN
@ulvido
thank you.
I found it. it is a /lib/store.js function triggered
Gun.on('create', function(root){
...
Mark Nadal
@amark
@jabis :+1:
@dweorh_twitter interesting . Can I ask a dumb question: What use cases exist for "everyone" certificates?
@deathg0d https://gun.eco/docs/RAD#lex ! :)
@dot357:matrix.org glad you got your issue fixed! :)
@ulvido You're missing gun/lib/radisk.js in your list it looks like.
:clap: @dweorh_twitter @lmangani:matrix.org @yokowasis !
@Fredaroo_twitter so more generics? Yes, please be detailed, the better I can improve things then.
@daviddahl Wow. Wowowowwow. Can you help me get http://securerender.org/ off the ground? I've already gotten Mark Mayo (ex-CPO Mozilla) Brendan Eich, and some Edge roughly interested.
4 replies