cabal-desktop icon indicating copy to clipboard operation
cabal-desktop copied to clipboard

My 2 instances dont see eachother in same cabal chat

Open danrobi11 opened this issue 3 years ago • 5 comments

Im running 2 instances. 1 on desktop and 1 on my laptop. Both run the desktop client. They dont see eachother in same cabal chat. Its the exact same cabal address but they dont see eachother in the chat. Over same local network. Which exact ports would I need to allow tcp or udp /both ? I could test that, maybe thats the issue.

the cabal add: cabal://a7524059349be1e0c7e37e9dd8c082193010ef6dd5527e8f9c0ff35ad7de771d

Why is the cabal client pinging google?

connection: <1611803125> <eth0>:13331 => 13.91.107.34.bc.googleusercontent.com.:36401 (udp) up/down Bps: 12/19 process: "cabal-desktop"
connection: <1611803125> <eth0>:13331 => 13.91.107.34.bc.googleusercontent.com.:43869 (udp) up/down Bps: 12/19 process: "cabal-desktop"
connection: <1611803125> <eth0>:13331 => 13.91.107.34.bc.googleusercontent.com.:45765 (udp) up/down Bps: 12/19 process: "cabal-desktop"
connection: <1611803125> <eth0>:13331 => 13.91.107.34.bc.googleusercontent.com.:40943 (udp) up/down Bps: 12/19 process: "cabal-desktop"
connection: <1611803125> <eth0>:13331 => 13.91.107.34.bc.googleusercontent.com.:43017 (udp) up/down Bps: 12/19 process: "cabal-desktop"

cabal-desktop-6.0.6-linux-x86_64.AppImage OS: MX 19.3 (patito feo) x86_64 SysV init version: 2.93 Debian GNU/Linux 10 (buster) Kernel: 4.19.0-9-amd64

danrobi11 avatar Jan 28 '21 03:01 danrobi11

After further testing. Doesnt matter if I change the port or not. (tested with the CLI version)

I thought this was suppose to work over local network. It does not here. Tested with same port and different port.

I join same cabal and both of my devices sit there alone :/ ???

danrobi11 avatar May 03 '21 23:05 danrobi11

I'll describe step by step what I do. This might not be an issue. Maybe thats how cabal works. I dont know, im just a non-technical user.

I've installed on both devices the cabal-cli. With nvm. Nothingelse. I've not installed the cabal-core.

Both devices are on the same local network. I do allow in both devices the cabal port in both firewall through iptables. Theres no gufw nor ufw on my devices. I deal only with iptables.

I start the cabal-cli on the laptop with: ./cabal --new --port whatever (for example)

Now I've a laptop cabal address: cabal://1fdc83....

I start the desktop cabal with: ./cabal cabal://1fdc83.... --port whatever (I also tested with both cabal using the same port. Same result)

Now they both sit in the same cabal address. But they dont see eachother.

Are they suppose to see eachother at this point ?

Are you experiencing the same thing on your end ?

danrobi11 avatar May 04 '21 18:05 danrobi11

sorry to hear you are having issues!

Why is the cabal client pinging google?

seems odd. wonder if that's something to do with a hyperswarm bootstrap node, or if we're mistakenly downloading fonts from google in cabal desktop. cabal should not connect to google

Both devices are on the same local network. I do allow in both devices the cabal port in both firewall through iptables. Theres no gufw nor ufw on my devices. I deal only with iptables.

that should be all you need to do, if even that. could definitely be that yr firewall is really really strict in some other regard

Are they suppose to see eachother at this point ?

yes

Are you experiencing the same thing on your end ?

i would have to try with an explicitly disabled internet connection to confirm, but previously this has worked for me :)

cblgh avatar May 06 '21 09:05 cblgh

@ Thanks for the reply. I'll test without any iptables rules and report the result.

danrobi11 avatar May 06 '21 10:05 danrobi11

Tested with iptables set to ACCEPT in/out on both devices. Same result :/

Now that makes no sense

danrobi11 avatar May 07 '21 09:05 danrobi11