Troubleshooting BozoBot
This guide helps you diagnose and resolve common issues you might encounter when using BozoBot.
Connection Issues
RPC Connection Problems
Symptoms:
- Error messages about unable to connect to RPC
- Transactions timing out
- Bot failing to start with RPC-related errors
Solutions:
- Check if your RPC endpoints are correct in the
.env
file - Try adding multiple RPC endpoints for redundancy:
RPC_ENDPOINTS=https://rpc1.example.com,https://rpc2.example.com
- Verify your internet connection
- Check if the RPC provider is experiencing downtime
- Consider switching to a premium RPC provider for better reliability
WebSocket Connection Issues
Symptoms:
- "WebSocket connection failed" errors
- Copy trading or price monitoring not working
- Events not being detected properly
Solutions:
- Ensure your
RPC_WEBSOCKET_ENDPOINT
is correctly configured - Verify the endpoint supports WebSocket connections (should start with
wss://
) - Check if your firewall allows WebSocket connections
- Try an alternative WebSocket provider
Wallet Issues
Insufficient Funds
Symptoms:
- "Insufficient funds" error messages
- Failed transactions
- Bot unable to execute trades
Solutions:
- Ensure your wallet has enough SOL for:
- The trade amount (
QUOTE_AMOUNT
) - Transaction fees (typically 0.000005-0.001 SOL per transaction)
- MEV protection fees if enabled
- The trade amount (
- Reduce your
QUOTE_AMOUNT
orMAX_OPEN_POSITIONS
- Transfer more SOL to your trading wallet
Private Key Issues
Symptoms:
- "Invalid private key" errors
- Authentication failures
- Unable to sign transactions
Solutions:
- Verify your private key is correctly formatted in the
.env
file - Ensure there are no spaces or line breaks in the private key
- Consider generating a new wallet for trading if issues persist
- Never share your private key or
.env
file with anyone
Transaction Issues
Failed Transactions
Symptoms:
- "Transaction failed" errors
- "Blockhash not found" messages
- Timeout errors when buying or selling
Solutions:
- Increase slippage tolerance:
BUY_SLIPPAGE=25
SELL_SLIPPAGE=35 - Increase priority fees:
BUY_PRIORITY_FEE=0.000250
SELL_PRIORITY_FEE=0.000250 - Try enabling MEV protection:
BUY_TRANSACTION_DISPATCHER=jito
- Increase transaction timeout:
CONFIRM_TRANSACTION_TIMEOUT_SECONDS=180
Transaction Timeouts
Symptoms:
- "Transaction confirmation timeout" errors
- Transactions getting stuck
- Long delays in trade execution
Solutions:
- Check network congestion on Solana Explorer
- Increase your priority fees to push your transactions through faster:
BUY_PRIORITY_FEE=0.000500
SELL_PRIORITY_FEE=0.000500 - Consider using a more responsive RPC endpoint
- Try enabling
SKIP_PREFLIGHT=true
for faster submissions
Mode-Specific Issues
Sniffer Mode Problems
Symptoms:
- Not detecting tokens in channels
- Authentication issues with Telegram
- Error accessing Telegram channels
Solutions:
- Verify your Telegram session is valid
- Ensure you're subscribed to the channels you're monitoring
- Check channel IDs are correct in
TELEGRAM_IDS_TO_SNIFF
- Increase check interval if rate-limited:
TELEGRAM_CHECK_INTERVAL_MS=3000
- For Discord, verify your authentication token is valid
Copy Trading Issues
Symptoms:
- Not detecting trades from target wallets
- Delayed copying of transactions
- Missed transactions
Solutions:
- Verify wallet addresses in
COPY_TRADE_WALLETS
are correct - Set up gRPC for faster detection:
GRPC_ENDPOINT=your_grpc_endpoint
GRPC_KEY=your_grpc_key - Ensure
COPY_TRADE_PROCESS_SAME_TOKEN_EVERY_SECONDS
isn't too high - Check if the target wallets are still active
Liquidity Sniping Issues
Symptoms:
- Missing token launches
- Errors about pool not found
- Buying tokens that don't meet criteria
Solutions:
- Verify your filter settings aren't too restrictive
- Increase priority fees for faster execution:
BUY_PRIORITY_FEE=0.000350
- If using snipe list, check addresses are correct
- Try lowering
SKIP_IF_MINTED_SECONDS_AGO
to catch newer tokens
Filter Issues
Token Filtering Too Strict
Symptoms:
- Bot not buying any tokens despite available opportunities
- "Token doesn't meet criteria" messages
Solutions:
- Loosen social filter requirements:
HAS_ANY_SOCIAL=false
HAS_TELEGRAM=false
HAS_TWITTER=false
HAS_WEBSITE=false - Reduce minimum liquidity requirements:
MIN_SOL_IN_POOL=3
- Disable security checks temporarily to test:
CHECK_RENOUNCED_AND_FREEZABLE=false
Token Filtering Too Loose
Symptoms:
- Buying too many low-quality tokens
- High rate of losses
- Buying obvious scam tokens
Solutions:
- Increase social requirements:
HAS_ANY_SOCIAL=true
- Increase minimum liquidity:
MIN_SOL_IN_POOL=10
- Enable all security checks:
CHECK_RENOUNCED_AND_FREEZABLE=true
CHECK_MUTABLE=true
System Issues
High CPU/Memory Usage
Symptoms:
- System becoming unresponsive
- Bot crashing due to resource limits
- Slow performance
Solutions:
- Reduce the number of monitored channels or wallets
- Increase check intervals to reduce frequency of operations
- Close other resource-intensive applications
- Consider running on a dedicated server or VPS
Log File Growing Too Large
Symptoms:
- Disk space warnings
- Slow file operations
- System performance degradation
Solutions:
- Set up log rotation (see Running 24/7 AFK guide)
- Reduce log verbosity:
LOG_LEVEL=info
- Periodically clear old log files
- Redirect output to /dev/null if logs aren't needed:
./bozobot > /dev/null 2>&1
Feature-Specific Issues
Stop Loss/Take Profit Not Triggering
Symptoms:
- Positions not being sold at configured levels
- Trading levels appear to be ignored
Solutions:
- Verify your
TRADING_LEVELS
format is correct:TRADING_LEVELS=-30%:100%,40%:100%
- Ensure your
CHECK_PRICE_INTERVAL_SECONDS
isn't too high - Check logs to see if levels are being detected but transactions are failing
- Verify there's enough liquidity for the token to execute sells
MEV Protection Not Working
Symptoms:
- Still experiencing front-running
- No indication of protected transactions in logs
- Errors about MEV services
Solutions:
- Check if your
BUY_PRIORITY_FEE
andSELL_PRIORITY_FEE
are sufficient - Verify you're using the correct dispatcher:
BUY_TRANSACTION_DISPATCHER=jito
SELL_TRANSACTION_DISPATCHER=jito - For Bloxroute, verify your API key is correct
- Try an alternative MEV protection service
Recovering from Crashes
If BozoBot crashes or stops unexpectedly:
- Check the log files for error messages
- Fix any configuration issues identified in the logs
- Restart the bot:
./bozobot
- Consider setting up auto-restart mechanisms (see Running 24/7 AFK)
Getting Help
If you're still experiencing issues after following this troubleshooting guide:
- Review your log files for specific error messages
- Check for recent updates or known issues
- Reach out to the community on our Discord server
- Provide detailed information about your issue, including:
- Error messages
- Your configuration (with private keys removed)
- Steps to reproduce the problem
- System specifications