Comments (3)
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.
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.
Done.
from ergo.
Related Issues (20)
- GitHub actions fail on all platforms due to integration E2E tests HOT 1
- Unittest `TestDecodeFragment` occasionally fails
- i found rpc:call from erlang to ergo is not working HOT 2
- Ergo receives DIST packet along with the HANDSHAKE final packet. HOT 1
- Second CallRPC method is stuck when it is called against remote erlang node HOT 3
- Does Ergo have a plan to support OTP25/OTP26? HOT 1
- how to use simple_one_for_one under supervisor tree HOT 4
- Panic invalid memory address after reconnect a node HOT 6
- bug for deleteProcess HOT 3
- bug for (*process).UnregisterName HOT 2
- I doubt benchmarks be fair !!! HOT 3
- How to change Logger HOT 2
- gen.TcpHandle Question HOT 10
- When I close it frequently, there will be an unrecoverable panic. HOT 3
- Increase test coverage to 80% HOT 2
- node link problem? How to find HOT 8
- node link problem? HOT 2
- Support for Erlang/OTP 26 HOT 1
- Node.Stop () and node.Wait () will immediately end the process HOT 2
- PoolBehavior does not add restarted process to pool.monitors HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ergo.