Comments (6)
Let me be clear that we did follow (i think) the expected process:
- User A and B both call
prepare-connection-info
and exchange the key - User A enters
connect 0 {User B data}
- User B enters
connect 0 {User A data}
Then nothing happens for about 10 seconds, and it gives ConnectFailure (not handled)
from crust.
Still unable to debug this, any ideas?
from crust.
Hi @pharazen I'm just testing this now so I'll get back to you with my findings
from crust.
Progress update on where I've got to with this...
- I was able to connect two peers from different networks to each other by manually opening the relevant ports on the routers that the peers were listening on. Note that I also had to edit the "for_direct" section of the connection info before pasting it into the other peer, as I only had internal IPs, so I added the external IP and port number. Connection successful.
- If UPnP is enabled on the 2 peer's routers then as far as I understand, you should be able to connect without port forwarding, as this should take care of it for you, but UPnP does not work on the 2 routers I have access to. I'm hoping to rope a couple of others who have routers with working UPnP into helping me verify this tomorrow. Will update this issue accordingly.
Note that I'm assuming you are behind a NAT, as I am.
from crust.
Update - apologies, I've had no bandwidth to get back to this as yet due to other work taking priority.
from crust.
Repository no longer under active development, replaced by https://github.com/maidsafe/quic-p2p
from crust.
Related Issues (20)
- Generate Crust ID ourselves
- Dynamic connections manager
- Remove message priorities HOT 1
- Report about dropped messages HOT 2
- Solve head of line blocking HOT 1
- Simplify bootstrap cache
- External reachability test should not make a connection attempt fail
- Unable to connect to local peer on localhost in example HOT 3
- Message Splitting HOT 1
- Remove CrustUser
- Remove PrivConnectionInfo
- Rename prepare_connection_info
- Remove (dis)connect API and make the Send API take peer-information
- Connection Pool
- Is there a method to obtain a peer port. (Q&A)
- Exhaustively Document the nat traversal techniques used.
- Example Code HOT 1
- Fix dyn issues on 1.37
- Is moving to futures and async/await being considered?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from crust.