Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

radix thowing error #1297

Open
atordvairn opened this issue Dec 20, 2022 · 4 comments
Open

radix thowing error #1297

atordvairn opened this issue Dec 20, 2022 · 4 comments

Comments

@atordvairn
Copy link

image

with a gun config like:

import Gun from "gun";
import "gun/sea";
// import "gun/axe";
import "gun/lib/radix";
import "gun/lib/radisk";
import "gun/lib/store";
import "gun/lib/rindexed";

export const db = new Gun({
  peers: [
    "https://relay.129.153.59.37.nip.io/gun",
    "https://gun-manhattan.herokuapp.com/gun",
  ],
  localStorage: false,
});
@atjn
Copy link
Contributor

atjn commented Jan 21, 2023

I have the same issue. The error fires around 100 times every minute:
image

It might just be my app doing something it is not allowed to (I am still learning GUN), but in that case, an actionable error message would be nice.

@atordvairn
Copy link
Author

You using svelte?

@atjn
Copy link
Contributor

atjn commented Jan 22, 2023

Yes I am using Svelte.

@atjn
Copy link
Contributor

atjn commented Jan 22, 2023

It seems like mine show up as a symptom of stress. After limiting the amount of peers I connect to and making fewer calls to GUN, the problem has almost gone away. The issue only pops up once in a while, and does not seem to block GUN from working as it should.
I also blocked the https://gun-manhattan.herokuapp.com/gun peer from the app. It seems to be very unstable, which is causing GUN in my app to work more, which is in turn causing more of these errors.

Obviously I would like these errors to be fixed, but the above is an okay workaround.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants