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
Networking bugs & correct network configuration for v0.0.32-alpha2 #6
Comments
Probably best to stick to n3h if it works. It's the only one that has a chance of working with zero config. i.e., set The error you show above for n3h has to do with some native node deps, in particular:
Can you try running it in a holonix nix shell? That might help. No need to include n3h as a dep by the way. For the other configs:
sim1h is the most reliable, n3h is the only no-config option that may work. bear in mind that the network config can be a string or an object with a "type" key. The former is a shortcut. So both of these are valid config values:
and
(there is no string-only config for sim1h, only for n3h, memory, and websocket) |
I am running from within Nix- see https://github.com/holo-rea/holo-rea/blob/master/default.nix It looks like
|
@pospi those aren't actual problems. If there is no n3h available, it will be downloaded from the internet. But not before logging that unsettling error. |
Hmm... not for me. Am I supposed to add it as a dependency of my test package's |
No, wait. Cleared modules, re-added Maybe worth adding |
Not major, but I am also getting a heap of n3h debug output in my logs, even with
|
@pospi yeah I was annoyed by that too. I think the latest n3h release contains this fix: holochain/n3h#114 which turns off the debug snapshot when |
It looks like we can mostly close this issue... there isn't a solution yet, but this whole API is going to change in |
I've recently started updating my Diorama tests to Try-o-rama. Operations which previously ran fine are now hanging the backend.
Reproducible on both
0.1.2-beta.4
and0.1.1-beta.1
. In both cases I have been using corev0.0.32-alpha2
.It appears as though this might be due to the status of networking support? These are the results I'm getting:
With
n3h
network configuration provided toConfig.genConfig
and using"n3h": "github:holochain/n3h#0.0.20-alpha"
as a dependency, I get an internal crash:With
lib3h
orwebsocket
networks configured, the configuration is rejected:With
sim1h
orsim2h
networks configured, it looks like the config is rejected further down the stack:With
memory
network configured, the conductor appears unable to determine when a call through the DNA has run to completion. I just end up gettingzome call timed out after 90 seconds on conductor 'alice'
and a failure of the first request in the test scenario. When I enable detailed logging, it looks as though it's looping infinitely through this sequence:...from here, it starts back at
net_worker_thread/puid-5-2f
attempting to resolve forLib3hUri("transportid:HcMcJmwRIZE33p6vee3cXt99rPGUPzospf7cBvn8aarb3znyFx6dNpmVH54tigz")
. To me that seems indicative of gossip payloads endlessly cycling back and forth, and never being interpreted as final?So I guess sub-questions for this issue are:
The text was updated successfully, but these errors were encountered: