Unable to connect with self hosted instance, airdrop.net works fine
-
As title says. I have the feeling, this might have something to do with the turn server being used. I assume it's using the cloudron turn server? If so, please make this optional and let me use my own turn server.
-
@andreasdueren i have added optional turn now. See https://docs.cloudron.io/apps/pairdrop/#custom-rtc-config
-
@girish Great, thank you! is there a way to export the turn credentials? I would like to use those as backup. I tried entering
${TURN_PASSWORD} & ${TURN_USER}
in the terminal but those don't give me any values. Probably because they weren't generated on reboot.For anyone else who might be interested in this: I'm trying to use a turn server which has only set up auth-secret. So far this is my unsuccessful setup:
{ "sdpSemantics": "unified-plan", "iceServers": [ { "urls": "stun:turn.tld.com:5349" }, { "urls": "stuns:turn.tld.com:5349" }, { "urls": "stun:my.tld.com:3478" }, { "urls": "turn:turn.tld.comm:5349", "auth-secret": "c3de313cf548f0f09f380033e9dc1271f3969305c5dd78542f1c2fa62890305e" }, { "urls": "turns:turn.tld.comm:5349", "auth-secret": "c3de313cf548f0f09f380033e9dc1271f3969305c5dd78542f1c2fa62890305e" }, { "urls": [ "turns:my.tld.com:3478", "turn:my.tld.com:3478" ], "username": "", "credential": "" } ] }
-
@andreasdueren Try https://git.cloudron.io/cloudron/pairdrop-app/-/blob/main/start.sh?ref_type=heads#L15 ? That's what we do in Cloudron package.