Skip to content

Unable to Establish Connection Across Different Networks #1324

@shivamsinghal160

Description

@shivamsinghal160

Please, check for existing issues to avoid duplicates.

  • No similar issues found.

What happened?

I am encountering an issue where a connection is successfully established when devices are on the same network. However, when attempting to connect across different networks (e.g., one device on a mobile network and another on Wi-Fi), the connection fails. Previously, this functionality worked as expected, but it is no longer functioning.

To address potential NAT or firewall issues, I have also tried using Google's STUN server (stun:stun.l.google.com:19302), but the connection still fails.

Please investigate this issue, as it appears to be a bug. Let me know if any additional details are required.

How can we reproduce the issue?

Steps to Reproduce the Issue:

Setup Connection on the Same Network:

  1. Connect both devices to the same Wi-Fi network.
  • Attempt to establish a connection.
  • Observe that the connection is successfully established.
  • Attempt Connection on Different Networks:
  1. Connect one device to a Wi-Fi network and the other to a mobile network.
  • Attempt to establish a connection.
  • Observe that the connection fails.

3.Using Google STUN Server:

  • Configure the connection to use Google's STUN server (stun.l.google.com:19302).
  • Repeat the above steps on different networks.
  • Observe that the connection still does not establish.

This issue was not present previously, but it is now consistently failing under these conditions.

What do you expected to happen?

The connection should be successfully established between devices, regardless of whether they are on the same network or different networks (e.g., one device on a mobile network and another on Wi-Fi), as it previously worked without issues.

Environment setup

  • OS: Windows
  • Platform: JS
  • Browser: Google Chrome

Is this a regression?

No response

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugunconfirmednot yet verified as an issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions