lightningrodlabs / acorn

Built with Holochain, Acorn is an open-source, peer-to-peer project management application. It is designed and built as a scrum-alternative, Agile Development Pattern for distributed software development teams. Acorn is currently in Alpha testing phase.
https://acorn.software
101 stars 10 forks source link

Acorn will not load without an internet connection [blocked on Holochain] #133

Open TechSupport26 opened 2 years ago

TechSupport26 commented 2 years ago

Notice: this issue is blocked by an upstream issue in holochain. We can't resolve in Acorn without resolution there. The issue for tracking this is https://github.com/holochain/holochain/issues/1580


I am not sure if you were always able to open acorn without an internet connection but at v1.0.2-alpha Acorn gets stuck at the "Loading..." screen. When you establish an internet connection Acorn will then get stuck at the Setting up "Holochain..." screen. Refreshing the page does not help Ctrl R or Ctrl-Shift R and you have to close Acorn and open it again.

Edition Windows 10 Version 21H2

Thanks.

Connoropolous commented 1 year ago

for tracking purposes... we've concluded that this issue originates upstream with Holochain, not due to some fundamental limitation, but just simple implementation details of the code.

There is the same issue being faced with Holochain Launcher. https://github.com/holochain/launcher/issues/78

We've logged the upstream issue at https://github.com/holochain/holochain/issues/1580

Connoropolous commented 1 year ago

for anyone following, this issue should be resolved (turns out it was solvable on our end, mostly!) in the next release (5.0.0-alpha)

TechSupport26 commented 1 year ago

Something that I tried with v8.0.1 is running without internet at startup. This resulted in high CPU usage. Here is an excerpt from the command line.

`an unhandled error occurred: Error: Aug 29 07:17:01.164 ERROR holochain::conductor::conductor::app_status_impls: Error while trying to join the network error=OtherKitsuneP2pError(Reqwest(reqwest::Error { kind: Request, url: Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("bootstrap.holo.host")), port: None, path: "/", query: Some("net=tx5"), fragment: None }, source: hyper::Error(Connect, ConnectError("dns error", Custom { kind: Uncategorized, error: "failed to lookup address information: Name or service not known" })) })) cell_id=CellId(DnaHash(uhC0kGRHcgkpGjB2IRqxC7ovC1rzgfR901-Qv_uVT44WqWN29zdDm), AgentPubKey(uhCAkuHg4aRWsLScNzSTNbFqSCqKMZDHmEYOAj1HCDdjijl7KkKcX))

at Socket.<anonymous> (/tmp/.mount_Acorn-ruasMV/resources/app.asar/node_modules/@lightningrodlabs/electron-holochain/dist/src/holochain.js:119:33)
at Socket.emit (node:events:527:28)
at addChunk (node:internal/streams/readable:315:12)
at readableAddChunk (node:internal/streams/readable:289:9)
at Readable.push (node:internal/streams/readable:228:10)
at Pipe.onStreamRead (node:internal/stream_base_commons:190:23)

holochain stderr err > Aug 29 07:17:01.165 ERROR holochain::conductor::conductor::app_status_impls: Error while trying to join the network error=OtherKitsuneP2pError(Reqwest(reqwest::Error { kind: Request, url: Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("bootstrap.holo.host")), port: None, path: "/", query: Some("net=tx5"), fragment: None }, source: hyper::Error(Connect, ConnectError("dns error", Custom { kind: Uncategorized, error: "failed to lookup address information: Name or service not known" })) })) cell_id=CellId(DnaHash(uhC0krUIgF5S6brlbKmOAzQ1sKWn3AAFb0ZjwYmQTtE9lOnyp5P_M), AgentPubKey(uhCAkuHg4aRWsLScNzSTNbFqSCqKMZDHmEYOAj1HCDdjijl7KkKcX)) `

It does not stop until you reconnect to the internet or stop Acorn from running.

Running Debian 12

This also happens with windows 11 (I can't test windows 10 at the moment for a different reason)

Connoropolous commented 1 year ago

still waiting on holochain to resolve this issue !