Giter Club home page Giter Club logo

Comments (3)

ziyouchutuwenwu avatar ziyouchutuwenwu commented on May 13, 2024 1

test code

https://github.com/halturin/ergonode/blob/master/examples/gonode.go

run go app from shell

./my_app -cookie 123 -epmd_port 12321 -trace.node -trace.dist

log from golang console

017/10/14 22:35:55 Start with name '[email protected]' and cookie '123'
2017/10/14 22:35:55 Read from EPMD 4: [121 0 0 2]
2017/10/14 22:35:55 From EPMD: [121 0 0 2]
2017/10/14 22:35:55 NET_KERNEL: Init: []interface {}(nil)
2017/10/14 22:35:55 GLOBAL_NAME_SERVER: Init: []interface {}(nil)
2017/10/14 22:35:55 REX: Init: []interface {}(nil)
2017/10/14 22:35:55 Provide: rpc:call (ergonode.rpcFunction)(0x111b420)
Allowed commands...
gen_server:cast({examplegs,'[email protected]'}, stop).
gen_server:call({examplegs,'[email protected]'}, pid).
gen_server:cast({examplegs,'[email protected]'}, {ping, self()}), flush().
make remote call by golang node...
gen_server:call({examplegs,'[email protected]'}, {testcall, {Pid, Message}}).
gen_server:call({examplegs,'[email protected]'}, {testcall, {{pname, remotenode}, Message}}).

run connect from erlang shell

net_adm:ping('[email protected]').

fail info from erlang shell

pang

=ERROR REPORT==== 14-Oct-2017::22:36:10 ===
** '[email protected]': Connection attempt to node '[email protected]' aborted since it cannot handle ["UTF8_ATOMS"].**

go app log after erlang node try to connect

2017/10/14 22:36:10 Accepted new connection from 127.0.0.1:55567
2017/10/14 22:36:10 d# Read from enode 21: [110 0 5 0 7 127 253 114 105 99 111 64 49 50 55 46 48 46 48 46 49]
2017/10/14 22:36:10 d# Write to enode: [0 3 115 111 107]
2017/10/14 22:36:10 d# Write to enode: [0 32 110 0 5 0 0 113 69 65 198 28 181 101 120 97 109 112 108 101 110 111 100 101 64 49 50 55 46 48 46 48 46 49]
2017/10/14 22:36:10 Node terms: []etf.Term(nil)
2017/10/14 22:36:10 Enode error (reading): EOF

from ergo.

halturin avatar halturin commented on May 13, 2024

Hi

could you please run the node with enabled debug information like this

./gonode -cookie 123 -epmd_port 12321 -trace.node -trace.dist

and show me the log.

from ergo.

halturin avatar halturin commented on May 13, 2024

Done.

from ergo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.