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

endo daemon hung when using TCP #2249

Open
dckc opened this issue Apr 29, 2024 · 0 comments
Open

endo daemon hung when using TCP #2249

dckc opened this issue Apr 29, 2024 · 0 comments
Labels
bug Something isn't working daemon Issues pertaining the the pet dæmon 🐈‍⬛ metamask

Comments

@dckc
Copy link
Collaborator

dckc commented Apr 29, 2024

Describe the bug

@kriskowal and I were experimenting with tcp-netstring.js and such and the daemon hung occasionally.

Steps to reproduce

I'm not sure exactly.

One hypothesis from @kriskowal : Seems to occur after restart, like there’s an EADDRINUSE dying silently somewhere (or in the tcp worker log)
And that might be preventing reviveNetworks from progressing

some steps leading up to it:

$ endo store --text 127.0.0.1:8921 --name tcp-netstring-json-captp0-host-port
$ endo make --UNCONFINED ~/endo/packages/daemon/src/networks/tcp-netstring.js --powers AGENT --name tcp
Object [Alleged: TcpNetstringService] {}
$ endo mv tcp NETS.tcp

where endo mv was more like endo eval "E(NETS).write('tcp', tcp')" tcp

Expected behavior

daemon doesn't hang, even when using TCP

Platform environment

endo version:

2024-04-25 14:29 2afacc5 feat(cli): Expand options for storing values (#2237)

linux. node 18.

Additional context

see also related discussion

@dckc dckc added the bug Something isn't working label Apr 29, 2024
@kriskowal kriskowal added metamask daemon Issues pertaining the the pet dæmon 🐈‍⬛ labels Apr 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working daemon Issues pertaining the the pet dæmon 🐈‍⬛ metamask
Projects
None yet
Development

No branches or pull requests

2 participants