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 or Makefile command:
# Using Makefile (recommended)
make generate-identity
# Or using the script directly
./script/generate-identity.shThis generates ./identity/p2p.key and displays the BOOTSTRAP_PEER_ID that you need to add to your .env file.
Container Startup Issues
Q: Containers fail to start or can't connect to each other
A: Common fixes:
- Check Docker images: Use correct versions from your
.envfile (PROXY_VERSION=v0.0.1-rc16,P2P_NODE_VERSION=v0.0.1-rc16by default) - Network conflicts: Change subnet in docker-compose if
172.28.0.0/16conflicts - Port conflicts: Ensure ports 8081, 8082, 50051, 50052, 33221-33224, 9091-9094, 7071-7074 are available
- Platform issues: Add
platform: linux/amd64for M1 Macs (already included in docker-compose-optimum.yml)
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 psto verify proxy and p2pnode containers are upCorrect ports: Proxy gRPC on
localhost:50051, P2P sidecar onlocalhost:33221Use latest client examples: Reference
optimum-dev-setup-guide/docs/guide.md#grpc-proxy-client-implementationFor P2P direct client, see
grpc_p2p_client/cmd/single/main.go
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-compose -f docker-compose-optimum.yml logs <service-name>ordocker logs <container-name> - Verify network connectivity:
docker network lsanddocker network inspect optimum-dev-setup-guide_optimum-network - Test basic connectivity:
- Proxy:
curl http://localhost:8081/api/v1/health - P2P Node:
curl http://localhost:9091/api/v1/health
- Proxy:
- Check authentication:
mump2p whoami(if using CLI) - Verify versions: Check your
.envfile forPROXY_VERSIONandP2P_NODE_VERSION(default: v0.0.1-rc16) - Check service status:
docker-compose -f docker-compose-optimum.yml ps
Getting Help
- CLI Issues: mump2p-cli FAQ
- Setup Issues: Check
optimum-dev-setup-guide/docs/guide.md - Protocol Questions: See mump2p Documentation

