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 status 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




    #2
    Click image for larger version

Name:	Unhandled Exception.png
Views:	647
Size:	4.5 KB
ID:	1315095 error while connecting to coninbase

    Comment


      #3
      Hello rt3d02,

      Thank you for the note.

      When we see messages about "Connection Lost" this normally means that the Internet, Modem/Router, or another program is stopping NinjaTrader from maintaining a stable connection to the necessary servers.

      Please know that a connection state between NinjaTrader and your broker/market data vendor is not dictated by NinjaTrader.
      • The NinjaTrader application only reports the connection state as it is reported by the API you are connected through.
      • NinjaTrader behaves like a radio receiver in that it receives signals from the connected server. If the signals are not coming through, the underlying broker/market data vendor API reports this to the NinjaTrader application which in turn reports this back to you. Once a loss of connection is reported, NinjaTrader or the underlying API will continuously try to re-establish a connection.


      Please perform the steps below to troubleshoot the local network and narrow in on what could be causing these network/connection issues. Please restart NinjaTrader after each set of steps and try connecting again.
      • Begin by restarting your Modem, Router, and PC to refresh the internet connection.
      • Connect your PC directly to the Modem with an Ethernet cable if possible.
      • Ensure that NinjaTrader has been allowed through the Windows Firewall on all networks. Please follow along with this infographic:
      • Ensure that NinjaTrader has been added to any 'Exceptions' or 'Allowed Programs/Apps' kind of list within your antivirus software.
        • If you need to add NinjaTrader manually, the file path is as follows:
          • This PC > Local Disk (C > Program Files > NinjaTrader 8 > bin > NinjaTrader.exe
      • If you are using a VPN, turn it Off
      • Clear your DNS
        • Open the Command Prompt by clicking the Windows icon and typing "Command"
        • Select 'Command Prompt'
        • Either copy and paste or type the following command: ipconfig /flushdns
        • Press Enter to make it run


      Reopen NinjaTrader and test if the unwanted connection behaviors continue.

      If the connection issues continue, please let us know and we will provide some additional steps to narrow in on what is preventing NinjaTrader from connecting to the necessary servers and maintaining a stable connection. If you are still losing connection, you will need to reach out to a Network technician or your Internet Service Provider for further help investigating what is preventing NinjaTrader from maintaining a stable connection to the necessary servers.


      Please let us know if we may provide any further assistance.

      Comment


        #4
        connectivity is fine on the local network

        ping -t 4.2.2.2

        Pinging 4.2.2.2 with 32 bytes of data:
        Reply from 4.2.2.2: bytes=32 time=26ms TTL=53
        Reply from 4.2.2.2: bytes=32 time=26ms TTL=53
        Reply from 4.2.2.2: bytes=32 time=26ms TTL=53
        Reply from 4.2.2.2: bytes=32 time=26ms TTL=53
        Reply from 4.2.2.2: bytes=32 time=26ms TTL=53
        Reply from 4.2.2.2: bytes=32 time=26ms TTL=53
        Reply from 4.2.2.2: bytes=32 time=26ms TTL=53
        Reply from 4.2.2.2: bytes=32 time=26ms TTL=53

        ping -t 172.64.150.111

        Pinging 172.64.150.111 with 32 bytes of data:
        Reply from 172.64.150.111: bytes=32 time=4ms TTL=59
        Reply from 172.64.150.111: bytes=32 time=3ms TTL=59
        Reply from 172.64.150.111: bytes=32 time=3ms TTL=59
        Reply from 172.64.150.111: bytes=32 time=3ms TTL=59
        Reply from 172.64.150.111: bytes=32 time=3ms TTL=59
        Reply from 172.64.150.111: bytes=32 time=3ms TTL=59
        Reply from 172.64.150.111: bytes=32 time=3ms TTL=59
        Reply from 172.64.150.111: bytes=32 time=3ms TTL=59
        Reply from 172.64.150.111: bytes=32 time=3ms TTL=59
        Reply from 172.64.150.111: bytes=32 time=3ms TTL=59
        Reply from 172.64.150.111: bytes=32 time=3ms TTL=59
        Reply from 172.64.150.111: bytes=32 time=3ms TTL=59
        Reply from 172.64.150.111: bytes=32 time=3ms TTL=59​


        ping -t 104.18.37.145

        Pinging 104.18.37.145 with 32 bytes of data:
        Reply from 104.18.37.145: bytes=32 time=4ms TTL=59
        Reply from 104.18.37.145: bytes=32 time=3ms TTL=59
        Reply from 104.18.37.145: bytes=32 time=4ms TTL=59
        Reply from 104.18.37.145: bytes=32 time=3ms TTL=59
        Reply from 104.18.37.145: bytes=32 time=3ms TTL=59
        Reply from 104.18.37.145: bytes=32 time=3ms TTL=59
        Reply from 104.18.37.145: bytes=32 time=3ms TTL=59
        Reply from 104.18.37.145: bytes=32 time=3ms TTL=59
        Reply from 104.18.37.145: bytes=32 time=3ms TTL=59​
        Last edited by rt3d02; 08-21-2024, 02:56 PM.

        Comment


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

          Comment


            #6
            Any update on this? I am getting similar issues with connecting Coinbase and keep getting disconnected and there is no data seen on Chart. Also I am having similar issues with Tradovate connection and do not see any data. .

            Comment


              #7
              My internet connection is working as forex is connected and I can see data.

              Comment


                #8
                Which version of NT are you on?

                Comment


                  #9
                  Something is going on here...

                  Around 2:30pm CST I noticed that the Coinbase connection was disconnecting/reconnecting in the logs after seeing the visual indicator going Red then Yellow trying to reconnect.

                  I also track Coinbase BTCUSD on another site, and they don't have a ticker going either. I switched to Bitfinex on that site, and it works fine. My other charting platform I use Bitfinex, and it doesn't have a problem.

                  On Ninjatrader now, I get the "Semaphore exceeds maximum amount" message now when I attempt to connect to Coinbase - and it helpfully crashes and exits. I've been running Ninjatrader successfully for a long time, and I have never hit this error before.

                  I'm on NT v8.1.3.1 on desktop.

                  There's something going on with Coinbase guys - but I dislike the fact that Ninjatrader can't gracefully handle this. Any ideas? And no, doing the "clean environment" solution isn't going to fix this. This is definitely a connection problem. I was sitting here when the connection started to bounce for Coinbase and everything else was updating just fine (CME Futures via Ninjatrader data feed).

                  Edit - Just restarted everything and I am now connected to the main Ninjatrader "Continuum" datafeed, but I don't dare try to connect to Coinbase because the platform will crash again. All the futures I watch via this main feed are updating fine.
                  Last edited by TallTim; 08-21-2024, 06:34 PM.

                  Comment


                    #10
                    8.1.3.1 64-bit

                    Comment


                      #11
                      clayton G.NinjaTrader Customer Service please FIX or restiore the Coninbase connectivity ASAP

                      Comment


                        #12
                        I'm having the same problem since yesterday.

                        Comment


                          #13
                          Hi as its has been more than 24hr without access to the Coinbase connectivity
                          on the latest version of Ninjatrader and
                          with multiple persons reporting the same issues with the Coinbase
                          connectivity not working, i propose you increase the severity of this
                          incident, Click image for larger version

Name:	Capture.png
Views:	666
Size:	18.6 KB
ID:	1315247
                          and fix the issue ASAPp please​

                          Comment


                            #14
                            Dear NT team,
                            I am facing the same issue, unable to connect to Coinbase data with NinjaTrader platform. Kindly help resolve this at the earliest.
                            Thank you.

                            Comment


                              #15
                              Coinbase Data is still not showing on Chart.. 9 Ninja 8). Any update on this..

                              Comment

                              Latest Posts

                              Collapse

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