Frequently Asked Questions (FAQs)
CLI Issues
For all CLI-related problems (authentication, installation, rate limits, connection issues), please refer to the comprehensive FAQ in the CLI repository:
👉 mump2p CLI FAQ & Troubleshooting
It includes detailed troubleshooting for:
- Authentication and login problems
- Installation issues across different operating systems
- Rate limiting and usage issues
- Service URL and connectivity problems
- Common syntax and usage errors
Docker Setup Issues
Identity Generation Problems
Q: docker run ... generate-key
command doesn't work
A: Use the identity generation script instead:
curl -sSL https://raw.githubusercontent.com/getoptimum/optimum-dev-setup-guide/main/script/generate-identity.sh | bash
This generates p2p.key
and exports BOOTSTRAP_PEER_ID
automatically.
Container Startup Issues
Q: Containers fail to start or can't connect to each other
A: Common fixes:
- Check Docker images: Use correct versions (
getoptimum/proxy:v0.0.1-rc3
,getoptimum/p2pnode:v0.0.1-rc2
) - Network conflicts: Change subnet in docker-compose if
172.28.0.0/16
conflicts - Port conflicts: Ensure ports 8080, 8081, 33221, 9091, 7071 are available
- Platform issues: Add
platform: linux/amd64
for M1 Macs
Q: "Connection refused" when clients try to connect
A: Verify:
- Containers are running:
docker ps
- Ports are properly mapped in docker-compose
- No firewall blocking connections
- Using correct service URLs (localhost:8080 for proxy, localhost:33221 for direct P2P)
gRPC Client Issues
Q: gRPC client gets "connection refused" or timeout errors
A: Check:
Containers are running:
docker ps
to verify proxy and p2pnode containers are upCorrect ports: Proxy gRPC on
localhost:50051
, P2P sidecar onlocalhost:33221
Use latest client examples: Reference
optimum-dev-setup-guide/docs/guide.md#grpc-proxy-client-implementation
Q: Getting "method not found" or protobuf errors
A: Use the correct protobuf definitions from optimum-dev-setup-guide/docs/guide.md
:
- See the API Reference section for complete protobuf definitions
- All proto files are available in the repository's
grpc_*_client/proto/
directories:
Development Issues
Q: Go client code compilation errors
A: Use the exact Go versions and dependencies from optimum-dev-setup-guide/docs/guide.md
:
- See the Client Tools section for complete examples
- All go.mod files and dependencies are available in the repository's
grpc_*_client/
directories:
Q: Code examples don't work as expected
A: All examples are tested against optimum-dev-setup-guide/docs/guide.md
. Check:
- Environment variables are set correctly
- Docker containers are running
- Using the latest example code from the repository
General Troubleshooting
First Steps
When something doesn't work:
- Check container logs:
docker logs <container-name>
- Verify network connectivity:
docker network ls
anddocker network inspect
- Test basic connectivity:
curl http://localhost:8080/health
- Check authentication:
mump2p whoami
- Verify versions: Use latest CLI and Docker images
Getting Help
- CLI Issues: mump2p-cli FAQ
- Setup Issues: Check
optimum-dev-setup-guide/docs/guide.md
- Protocol Questions: See OptimumP2P Documentation