Connection Issues FAQ
Troubleshooting guide for ERP connection problems.
Connection Test Failures
Section titled “Connection Test Failures”Q: Connection test fails with “Connection refused”
Section titled “Q: Connection test fails with “Connection refused””A: The ERP server is not accepting connections.
Check:
- ERP server is running
- Correct hostname/IP address
- Correct port number
- Firewall allows outbound connection
Q: Connection test times out
Section titled “Q: Connection test times out”A: Network path to ERP is blocked or slow.
Try:
- Ping the ERP server from TaprNext host
- Check firewall rules
- Verify VPN connection (if required)
- Increase timeout setting
Q: Connection works sometimes, fails other times
Section titled “Q: Connection works sometimes, fails other times”A: Intermittent network or load issues.
Check:
- Network stability
- ERP server load/availability
- Rate limiting on ERP API
- Token expiration timing
Authentication Errors
Section titled “Authentication Errors”Q: Getting 401 Unauthorized errors
Section titled “Q: Getting 401 Unauthorized errors”A: Credentials are invalid or expired.
For API key auth:
- Verify API key is correct
- Check key hasn’t been revoked
- Generate new key if needed
For OAuth:
- Re-authorize the connection
- Check token hasn’t expired
- Verify OAuth app is still authorized
Q: Getting 403 Forbidden errors
Section titled “Q: Getting 403 Forbidden errors”A: User lacks permissions.
Check in ERP:
- User has API access
- User can create/post invoices
- Required scopes are granted
For D365:
- Verify app registration has correct API permissions
- Check security roles assigned
For SAP:
- Verify communication user authorization
- Check business partner permissions
Q: Credentials work in ERP but not in TaprNext
Section titled “Q: Credentials work in ERP but not in TaprNext”A: Different authentication method or missing configuration.
Verify:
- Using correct auth type (API key vs OAuth)
- All required fields are filled
- No extra spaces in credentials
- Correct API endpoint URL
SSL/TLS Problems
Section titled “SSL/TLS Problems”Q: “SSL certificate verification failed”
Section titled “Q: “SSL certificate verification failed””A: Certificate issue on ERP server.
Check:
- Certificate is not expired
- Certificate matches hostname
- Certificate chain is complete
For self-signed certs:
- Export the certificate
- Add to TaprNext trusted certificates
- Or disable verification (not recommended for production)
Q: “TLS handshake failed”
Section titled “Q: “TLS handshake failed””A: TLS version mismatch.
Check:
- ERP supports TLS 1.2 or higher
- No cipher suite conflicts
- Network device not intercepting
Firewall and Network Issues
Section titled “Firewall and Network Issues”Q: Can connect from browser but not from TaprNext
Section titled “Q: Can connect from browser but not from TaprNext”A: Server-side firewall or network configuration.
Check:
- TaprNext server IP is whitelisted
- Outbound ports are open (443, 8080, etc.)
- No proxy blocking connection
- VPN requirements met
Q: Connection works locally but not in production
Section titled “Q: Connection works locally but not in production”A: Different network configuration.
Compare:
- DNS resolution
- Firewall rules
- Proxy settings
- VPN/tunnel requirements
Credential Rotation
Section titled “Credential Rotation”Q: How often should I rotate API keys?
Section titled “Q: How often should I rotate API keys?”A: Follow your security policy, typically:
- Every 90 days for production
- Immediately if compromised
- After personnel changes
Q: How to rotate without downtime?
Section titled “Q: How to rotate without downtime?”A:
- Generate new credentials in ERP
- Update TaprNext settings
- Test connection
- Revoke old credentials
Q: OAuth token keeps expiring
Section titled “Q: OAuth token keeps expiring”A: Refresh token may be invalid.
Try:
- Disconnect and reconnect OAuth
- Re-authorize with fresh consent
- Check OAuth app configuration
Testing Connections
Section titled “Testing Connections”Quick Test Checklist
Section titled “Quick Test Checklist”- Basic connectivity — Can you reach the ERP URL in a browser?
- Authentication — Do credentials work directly against ERP API?
- Permissions — Can the user create invoices in ERP directly?
- Network path — Are there firewalls, proxies, or VPNs in the way?
Connection Test in TaprNext
Section titled “Connection Test in TaprNext”- Navigate to Tapr Settings > ERP Connection
- Click Test Connection
- Review results:
- ✓ Connected successfully
- ✗ Error message with details
Related
Section titled “Related”- Error reference - Full error catalog
- ERPNext connection - ERPNext setup
- D365 connection - D365 setup