Uploaded image for project: 'Help-Desk'
  1. Help-Desk
  2. HELP-2296

FIWARE.Request.Lab.Budapest.Connectivity problems in some regions cause Kurento to fail.

    Details

    • Type: extRequest
    • Status: Closed
    • Priority: Major
    • Resolution: Done
    • Fix Version/s: 2021
    • Component/s: FIWARE-LAB-HELP
    • Labels:
      None
    • HD-Node:
      Budapest

      Description

      We have been receiving several reports of Kurento (Stream Oriented GEri) failing to communicate in the last few weeks. After digging into the problem we have found out the cause, which is described bellow:

      Some FIWARE Lab regions are having strange connectivy behavior. In particular, we have been able to measure it in the Budapest instance. This behaviour makes the network to work in "burst", so that when an instance wants to get traffic towards the internet, the first packets take a very long delay to get out (around 6 seconds). You can reproduce this with a single ping.

      This delay is not compatible with the real-time communication protocols of Kurento, which expect sub-second latencies. Due to this, we are having many timeouts to fire and Kurento not being able to establish communication with the external world.

      We have detected what is causing your problem. The point is libnice (the library implementing the STUN protocol) has a timer of 1.8 seconds for gathering all the STUN candidates. If candidates don't arrive in that time, they are discarded. We have detected FIWARE Lab instances in many regions requiring more than 6 to enable connectivity (for some reason, connectivity works in bursts). With this type of behavior of the network you will not be able to make work any kind of application requiring real-time. I recommend you to follow this procedure:

      1. Ping from your instante to the IP of your STUN server. If the first ping takes more than 1.8 seconds, then you are hitting this problem.
      2. Try to move to another region not having such connectivity problems. For example, we are testing in Spain and we are successfully executing Kurento.

      I will fire a Jira issue for reporting about this problem.

      Best and thank you for your patience.

        Activity

        llopez NaevaTeC Development Team created issue -
        mev Manuel Escriche made changes -
        Field Original Value New Value
        Project _Coordination [ 10906 ] Help-Desk [ 10841 ]
        Key COR-285 HELP-2296
        Issue Type WorkItem [ 10002 ] extRequest [ 10104 ]
        Workflow FW WorkItem Workflow-II [ 24402 ] FW extRequest Workflow-II [ 24900 ]
        Component/s FIWARE-LAB-HELP [ 10279 ]
        Component/s Help-Desk [ 10291 ]
        mev Manuel Escriche made changes -
        Assignee Manuel Escriche [ mev ] Budapest Node Helpdesk [ wigner ]
        sandor Sándor Laki made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        sandor Sándor Laki made changes -
        Status In Progress [ 3 ] Answered [ 10104 ]
        sandor Sándor Laki made changes -
        Resolution Done [ 10000 ]
        Status Answered [ 10104 ] Closed [ 6 ]
        mev Manuel Escriche made changes -
        HD-Node Budapest [ 10911 ]
        backlogmanager Backlog Manager made changes -
        Summary Connectivity problems in some regions cause Kurento to fail. FIWARE.Request.Lab.Budapest.Connectivity problems in some regions cause Kurento to fail.
        fla Fernando Lopez made changes -
        Fix Version/s 2021 [ 12600 ]

          People

          • Assignee:
            WIGNER Budapest Node Helpdesk
            Reporter:
            llopez NaevaTeC Development Team
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: