acorn icon indicating copy to clipboard operation
acorn copied to clipboard

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

Open TechSupport26 opened this issue 3 years ago • 4 comments
trafficstars


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.

TechSupport26 avatar Jun 08 '22 07:06 TechSupport26

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 avatar Sep 20 '22 23:09 Connoropolous

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)

Connoropolous avatar Jan 07 '23 03:01 Connoropolous

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)

TechSupport26 avatar Aug 28 '23 21:08 TechSupport26

still waiting on holochain to resolve this issue !

Connoropolous avatar Aug 28 '23 21:08 Connoropolous