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
Does not work with OTP/23's updated node communication set up #67
Comments
Hi,
I’m not using elixir, so I don’t know if it’s any difference in how connections are made. What versions are you using?
/J
… On 4 Jul 2020, at 22:53, Robert Yost ***@***.***> wrote:
Hello, I just came across this project and am looking to use it for something I'm working on but I can't seem to get any of the examples working. When I try running example 10, through make example10a and then make example10b in another terminal tab, I get this error on the elixir side:
16:52:10.878 [error] ** ***@***.***": Connection attempt to node ***@***.***" aborted since it cannot handle ['BIG_CREATION'].**
I've tried looking around on the internet for this issue but wasn't able to find anything describing this issue.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Here's the output of
So Elixir 1.10.3 and Erlang/OTP 23 |
Hello, I did a little bit of experimenting and it looks like it is due to an issue with OTP/23. I tried installing OTP/21 and running through the same test (python example 01 and then |
Apparently something changed in the Node communication setup, we need to track down what that is and adapt.
When we find it we should rename the issue or create a new one to Bette reflect the issue.
/J
… On 5 Jul 2020, at 04:19, Robert Yost ***@***.***> wrote:
Hello,
I did a little bit of experimenting and it looks like it is due to an issue with OTP/23. I tried installing OTP/21 and running through the same test (python example 01 and then ***@***.***'). in eshell) and had no issues with OTP/21 but had an issue with OTP/23 (i.e. got a pong from OTP/21, a pang from OTP/23). So I'm guessing the node connection logic between the two versions has changed and that's why I'm running into the error I'm having. This is a little bit beyond the scope of this issue, but do you have any idea what this might be? And what it would involve to have this library support OTP/23? I am willing to help with such a task.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Sure thing, I'm going to try and take a look into that in my spare time this next week. I've changed the name of the issue to more accurately reflect the problem |
I noticed this a couple months ago, with the R23 release candidates. There's a dependent PR for Term as well. |
@RobertYost I just merged @yosh PR in pyrlang and term, could you update and test if it works as expected for you know? |
I have Erlang/OTP 23 and just tested. With the latest Term build it works with the Rust native codec but without the Rust I was getting an error in the Python.
|
This is an off-by-one in the Python NEW_PID decode implementation. PR up at Pyrlang/Term#17, which includes test suite updates to catch this sort of thing. |
Quick turn around, I like it! I’m not at home so I’ve only got sporadic access to my computer, I’ll try to merge tomorrow.
/J
… On 19 Jul 2020, at 21:56, Manish Singh ***@***.***> wrote:
This is an off-by-one in the Python NEW_PID decode implementation. PR up at Pyrlang/Term#17, which includes test suite updates to catch this sort of thing.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
I tried to ping a Python node with OTP/23. @RobertYost: Were you able to ping a Python node with the code on the $ iex --sname shell
Erlang/OTP 23 [erts-11.0.2] [source] [64-bit] [smp:2:2] [ds:2:2:10] [async-threads:1] [hipe]
Interactive Elixir (1.10.3) - press Ctrl+C to exit (type h() ENTER for help)
iex(shell@myhost)1> :net_adm.ping(:py@myhost)
:pang
|
don't know how ping works, but we needed to fix since the rpc isn't the same any more. Looking into a solution so that we're backwards compatible |
@george-hopkins You're pinging the name |
@yosh Thank you! Now the communication works flawlessly. |
This works for us now anyway. Anyone else having issues with OTP23 or can I close this one? |
I'm still running into these problems with master for pyrlang-term Python implementation giving
With rust I wind up getting the same thing minus the fallback notice
On the Erlang/OTP 23 I see
|
hmm, maybe I've missed it in master. Could you try the dev_1.0 branch? |
Oh hm, it looks like I had a tag that didn't get overwritten when I tried to used master, it's working in |
well, glad it's working. I'll close this one then 😄 |
Hello, I just came across this project and am looking to use it for something I'm working on but I can't seem to get any of the examples working. When I try running example 10, through
make example10a
and thenmake example10b
in another terminal tab, I get this error on the elixir side:16:52:10.878 [error] ** :"elixir@127.0.0.1": Connection attempt to node :"py@127.0.0.1" aborted since it cannot handle ['BIG_CREATION'].**
I've tried looking around on the internet for this issue but wasn't able to find anything describing this issue. My installation of elixir came with Erlang/OTP 23, and I see in the README it only lists support up to 21, could that be an issue?
The text was updated successfully, but these errors were encountered: