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

R and rust kernels show up as unresponsive #73

Open
cvaske opened this issue Apr 3, 2024 · 0 comments
Open

R and rust kernels show up as unresponsive #73

cvaske opened this issue Apr 3, 2024 · 0 comments

Comments

@cvaske
Copy link
Contributor

cvaske commented Apr 3, 2024

Using the default R and rust kernels, runtimed will not report the kernels as "alive" always reports "unresponsive" For example:

╭─────────────┬──────────┬──────────────────────────────────────┬───────────┬───────────┬──────────────╮
│ Kernel Name │ Language │ ID                                   │ IP        │ Transport │ State        │
├─────────────┼──────────┼──────────────────────────────────────┼───────────┼───────────┼──────────────┤
│ py3.11      │ python   │ 6678141b-77c2-551e-81d7-7786bafb42bc │ 127.0.0.1 │ tcp       │ alive        │
│ rust        │ unknown  │ 24b212e1-a4a4-5dfe-b518-556926ed290b │ 127.0.0.1 │ tcp       │ unresponsive │
│ ir          │ unknown  │ 477a0c93-2311-5065-8f3a-5f6ecde3fdea │ 127.0.0.1 │ tcp       │ unresponsive │
│ py3.11      │ python   │ 3581d36e-9c0a-529f-b362-7d0a65e71b5a │ 127.0.0.1 │ tcp       │ alive        │
╰─────────────┴──────────┴──────────────────────────────────────┴───────────┴───────────┴──────────────╯

The rust kernel will report this error message whenever runtimed tries to check it's status:

[/Users/cvaske/.cargo/registry/src/index.crates.io-6f17d22bba15001f/zeromq-0.3.4/src/pub.rs:130:33] e = Io(
    Os {
        code: 54,
        kind: ConnectionReset,
        message: "Connection reset by peer",
    },
)

which indicates that perhaps both the R and rust kernels are using zeromq messaging slightly differently than Python kernels.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant