onionshare / onionshare

Securely and anonymously share files, host websites, and chat with friends using the Tor network
https://onionshare.org/
Other
6.33k stars 653 forks source link

OnionShare stops working when trying to use obfs4 bridges #1301

Open li5lo opened 3 years ago

li5lo commented 3 years ago

OS: Windows 10 Home 1909 Version: OnionShare 2.3.1

Steps to reproduce:

After a few seconds the window freezes and when i try to close the settings window i get told that Python stopped working. The same happens when i try to use custom bridges.

I can reproduce this.

Nickoriginal commented 3 years ago

It too occurs for me in 20H2, OnionShare 2.3.2 (x86). I can't connect to obfs4, OnionShare window freezes. I'll try to connect to the bridges via OnionShare 2.3 later.

Nickoriginal commented 3 years ago

I'll try to connect to the bridges via OnionShare 2.3 later.

OnionShare 2.3 gets stuck on 45% here. There is no way to connect to the bridges except using OnionShare 2.2 or (better) keeping Attempt auto-configuration with Tor Browser enabled.

Nickoriginal commented 3 years ago

Hello @computerfreak94, OnionShare 2.3.3 resolves your problem?

li5lo commented 3 years ago

Hello @computerfreak94, OnionShare 2.3.3 resolves your problem?

No. Still the same.

mig5 commented 2 years ago

I reproduce the issue on Windows 10 against current develop branch but only with the 'built-in' Tor bridges.

But when I use obfs4 bridges fetched from our new BridgeDB/Moat dialog, everything works perfectly fine.

Important point: when I use snowflake built-in bridge, it connects, and in using a 'built-in' bridge type, triggers our new 'update the built-in Tor bridges' functionality, which fetches new obfs4 bridges. So I thought, maybe this issue was just because our hardcoded obfs4 templates were out of date.

However, switching to use the built-in obfs4 bridges after they have been automatically updated, still sees the same problem, so it's weird.

The Tor connection dialog seems to get as far as 'Connected to the pluggable transport to build routes' and then it stops. The OnionShare application, if you navigate away from it and come back, is then 'Not responding'.

I can't work out why BridgeDB bridges work fine and the built-in ones don't, because the format is the same.

Adding this to the 2.4.1 milestone @micahflee

Nickoriginal commented 2 years ago

According to blog.torproject.org,

Since December 1st, some Internet providers in Russia have started to block access to Tor.

It is confirmed info, so Russians now have troubles with connecting to OnionShare services by simplest way (just pressing the button). I haven't tried to request bridges, because usual built-in obfs4 bridges will be enough for me. When user in Russia will try them, he will catch error, app freeze and will refuse from OnionShare using. It is bad, because OnionShare provides the simplest way to chat and anonymously share files in Tor network.

mig5 commented 2 years ago

Yup. Well, that's what we're working on improving :)