Error: "Failed to connect to Flash API"
Solutions:
- Verify API token is correct
- Check internet connectivity
- Ensure Flash API is accessible
- Try regenerating API token in Flash app
Error: "Invoice shows unpaid after payment"
Solutions:
- Check WebSocket connection status in logs
- Verify wallet has sufficient balance
- Ensure invoice hasn't expired
- Check Flash app for payment status
Error: "Card tap not recognized"
Solutions:
- Ensure NFC plugin is installed
- Verify card is properly programmed
- Check NFC reader compatibility
- Test with Flash mobile app
Error: "Invalid amount" or conversion errors
Solutions:
- Ensure USD wallet exists in Flash account
- Check minimum amount (1 cent USD)
- Verify exchange rate service is running
- Check for API rate limits
Error: "WebSocket connection lost"
Solutions:
- Check network stability
- Review firewall settings
- Verify WebSocket endpoints are accessible
- Check for proxy/reverse proxy configuration issues
Enable detailed logging:
- Edit
appsettings.json:
{
"Logging": {
"LogLevel": {
"BTCPayServer.Plugins.Flash": "Debug"
}
}
}-
Restart BTCPayServer
-
Check logs for detailed error messages
Successful connection:
Flash Lightning client connected successfully
WebSocket connection established
Payment received:
Invoice [hash] marked as paid
Payment of [amount] sats received
Connection issues:
Failed to connect to Flash API: [error]
WebSocket reconnection attempt [n]
- Check WebSocket connection health
- Verify server resources (CPU, RAM)
- Review network latency to Flash API
- Check for rate limiting
- Review log file sizes
- Check for memory leaks in logs
- Restart BTCPayServer service
- Monitor WebSocket connection count
- Enable debug logging (see above)
- Collect logs from the past hour
- Include details:
- BTCPayServer version
- Plugin version
- Error messages
- Steps to reproduce
- Report issue on GitHub