Skip to main content Skip to footer

Search Crosser Knowledge Base

My Node is active but I can't start a remote session

Answer

Issue: The Node shows up in the list of available Nodes when you click on "Connect to node" inside the Flow Studio, but then you never get connected (the popup stays with a spinner waiting).

When starting a remote session the Node will by default try to establish a websocket connection to Crosser Cloud. If you have some network device in between the Node and Cloud that prevents websocket sessions, such as a proxy or a firewall, you will end up with this issue. There are two ways to solve this:
  1. Configure your intermediate network device to allow websocket connections
  2. Change the Node configuration to use HTTP long-polling instead of websocket (might have an impact on interactivity but usually works fine). Follow these steps to configure your Node to use HTTP:
    1. Stop the Node (on the server where you installed it)
      1. Docker (terminal window): sudo docker-compose down
      2. Windows (Administrator PowerShell window): Stop-Service Crosser.EdgeNode.Service
      3. Windows (Services app): Right-click on the Crosser.EdgeNode.Service and select "Stop"
    2. Change the Node configuration file
      1. Open the file <node install dir>/data/endpoints.json (Docker) or <node install dir>/Host/data/endpoints.json in an editor
      2. Change the value of "remoteSessionTransport" from "Automatic" to "HTTP"
    3. Start the node
      1. Docker (terminal window): sudo docker-compose up -d
      2. Windows (Administrator PowerShell window): Start-Service Crosser.EdgeNode.Service
      3. Windows (Services app): Right-click on the Crosser.EdgeNode.Service and select "Start"
    4. Verify the configuration change in Crosser Cloud
      1. On theNodespage expand the row for this Node (click on the ">" symbol on the left-hand side)
      2. In the lower part of the expanded Node, find "endpointsConfiguration" and click on the arrow to expand. Verify that the "remoteSessionTransport" setting is now "HTTP".
    5. Try to setup a remote session in the Flow Studio

About the author

Goran Appelquist (Ph.D) | CTO

Göran has 20 years experience in leading technology teams. He’s the lead architect of our end-to-end solution and is extremely focused in securing the lowest possible Total Cost of Ownership for our customers.

"Hidden Lifecycle (employee) cost can account for 5-10 times the purchase price of software. Our goal is to offer a solution that automates and removes most of the tasks that is costly over the lifecycle.

My career started in the academic world where I got a PhD in physics by researching large scale data acquisition systems for physics experiments, such as the LHC at CERN. After leaving academia I have been working in several tech startups in different management positions over the last 20 years.

In most of these positions I have stood with one foot in the R&D team and another in the product/business teams. My passion is learning new technologies, use it to develop innovative products and explain the solutions to end users, technical or non-technical."