Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Coinbase connectivity loop disconnect

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Coinbase connectivity loop disconnect

    Can you share the states of the Coinbase connectivity? the Primary connection in the logs keeps disconnecting and reconnection here is a snippet of the logs


    2024-08-21 23:31:27:249|1|2|Coinbase: Primary connection=Connection lost, Price feed=Connection lost
    2024-08-21 23:31:29:718|1|2|Coinbase: Primary connection=Connected, Price feed=Connected
    2024-08-21 23:31:48:013|1|2|Coinbase: Primary connection=Connection lost, Price feed=Connection lost
    2024-08-21 23:31:50:533|1|2|Coinbase: Primary connection=Connected, Price feed=Connected
    2024-08-21 23:32:08:857|1|2|Coinbase: Primary connection=Connection lost, Price feed=Connection lost
    2024-08-21 23:32:11:352|1|2|Coinbase: Primary connection=Connected, Price feed=Connected
    2024-08-21 23:32:29:656|1|2|Coinbase: Primary connection=Connection lost, Price feed=Connection lost
    2024-08-21 23:32:32:154|1|2|Coinbase: Primary connection=Connected, Price feed=Connected
    2024-08-21 23:32:50:560|1|2|Coinbase: Primary connection=Connection lost, Price feed=Connection lost
    2024-08-21 23:32:53:039|1|2|Coinbase: Primary connection=Connected, Price feed=Connected
    2024-08-21 23:33:11:341|1|2|Coinbase: Primary connection=Connection lost, Price feed=Connection lost
    2024-08-21 23:33:13:837|1|2|Coinbase: Primary connection=Connected, Price feed=Connected
    2024-08-21 23:33:26:279|1|2|Coinbase: Primary connection=Connection lost, Price feed=Connection lost
    2024-08-21 23:33:28:748|1|2|Coinbase: Primary connection=Connected, Price feed=Connected


    2024-08-21 23:33:55:650 (Coinbase) Coinbase.Adapter.OnDisconnect0
    2024-08-21 23:33:55:650 (Coinbase) Coinbase.Adapter.ReceiveWebSocketMessage
    2024-08-21 23:33:55:650 (Coinbase) Coinbase.Adapter.OnDisconnect5 websocketState='Open'
    2024-08-21 23:33:55:651 (Coinbase) Coinbase.Adapter.OnDisconnect0
    2024-08-21 23:33:55:651 (Coinbase) Coinbase.Adapter.ReceiveWebSocketMessage1
    2024-08-21 23:33:56:159 (Coinbase) Cbi.Connection.ConnectionStatusCallback: status=ConnectionLost priceStatus=ConnectionLost previousStatus=Connected previousPriceStatus=Connected errorCode=NoError nativeError=''
    2024-08-21 23:33:56:159 (Coinbase) Cbi.Account.OnConnectionStatus: account='Sim101' fcm='' status=ConnectionLost previousStatus=Connected message=''
    2024-08-21 23:33:56:181 (Coinbase) NinjaTrader.Gui.ControlCenter.OnConnectionStatus: Provider25 status=ConnectionLost priceStatus=ConnectionLost previousStatus=Connected previousPriceStatus=Connected errorCode=NoError nativeError=''
    2024-08-21 23:33:56:181 (Coinbase) NinjaTrader.Gui.ControlCenter.OnConnectionStatus.D ispatcherInvoke: Provider25 status=ConnectionLost priceStatus=ConnectionLost previousStatus=Connected previousPriceStatus=Connected errorCode=NoError nativeError=''
    2024-08-21 23:33:56:182 (Coinbase) Gui.ControlCenter.OnConnectionStatus.Adding: provider=Provider25 status=ConnectionLost priceStatus=ConnectionLost
    2024-08-21 23:33:56:182 NinjaTrader.Gui.ControlCenter.OnConnectionStatus: foundPriceLoss=True foundTradeLoss=True foundConnectingStatus=False foundConnected=False
    2024-08-21 23:33:56:182 NinjaTrader.Gui.ControlCenter.OnConnectionStatus: Status=Disconnecting
    2024-08-21 23:33:58:170 (Coinbase) Coinbase.Adapter.OnDisconnect1
    2024-08-21 23:33:58:618 (Coinbase) Coinbase.Adapter.StartWebSocketSendWorker
    2024-08-21 23:33:58:619 (Coinbase) Coinbase.Adapter.StartWebSocketReceiveWorker
    2024-08-21 23:33:58:619 (Coinbase) Coinbase.Adapter.ReceiveWebSocketMessage
    2024-08-21 23:33:58:619 (Coinbase) Coinbase.Adapter.OnDisconnect4
    2024-08-21 23:33:58:619 (Coinbase) Cbi.Connection.ConnectionStatusCallback: status=Connected priceStatus=Connected previousStatus=ConnectionLost previousPriceStatus=ConnectionLost errorCode=NoError nativeError=''
    2024-08-21 23:33:58:619 (Coinbase) Cbi.Account.OnConnectionStatus: account='Sim101' fcm='' status=Connected previousStatus=ConnectionLost message=''
    2024-08-21 23:33:58:619 (Coinbase) Coinbase.Adapter.OnDisconnect4
    2024-08-21 23:33:58:619 (Coinbase) Coinbase.Adapter.OnDisconnect6
    2024-08-21 23:33:58:620 (Coinbase) Coinbase.Adapter.ReceiveWebSocketMessage2 NormalClosure deprecated hostname
    2024-08-21 23:33:58:620 (Coinbase) Coinbase.Adapter.OnDisconnect0
    2024-08-21 23:33:58:637 (Coinbase) NinjaTrader.Gui.ControlCenter.OnConnectionStatus: Provider25 status=Connected priceStatus=Connected previousStatus=ConnectionLost previousPriceStatus=ConnectionLost errorCode=NoError nativeError=''
    2024-08-21 23:33:58:637 (Coinbase) Coinbase.Adapter.OnDisconnect6
    2024-08-21 23:33:58:637 (Coinbase) NinjaTrader.Gui.ControlCenter.OnConnectionStatus.D ispatcherInvoke: Provider25 status=Connected priceStatus=Connected previousStatus=ConnectionLost previousPriceStatus=ConnectionLost errorCode=NoError nativeError=''
    2024-08-21 23:33:58:637 (Coinbase) Gui.ControlCenter.OnConnectionStatus.Adding: provider=Provider25 status=Connected priceStatus=Connected
    2024-08-21 23:33:58:637 NinjaTrader.Gui.ControlCenter.OnConnectionStatus: foundPriceLoss=False foundTradeLoss=False foundConnectingStatus=False foundConnected=True
    2024-08-21 23:33:58:637 NinjaTrader.Gui.ControlCenter.OnConnectionStatus: Status=Connected
    Attached Files
    Last edited by rt3d02; 08-21-2024, 02:44 PM.

    #2
    Hello rt3d02 ​,

    Thank you for reaching out.

    This type of error/connection loss most commonly occurs when NinjaTrader is unable to communicate with the servers due to it being blocked by another program, or there is an issue in the path between your computer and the appropriate servers.

    Please check for software such as (corporate) firewalls, spyware and anti-virus software that could be blocking NinjaTrader.
    In some cases the modem/router has built-in software that prevents the connection to be established.
    It is common with a software update, for Windows Defender to block the app again, so please make sure exceptions for NT8 are added to any anti-virus or firewall you may have.

    To resolve this, I recommend the following steps (test for the issue after each step):
    • Restart your modem and (if applicable) router
    • Restart your PC
    • Also, ensure that your computer is not turning off your Network Adapter to conserve power:
      • Restart NinjaTrader
      • Right-click on your Start button
      • Select 'Device Manager'
      • Expand 'Network Adapters'
      • Right-click on your Network Adapter and select Properties > Power Management
      • Uncheck 'Allow the computer to turn off this device to save power' option
      • Click 'OK' to save the changes
      • Do this for all Network Adapters
    • Clear your DNS
    • If you are using a VPN, please turn it off and try connecting again.
    • If you are not already and the option is available to you, connect to the internet using an ethernet cable. Wireless connections are significantly more unreliable.
    • Ensure exceptions have been added into any firewall/antivirus/backup programs for these folders:
      • C:\Users\<your username>\Documents\NinjaTrader 8
      • C:\Program Files \NinjaTrader 8
    • If the above steps do not help, contact your ISP and let them know you are experiencing a highly unstable connection. An issue of connectivity may exist on their end.


    Please let me know if you are still experiencing the same after following these steps.​
    Erick P.NinjaTrader Customer Service

    Comment


      #3
      The same loss of connectivity is also occurring on a different network, perhaps an issue with the coinbase api?

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by argusthome, 03-08-2026, 10:06 AM
      0 responses
      65 views
      0 likes
      Last Post argusthome  
      Started by NabilKhattabi, 03-06-2026, 11:18 AM
      0 responses
      41 views
      0 likes
      Last Post NabilKhattabi  
      Started by Deep42, 03-06-2026, 12:28 AM
      0 responses
      23 views
      0 likes
      Last Post Deep42
      by Deep42
       
      Started by TheRealMorford, 03-05-2026, 06:15 PM
      0 responses
      26 views
      0 likes
      Last Post TheRealMorford  
      Started by Mindset, 02-28-2026, 06:16 AM
      0 responses
      52 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Working...
      X