-
Notifications
You must be signed in to change notification settings - Fork 3
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
IPFS objects sometimes take a very long time to load #260
Comments
Definitely this -- I've done this when using IPFS between my laptop and desktop, makes discovery way faster + more reliable. |
I am getting this error in my console logs once in every few seconds, on alpha.capsule.social and also on localhost:
This could be relevant? Possibly some latest update of ipfs package that is causing this? Also this error in console log, but doesn't occur as often as the previous one:
Maybe this is specific to my machine, but idk. Worth taking a look I guess? |
These preload nodes are sometimes up/down depending on their load etc. It's not relevant because IPFS gracefully switches to other nodes. |
There are a few changes implemented to mitigate this. We are still monitoring this... |
I haven't seen the problem manifesting now. I will close this but if anyone finds this issue again, please reopen. |
This seems to occur again from time to time. I have seen that sometimes web socket connections drop. There could be two reasons why this is happening:
Both will need to be investigated. |
#391 might help here. I see some improvement, please report if otherwise |
I looked into this issue again today and can't find any instances where a post page encounters an infinite loading loop. This issue may be resolved |
Reopening this, as we have started receiving reports of the same behaviour again. |
User update about pages not loading: "reloading the accessed pages did not help. The pages are not loaded. I am accessing the page from Germany, using Firefox with UBlock Origin, Privacy Badger and HTTPS Everywhere." |
This specific report is related to this: https://bugzilla.mozilla.org/show_bug.cgi?id=1755692 (a Firefox browser bug). |
To what extent did adding our own bootstrap nodes fix this issue? |
it makes it occur less frequently. (and also improves resource consumption - no need to traverse the whole ipfs network to reach our nodes) One of the next things @dgrisham will research is how this could be improved so that our web socket connections don't "hang" from the browser to our ipfs nodes. |
More fixes there on #785, we'll monitor for issues.
|
When we load an article or comment on the frontend, sometimes it takes a very long time to load (seems like an infinite amount of time but actually it's not). In some occasions, a refresh seems to solve the problem and make the post/comment load faster.
After some fiddling around with IPFS I discovered the following:
A possible solution/workaround is to only add OUR IPFS nodes in the "bootstrap" field of the IPFS node. (for now only test-node and alpha-b).
IMO we should also try out running our own web-rtc star server and see how this affects peering.
The text was updated successfully, but these errors were encountered: