Skip to main content

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

· 3 min read

If you’re having trouble getting Gunbot to connect to your cryptocurrency exchange, don’t worry—this is a common issue with solutions at hand. Below is a step-by-step guide to diagnose and resolve these connection problems.

Preliminary Checks: API Key and Secret

Start by ensuring your API credentials are correct. Small errors, like an accidental space before or after your API key or secret, can lead to connection failures. Here’s how to check:

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

A successful connection requires accuracy, so it’s worth re-verifying this detail.

Time Synchronization Issues

An unsynchronized system clock is a frequent cause of connectivity problems with exchanges. Here’s how to ensure your computer’s time is synced:

  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.

Clock discrepancies can disrupt API communications, so this step is essential.

Security and IP Address Settings

Many exchanges have security features that restrict API access based on IP addresses. Check if IP whitelisting is enabled on your exchange:

  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.

This step can prevent Gunbot from being inadvertently blocked by the exchange.

Further Troubleshooting Steps

If the previous steps haven’t resolved the issue, consider the following advanced troubleshooting:

1. Check Exchange Status

Occasionally, exchanges experience downtime or have maintenance that affects API access. Check the exchange’s status page or social media channels to see if there are any known issues.

2. Review API Permissions

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

  • 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.

This can often be verified by temporarily disabling your firewall and checking if Gunbot can then connect (remember to re-enable it afterward).

Conclusion

Following these steps should resolve most connection issues between Gunbot and your cryptocurrency exchange. If problems persist, consider reaching out to the Gunbot support team for further assistance.