No Branch/Tag Specified
1.4.0-release
1.5-upgrades
add_contact_hook
androMessage
androTor
android-fix
androidFlags
appbarColor
cache
cache3.0
cachefixes
custom_profile_fixes
custom_profile_images
custom_tor_config
cwtch1.6.1-fixes
cwtch_prefix
cy
da
de
debuginfo
droneGherkin
es
fastercwtch
file-fixes
file_bubble_pop_fix
fix-settings
fix297
fix457
fixAcceptBlock
fixAndroidAttrInv
fixLeave
fixSaveHist
fix_295
fix_debug_error_add_contact
getinfo
gherkin
i18n
import_export
ios_build_port
kotlinResult
l10nup
lb
lcg160
linuxNotif
macNotifications
maclcg
mainActivityPort
message-formatting
messageCache
message_row_fixes
messagedate
models
no
notificationSettings
ns
perf
pl_intl
power
profileNotify
profile_images
ps160
pubspecBump
quote
replyFix
ro
sender_size
serverProgress
small_edits
splashExit
state
theme-updates
torcache
trunk
unreadSync
v152
winFocus
winNotify
winUninstall
wintoasts
v.1.7.0
v1.0.0
v1.1.0
v1.1.1
v1.2.0
v1.2.1
v1.3.0
v1.4.0
v1.4.1
v1.4.2
v1.5.0
v1.5.1
v1.5.2
v1.6.0
v1.6.1
v1.6.2
v1.7.1
Labels
Something is not working cwtch-beta-1.1 cwtch-beta-1.2 cwtch-beta-1.3 cwtch-beta-1.4 cwtch-beta-1.5 cwtch-beta-1.5.x
point release vug fixes for 1.5 cwtch-beta-1.6 cwtch-beta-1.7 cwtch-beta-1.8 cwtch-beta-1.9 design duplicate
This issue or pull request already exists enhancement
New feature flutter help wanted
Need some help in-nightly invalid
Something is wrong ios linux mac need-replication-or-investigation ops question
More information is needed requires-more-effort-than-we-can-spare rust testing-needed tor waiting-on-new-flutter-feature windows wontfix
This won't be fixed
Apply labels
Clear labels
android
arch
bug
Something is not working cwtch-beta-1.1 cwtch-beta-1.2 cwtch-beta-1.3 cwtch-beta-1.4 cwtch-beta-1.5 cwtch-beta-1.5.x
point release vug fixes for 1.5 cwtch-beta-1.6 cwtch-beta-1.7 cwtch-beta-1.8 cwtch-beta-1.9 design duplicate
This issue or pull request already exists enhancement
New feature flutter help wanted
Need some help in-nightly invalid
Something is wrong ios linux mac need-replication-or-investigation ops question
More information is needed requires-more-effort-than-we-can-spare rust testing-needed tor waiting-on-new-flutter-feature windows wontfix
This won't be fixed
No Label
android
arch
bug
cwtch-beta-1.1
cwtch-beta-1.2
cwtch-beta-1.3
cwtch-beta-1.4
cwtch-beta-1.5
cwtch-beta-1.5.x
cwtch-beta-1.6
cwtch-beta-1.7
cwtch-beta-1.8
cwtch-beta-1.9
design
duplicate
enhancement
flutter
help wanted
in-nightly
invalid
ios
linux
mac
need-replication-or-investigation
ops
question
requires-more-effort-than-we-can-spare
rust
testing-needed
tor
waiting-on-new-flutter-feature
windows
wontfix
Milestone
Set milestone
Clear milestone
No items
No Milestone
Projects
Clear projects
No project
Assignees
Assign users
Clear assignees
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.
No due date set.
Dependencies
This issue currently doesn't have any dependencies.
Reference in new issue
There is no content yet.
Delete Branch '%!s(MISSING)'
Deleting a branch is permanent. It CANNOT be undone. Continue?
No
Yes
Long running clients very occasionally stop being able to connect to a Cwtch server without a Tor reset.
My suspicion is that occasionally the underlying Tor circuit breaks down in a weird way - basically Tor thinks the onion is unreachable even though it isn't - resetting Tor through the Tor settings screen in these cases does fix the connection issue.
The tell tale sign of this error is if there are 2 profiles on the same cwtch client they will both be unable to connect to the same server (even though they are instantiating different overlay connections). It's something I've been keeping an eye out for but it's rare enough that I've only seen it happen once.
I'm wondering if this is different than a long running client dropping the connection to a group chat? I ask because I often leave my laptop running all day (or longer) with Cwtch running and sometimes when I check Cwtch the connection to the Release Candidate Testers group chat has dropped and can only be reconnected by resetting the tor circuit. I'm on the Mac version 1.2.1 and I only have one profile.
I guess I should point out that the connection to fuzzbot, Dan and Sarah have not dropped in this scenario.
Looks like it might be network conditions on my end which drop the connection: switching to a VPN, MacOS putting the hard drive to sleep (which it shouldn't do according to my power management preferences but happens anyhow because of a known - and unfixed - bug in Mojave). Although these conditions kill all connections.
Ok. Cwtch Version 1.3. I just switched to VPN an no Cwtch connections lost. So much for that part of the theory. Although I do see "Fix Tor integration on MacOS" in the changelog for 1.3 so that appears to be fixed. Of course, when the hard drive sleeps the wifi conection is lost so obviously Cwtch connections are lost.
I keep running into this bug, on desktop Arch Linux, running cwtch 1.3 (also affected earlier versions).
Closing and re-opening cwtch fixes the issue when it happens, and the group chats come online again.
Is there anything I could do to help debug this further, next time it happens?
There is a quicker fix within Cwtch - reset the tor circuit from either the settings screen or the main view. It's the little button that looks like an onion. See attachmentment ;) That usually does the trick.
Intersting. Running with debug enabled
env LOG_LEVEL=debug
might surface some clues - but I don't think there is enough information in those logs to reach a conclusion right now.One work item I want to get around to this sprint is surfacing some more information from the underlying Tor process up to the app level which should hopfully provide some more data on what exactly is happening here.