You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a relay node setup and everything works as expected, however when I check the debugging logs I keep getting the following error:
libp2p:connection-manager dial QmRLoXS3E73psYaUsma1VSbboTa2J8Z9kso1tpiGLk9WQ4 +1ms
libp2p:connection-manager:dial-queue:error error during dial of /ip4/10.29.111.57/tcp/37465/ws/p2p/QmRLoXS3E73psYaUsma1VSbboTa2J8Z9kso1tpiGLk9WQ4/p2p-circuit/p2p/12D3KooWEJwR9sLYvvEmuncxm6cBvbEYLLinS71accCznBeAaUY2 CodeError: Tried to dial self
at DialQueue.calculateMultiaddrs (file:///home/nf/Blockchain/smoothly_protocol/relay/node_modules/libp2p/dist/src/connection-manager/dial-queue.js:202:23)
at DialQueue.dial (file:///home/nf/Blockchain/smoothly_protocol/relay/node_modules/libp2p/dist/src/connection-manager/dial-queue.js:126:38)
at DefaultConnectionManager.openConnection (file:///home/nf/Blockchain/smoothly_protocol/relay/node_modules/libp2p/dist/src/connection-manager/index.js:310:49)
at CircuitRelayTransport.dial (file:///home/nf/Blockchain/smoothly_protocol/relay/node_modules/libp2p/dist/src/circuit-relay/transport/index.js:127:60)
at async DefaultTransportManager.dial (file:///home/nf/Blockchain/smoothly_protocol/relay/node_modules/libp2p/dist/src/transport-manager.js:82:20)
at async queue.add (file:///home/nf/Blockchain/smoothly_protocol/relay/node_modules/libp2p/dist/src/connection-manager/dial-queue.js:333:42)
at async file:///home/nf/Blockchain/smoothly_protocol/relay/node_modules/p-queue/dist/index.js:118:36 {
code: 'ERR_DIALED_SELF',
props: {}
This would happen if all dials go through the relay node, if the intention is strictly to have this node act as a relay, then you don't need to have the circuitRelayTransport transport but rather just as a relay server where other nodes would dial this to make and accept relayed connections.
maschad
added a commit
to maschad/js-libp2p
that referenced
this issue
Jul 29, 2023
Version:
"^0.45.4"
Platform:
Linux archbox 5.16.2-arch1-1 We are renaming the prefix of our JavaScript modules from 'node-' to 'js-' #1 SMP PREEMPT Thu, 20 Jan 2022 16:18:29 +0000 x86_64 GNU/Linux
Subsystem:
Relay
Severity:
Low
Description:
I have a relay node setup and everything works as expected, however when I check the debugging logs I keep getting the following error:
relay node id: QmRLoXS3E73psYaUsma1VSbboTa2J8Z9kso1tpiGLk9WQ4
I assume that this is because all dials go through the relay node, but is this an expected behavior?
Steps to reproduce the error:
This is the relay node config:
The text was updated successfully, but these errors were encountered: