Skip to content
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

auth failure: secret conn failed when attempting to connect to mocha-4 peers #349

Closed
rootulp opened this issue Sep 14, 2023 · 3 comments
Closed

Comments

@rootulp
Copy link
Collaborator

rootulp commented Sep 14, 2023

Context

I'm trying to run a mocha-4 consensus node. I'm using the persistent peers at https://github.com/celestiaorg/networks/blob/master/mocha-4/peers.txt

Problem

I'm observing

3:53PM INF Error reconnecting to peer. Trying again addr={"id":"f9e950870eccdb40e2386896d7b6a7687a103c99","ip":"88.99.219.120","port":43656} err="auth failure: secret conn failed: read tcp 10.239.124.37:64815->88.99.219.120:43656: i/o timeout" module=p2p tries=12
3:53PM INF Ensure peers module=pex numDialing=1 numInPeers=0 numOutPeers=0 numToDial=9
3:53PM INF Error reconnecting to peer. Trying again addr={"id":"34499b1ac473fbb03894c883178ecc83f0d6eaf6","ip":"64.227.18.169","port":26656} err="auth failure: secret conn failed: read tcp 10.239.124.37:64816->64.227.18.169:26656: i/o timeout" module=p2p tries=6
3:53PM INF Error reconnecting to peer. Trying again addr={"id":"43e9da043318a4ea0141259c17fcb06ecff816af","ip":"141.94.73.39","port":43656} err="auth failure: secret conn failed: read tcp 10.239.124.37:64820->141.94.73.39:43656: i/o timeout" module=p2p tries=6
@rootulp
Copy link
Collaborator Author

rootulp commented Sep 14, 2023

Update: my mocha-4 consensus node was eventually able to connect to a peer and start syncing so this isn't blocking me.

@Bidon15
Copy link
Member

Bidon15 commented Sep 19, 2023

Thanks for opening the issue! I experienced the same when doing my tests on mocha-4
I think we just need more peers to connect to otherwise smt like this will continue in the future.

rootulp added a commit to celestiaorg/celestia-app that referenced this issue Oct 20, 2023
Closes #2619

## Description

Adds a new command to celestia-appd called `addrbook`.

```
./build/celestia-appd addrbook --help

Convert a list of peers into an address book.
The first argument (peers.txt) should contain a new line separated list of peers. The format for a peer is `id@ip:port` or `id@domain:port`.
The second argument (addrbook.json) should be the output filename. The address book is saved to the output file in JSON format.

Usage:
  celestia-appd addrbook peers.txt addrbook.json [flags]
```

## Testing

I was able to run a node on arabica-10 with an `addrbook.json` that was
created from
[arabica-10/peers.txt](https://github.com/celestiaorg/networks/blob/master/arabica-10/peers.txt).
Note, testing failed on mocha-4 due to
celestiaorg/networks#349
rootulp added a commit to rootulp/celestia-app that referenced this issue Oct 31, 2023
…g#2623)

Closes celestiaorg#2619

## Description

Adds a new command to celestia-appd called `addrbook`.

```
./build/celestia-appd addrbook --help

Convert a list of peers into an address book.
The first argument (peers.txt) should contain a new line separated list of peers. The format for a peer is `id@ip:port` or `id@domain:port`.
The second argument (addrbook.json) should be the output filename. The address book is saved to the output file in JSON format.

Usage:
  celestia-appd addrbook peers.txt addrbook.json [flags]
```

## Testing

I was able to run a node on arabica-10 with an `addrbook.json` that was
created from
[arabica-10/peers.txt](https://github.com/celestiaorg/networks/blob/master/arabica-10/peers.txt).
Note, testing failed on mocha-4 due to
celestiaorg/networks#349
@rootulp
Copy link
Collaborator Author

rootulp commented Nov 6, 2023

Closing this b/c the issue doesn't have any actionable proposal. Please re-open if you have any suggestions.

@rootulp rootulp closed this as not planned Won't fix, can't repro, duplicate, stale Nov 6, 2023
0xchainlover pushed a commit to celestia-org/celestia-app that referenced this issue Aug 1, 2024
Closes celestiaorg/celestia-app#2619

## Description

Adds a new command to celestia-appd called `addrbook`.

```
./build/celestia-appd addrbook --help

Convert a list of peers into an address book.
The first argument (peers.txt) should contain a new line separated list of peers. The format for a peer is `id@ip:port` or `id@domain:port`.
The second argument (addrbook.json) should be the output filename. The address book is saved to the output file in JSON format.

Usage:
  celestia-appd addrbook peers.txt addrbook.json [flags]
```

## Testing

I was able to run a node on arabica-10 with an `addrbook.json` that was
created from
[arabica-10/peers.txt](https://github.com/celestiaorg/networks/blob/master/arabica-10/peers.txt).
Note, testing failed on mocha-4 due to
celestiaorg/networks#349
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants