Skip to main content

What Should I Do If My Gunbot Is Not Connecting to the Exchange?

· 3 min read

If Gunbot is not connecting to your exchange, work through the checks below in order. Most connection issues are caused by API credential mistakes, time drift, or exchange-side security settings.

Preliminary Checks: API Key and Secret

Start by confirming your API credentials are correct. Small errors, like an accidental space before or after your API key or secret, can lead to connection failures.

  1. Carefully re-enter your API key and secret without any additional spaces.
  2. Double-check for any typos or missing characters.

Time Synchronization Issues

An unsynchronized system clock is a frequent cause of connectivity problems with exchanges.

  1. Visit time.is to compare your computer’s clock with the correct time.
  2. If there’s a noticeable difference, update your clock settings to synchronize with internet time.

Security and IP Address Settings

Many exchanges restrict API access by IP address. Check whether IP whitelisting is enabled:

  1. Log into your exchange account and go to the security settings.
  2. If IP whitelisting is enabled, ensure your current IP address is included in the allowed list.

Further Troubleshooting Steps

If the checks above don’t resolve the issue, continue with the steps below.

1. Check Exchange Status

Exchanges sometimes have downtime or maintenance that affects API access. Check the exchange’s status page or social media channels for any known issues.

2. Review API Permissions

Ensure the permissions granted to your API key match Gunbot’s requirements. Typically, you’ll need:

  • Trading: allows Gunbot to place buy and sell orders.
  • Account balance: enables Gunbot to access your balance information.

If your API key lacks these permissions, update the settings accordingly.

3. Verify Network and Firewall Settings

Firewalls or network settings on your device may be preventing Gunbot from connecting to the exchange. Check that:

  • Gunbot is allowed through any firewall.
  • Your router or ISP isn’t blocking the exchange’s IP addresses.

If needed, you can temporarily disable your firewall to test connectivity, then re-enable it afterward.

Conclusion

If these steps don’t resolve the issue, contact the Gunbot support team with details about what you’ve tried.