Cannot establish connection with peers #5630
              
                Unanswered
              
          
                  
                    
                      Priceless-P
                    
                  
                
                  asked this question in
                Q&A
              
            Replies: 2 comments 1 reply
-
| 
         Hey! could you provide the full logs to both ends when you are dialing the peer?  | 
  
Beta Was this translation helpful? Give feedback.
                  
                    1 reply
                  
                
            -
| 
         Hi! Yeah the   | 
  
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
Hello everyone,
I'm building a peer-to-peer application using libp2p. My application connects desktop peers (built with Tauri) and a browser peer. Initially, desktop-to-desktop connections over TCP worked fine. But after adding WebRTC support for browser connections, the desktop-to-desktop TCP connections stopped working, and the browser-to-desktop connection still doesn't work.
I want desktop nodes to continue using TCP, while browser nodes use WebRTC. Or, if possible, I'd like to switch everything to WebRTC for both desktop and browser nodes.
This is the error I usually get:
or something about the data channel taking more than 10 secs to open.
Here's a snippet of the code where I set up the transports:
The complete code is here
Any help or suggestion on how to fix this will be highly appreciated. Thank you in advance!
Beta Was this translation helpful? Give feedback.
All reactions