Giter VIP home page Giter VIP logo

Comments (7)

boninggong avatar boninggong commented on May 26, 2024

We've further tested the current functionalities and it seems like the app can't make connections when mobile data is used instead of a wifi network. The next four cases were tested:

Host using Eduroam, connecting peer using Eduroam: Working connection.
Host using Eduroam, connecting peer using mobile data: Can't connect.
Host using mobile data, connecting peer using Eduroam: Can't connect.
Host using mobile data, connecting peer using mobile data: Can't connect.

Probably something of the mobile data networks are blocking requests for sending data.

from app-to-app-communicator.

JLauriks avatar JLauriks commented on May 26, 2024

Hello,

I'm not a 100% sure what your exact problem is. But could it be that you are trying to connect to a punctured peer (A UDP Connection) with a TCP Connection. The current app on the upstream repo does this. The IP and Port just get passed to the TrustChainActivity but this tries to setup a TCP connection. The App2App activity has indeed punched a hole in the NAT that could be used but only with a UDP connection.

The TrustChainActivity also seems to ignore the port but that is an easy fix.

from app-to-app-communicator.

laurensWe avatar laurensWe commented on May 26, 2024

Hello @JLauriks,

Thanks for your great remarks, that was one of the things which were broken in our overlay of the trustchain android. At the tests, we performed like Clinton stated we assumed that we have a public IP when we use 3g or 4g but this is of course not the case due to the NAT blocking of the cellular ISP. So we were not yet fully aware of the real functioning of the NAT traversal and NATs themselves.

After that, we set up our own bootstrap phone with the right port forwarding at our routers at home, due to the failure of the bootstrap phone of our professor. Now we were able to find one another but the dots will stay orange when not on the same network and will stay in the outgoing side of the App-To-App communicator. This when we use the latest version of this repo. It seems therefore that the puncture seems to have trouble over different closed networks. Could you maybe elaborate on this, because it seems therefore that the trouble is still in the latest version of this App-To-App repo.

Kind Regards,
Laurens

from app-to-app-communicator.

JLauriks avatar JLauriks commented on May 26, 2024

from app-to-app-communicator.

Michieldoesburg avatar Michieldoesburg commented on May 26, 2024

To be clear on the issue we are running in to: we have 3 phones on mobile data which can connect with the bootstrap server but cannot connect to each other (which makes sense because the port of the bootstrap phone's router is open). As can be seen in the images, the bootstrap server introduces our phones to each other but they do not receive each other's packets, and thus never connect.

We suspect this is because of NAT-firewalls restraints mobile network carriers apply.

from app-to-app-communicator.

synctext avatar synctext commented on May 26, 2024

Werkte in 2016 perfect met KPN, Simyo, Ben NL, etc.
Zie screenshot https://tweakers.net/nieuws/113729/tribler-team-ontwikkelt-app-voor-communicatie-tussen-toestellen-zonder-server.html

from app-to-app-communicator.

synctext avatar synctext commented on May 26, 2024

Vodafone niet. Enige unpredictable NAT provider op 3G en 4G.

from app-to-app-communicator.

Related Issues (1)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.