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
"bug": Using ipfs ping --enc=json --count=1 QmRZq4kheCH3R4NHjeJpd5b17JkRdDSBTYMLtuYtjjfxxx
(changed PID)
Description:
Testing the output and function of ipfs ping
Example: ipfs ping --enc=json --count=1 QmRZq4kheCH3R4NHjeJpd5b17JkRdDSBTYMLtuYtjjfxxx
Ping Scenario: (2 Nodes)
One Node pings the second node (QmRZq4kheCH3R4NHjeJpd5b17JkRdDSBTYMLtuYtjjfxxx) within the same network:
(Both nodes are "online") ipfs ping --enc=json --count=1 QmRZq4kheCH3R4NHjeJpd5b17JkRdDSBTYMLtuYtjjfxxx
Output:
{"Success":true,"Time":0,"Text":"PING QmRZq4kheCH3R4NHjeJpd5b17JkRdDSBTYMLtuYtjjfxxx."}
{"Success":true,"Time":144643541,"Text":""}
{"Success":true,"Time":0,"Text":"Average latency: 144.64ms"}
-> ok
Now switch off the second node from network: (wait 2-3 sec) ipfs ping --enc=json --count=1 QmRZq4kheCH3R4NHjeJpd5b17JkRdDSBTYMLtuYtjjfxxx
Output:
{"Success":true,"Time":0,"Text":"PING QmRZq4kheCH3R4NHjeJpd5b17JkRdDSBTYMLtuYtjjfxxx."}
{"Success":true,"Time":0,"Text":"Average latency: 0.00ms"}
-> Issue is here, reported as success (maybe only an issue of evaluating the result)
Some seconds later: (node 2 still not connected)
ipfs ping --enc=json --count=1 QmRZq4kheCH3R4NHjeJpd5b17JkRdDSBTYMLtuYtjjfxxx
{"Success":true,"Time":0,"Text":"PING QmRZq4kheCH3R4NHjeJpd5b17JkRdDSBTYMLtuYtjjfxxx."}
{"Success":false,"Time":0,"Text":"Ping error: context deadline exceeded"}
-> all fine
The text was updated successfully, but these errors were encountered:
Version information:
Type: Release 0.4.20
ipfs ping --enc=json --count=1 QmRZq4kheCH3R4NHjeJpd5b17JkRdDSBTYMLtuYtjjfxxx
(changed PID)
Description:
Testing the output and function of ipfs ping
Example:
ipfs ping --enc=json --count=1 QmRZq4kheCH3R4NHjeJpd5b17JkRdDSBTYMLtuYtjjfxxx
Ping Scenario: (2 Nodes)
One Node pings the second node (QmRZq4kheCH3R4NHjeJpd5b17JkRdDSBTYMLtuYtjjfxxx) within the same network:
(Both nodes are "online")
ipfs ping --enc=json --count=1 QmRZq4kheCH3R4NHjeJpd5b17JkRdDSBTYMLtuYtjjfxxx
Output:
Now switch off the second node from network: (wait 2-3 sec)
ipfs ping --enc=json --count=1 QmRZq4kheCH3R4NHjeJpd5b17JkRdDSBTYMLtuYtjjfxxx
Output:
Some seconds later: (node 2 still not connected)
The text was updated successfully, but these errors were encountered: