airdash icon indicating copy to clipboard operation
airdash copied to clipboard

Connection Failed

Open TalentCraftDev opened this issue 3 years ago • 10 comments

Hello sir. I cloned your git on my PC and replace firebase configuration and run the project. The project is running successfully. After paring two devices, when send file, I am getting connection error.

When create my firestore, I don't know about <appInfo> collection data. so, I used the below json to set simple_peer settings.

 {
    "provider": "google",
    'iceServers': [
      {'url': 'stun:stun.l.google.com:19302'},
    ],
  }

I don't know what is issue.

Could you help me to run the project successfully?

Thank you

TalentCraftDev avatar Nov 24 '22 02:11 TalentCraftDev

The simple peer library should work without setting any config. The default stun server only works on basic network setups however. Does it work if the devices are on the same network?

simonbengtsson avatar Nov 25 '22 22:11 simonbengtsson

in the same network, don't work

On Fri, Nov 25, 2022, 23:49 Simon Bengtsson @.***> wrote:

The simple peer library should work without setting any config. The default stun server only works on basic network setups however. Does it work if the devices are on the same network?

— Reply to this email directly, view it on GitHub https://github.com/simonbengtsson/airdash/issues/16#issuecomment-1327919961, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQJX6TCPV5BPN5FGVMPOUKLWKE655ANCNFSM6AAAAAASJT2S4A . You are receiving this because you authored the thread.Message ID: @.***>

TalentCraftDev avatar Nov 26 '22 08:11 TalentCraftDev

BTY, what is basic network setups?

On Sat, Nov 26, 2022, 08:59 Peter Pan @.***> wrote:

in the same network, don't work

On Fri, Nov 25, 2022, 23:49 Simon Bengtsson @.***> wrote:

The simple peer library should work without setting any config. The default stun server only works on basic network setups however. Does it work if the devices are on the same network?

— Reply to this email directly, view it on GitHub https://github.com/simonbengtsson/airdash/issues/16#issuecomment-1327919961, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQJX6TCPV5BPN5FGVMPOUKLWKE655ANCNFSM6AAAAAASJT2S4A . You are receiving this because you authored the thread.Message ID: @.***>

TalentCraftDev avatar Nov 26 '22 08:11 TalentCraftDev

Weird. What is the connection error you get?

simonbengtsson avatar Nov 26 '22 08:11 simonbengtsson

Regarding basic network setup -> I'm not entirely sure of when a turn server is needed and when stun is enough. Here is some more information: https://stackoverflow.com/a/65097630/827047

There are temporary free turn server you can try such as those listed here https://gist.github.com/sagivo/3a4b2f2c7ac6e1b5267c2f1f59ac6c6b

simonbengtsson avatar Nov 26 '22 08:11 simonbengtsson

Thanks for your quick response

I will attach screenshot

On Sat, Nov 26, 2022 at 12:01 AM Simon Bengtsson @.***> wrote:

Weird. What is the connection error you get?

— Reply to this email directly, view it on GitHub https://github.com/simonbengtsson/airdash/issues/16#issuecomment-1328001821, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQJX6TDVJFIZQF7AGMHJDDDWKG7XNANCNFSM6AAAAAASJT2S4A . You are receiving this because you authored the thread.Message ID: @.***>

TalentCraftDev avatar Nov 26 '22 08:11 TalentCraftDev

[image: image.png][image: image.png]

On Sat, Nov 26, 2022 at 12:07 AM Peter Pan @.***> wrote:

Thanks for your quick response

I will attach screenshot

On Sat, Nov 26, 2022 at 12:01 AM Simon Bengtsson @.***> wrote:

Weird. What is the connection error you get?

— Reply to this email directly, view it on GitHub https://github.com/simonbengtsson/airdash/issues/16#issuecomment-1328001821, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQJX6TDVJFIZQF7AGMHJDDDWKG7XNANCNFSM6AAAAAASJT2S4A . You are receiving this because you authored the thread.Message ID: @.***>

TalentCraftDev avatar Nov 26 '22 08:11 TalentCraftDev

I used this server config.

[image: image.png]

On Sat, Nov 26, 2022 at 12:09 AM Peter Pan @.***> wrote:

[image: image.png][image: image.png]

On Sat, Nov 26, 2022 at 12:07 AM Peter Pan @.***> wrote:

Thanks for your quick response

I will attach screenshot

On Sat, Nov 26, 2022 at 12:01 AM Simon Bengtsson < @.***> wrote:

Weird. What is the connection error you get?

— Reply to this email directly, view it on GitHub https://github.com/simonbengtsson/airdash/issues/16#issuecomment-1328001821, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQJX6TDVJFIZQF7AGMHJDDDWKG7XNANCNFSM6AAAAAASJT2S4A . You are receiving this because you authored the thread.Message ID: @.***>

TalentCraftDev avatar Nov 26 '22 08:11 TalentCraftDev

Image is not showing

simonbengtsson avatar Nov 26 '22 11:11 simonbengtsson

sorry . Could you check email?

On Sat, Nov 26, 2022 at 3:37 AM Simon Bengtsson @.***> wrote:

Image is not showing

— Reply to this email directly, view it on GitHub https://github.com/simonbengtsson/airdash/issues/16#issuecomment-1328030090, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQJX6TDS2KOLFC7UV7BVXWLWKHY7LANCNFSM6AAAAAASJT2S4A . You are receiving this because you authored the thread.Message ID: @.***>

TalentCraftDev avatar Nov 28 '22 12:11 TalentCraftDev