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

add instructions / debugging / troubleshooting markdown file #137

Open
Tracked by #18
SgtPooki opened this issue Aug 1, 2024 · 6 comments
Open
Tracked by #18

add instructions / debugging / troubleshooting markdown file #137

SgtPooki opened this issue Aug 1, 2024 · 6 comments

Comments

@SgtPooki
Copy link
Member

SgtPooki commented Aug 1, 2024

No description provided.

@SgtPooki
Copy link
Member Author

SgtPooki commented Aug 1, 2024

how to get healthcheck info:

> docker inspect --format "{{json .State.Health }}" $(docker container ls  | grep 'amino' | awk '{print $1}') | jq

# ...
      "Output": "Could not convert input into PeerId\nfile:///app/node_modules/libp2p/dist/src/connection-manager/dial-queue.js:329\n            throw new CodeError('The dial request has no valid addresses', codes.ERR_NO_VALID_ADDRESSES);\n                  ^\n\nCodeError: The dial request has no valid addresses\n    at DialQueue.calculateMultiaddrs (file:///app/node_modules/libp2p/dist/src/connection-manager/dial-queue.js:329:19)\n    at async queue.add.peerId.peerId [as fn] (file:///app/node_modules/libp2p/dist/src/connection-manager/dial-queue.js:139:31)\n    at async raceSignal (file:///app/node_modules/race-signal/dist/src/index.js:28:16)\n    at async Job.run (file:///app/node_modules/@libp2p/utils/dist/src/queue/job.js:57:28) {\n  code: 'ERR_NO_VALID_ADDRESSES',\n  props: {}\n}\n\nNode.js v20.16.0\n"
    },
# ...

@SgtPooki
Copy link
Member Author

SgtPooki commented Aug 2, 2024

view logs:

> docker logs $(docker container ls  | grep 'amino' | awk '{print $1}')
Enabling Kademlia DHT
Enabling Autonat
libp2p is running
PeerId 12D3KooWLYqka3mmc71uvB2TbCVpTF8dVUbgcYyjDd8UWPdxBPtn
Metrics server listening 0.0.0.0:8888/metrics
Metrics server listening 0.0.0.0:8899

libp2p listening on:
/ip4/147.75.198.229/tcp/4003/ws/p2p/12D3KooWLYqka3mmc71uvB2TbCVpTF8dVUbgcYyjDd8UWPdxBPtn
/ip4/147.75.198.229/tcp/4001/p2p/12D3KooWLYqka3mmc71uvB2TbCVpTF8dVUbgcYyjDd8UWPdxBPtn

@SgtPooki
Copy link
Member Author

SgtPooki commented Aug 2, 2024

start fresh, with all docker compose images: docker compose --profile dashboard up --force-recreate -d

@SgtPooki

This comment was marked as resolved.

@SgtPooki

This comment was marked as resolved.

@SgtPooki

This comment was marked as resolved.

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

1 participant