question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

App doesn't show folder-share requests from other devices, except in Web GUI

See original GitHub issue

Description of the issue

If another device (like a PC) tries to share a folder with Syncthing-Fork on Android, the app doesn’t prompt the user that the folder is available for download. You only receive the prompt once you open the Web GUI (which doesn’t work on my tablet’s LineageOS without GApps, until I install Bromite WebView).

Reproducer

  • Connect Syncthing-Fork on Android, and Syncthing on a PC.
  • On the PC, click a folder, click Edit, and on the Sharing tab, check Syncthing-Fork.
  • On Android, wait to receive the folder. It’ll never arrive.

Version Information

App Version: 1.8.0.3
Syncthing Version: v1.8.0
Android Version: Android 9 (LineageOS custom ROM)
Device manufacturer: Samsung
Device model: SM-T510

Device platform info

[ro.product.board]: [universal7885]
[ro.product.brand]: [Android]
[ro.product.cpu.abi]: [armeabi-v7a]
[ro.product.cpu.abi2]: [armeabi]
[ro.product.cpu.abilist]: [armeabi-v7a,armeabi]
[ro.product.cpu.abilist32]: [armeabi-v7a,armeabi]
[ro.product.cpu.abilist64]: []
[ro.product.device]: [phhgsi_a64_ab]
[ro.product.first_api_level]: [28]
[ro.product.locale]: [en-US]
[ro.product.manufacturer]: [unknown]
[ro.product.model]: [Phh-Treble vanilla]
[ro.product.name]: [treble_a64_bvN]
[ro.product.vendor.brand]: [samsung]
[ro.product.vendor.device]: [gta3xlwifi]
[ro.product.vendor.manufacturer]: [samsung]
[ro.product.vendor.model]: [SM-T510]
[ro.product.vendor.name]: [gta3xlwifixx]

Android Log

https://gist.githubusercontent.com/nyanpasu64/a8eb8b8ff0abbc13aafbf49761dbd8e6/raw/79b253a43c4801e5a96666c7cf071d0e7c85d3af/syncthing-android%2520logcat

The relevant line is here:

2020-08-28 06:50:10.379 18501-18545/com.github.catfriend1.syncthingandroid I/SyncthingNativeCode: [COKI3] INFO: Unexpected folder “ebooks” (7hcwu-pzhhi) sent from device “HCFGYJX-4NRX73J-PSS6UHS-IPEUZVG-MXUK6YN-O7ZLSCB-NZGZQML-J4ZYLQV”; ensure that the folder exists and that this device is selected under “Share With” in the folder configuration.

When I open the web GUI, I get the following logcat without anything interesting: https://gist.githubusercontent.com/nyanpasu64/a8eb8b8ff0abbc13aafbf49761dbd8e6/raw/33e73e62558ce0907cc71aafb55b2f2b947ec2a3/open%2520web%2520gui

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:12 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
Pfeilcommented, Dec 31, 2020

Sorry I must have overseen that setting. This worked. Thanks 😃

0reactions
Catfriend1commented, Dec 31, 2020

ok, the point is, “Internet global” discovery takes a long time to connect my devices when I try this here. maybe local connection or static ip is faster.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Can't access shared folders from File Explorer - Windows Client
Open Control Panel. · Select Programs > Programs and Features > Turn Windows features on or off > SMB 1.0/CIFS File Sharing Support....
Read more >
Manage all files on a storage device - Android Developers
Request All files access; Operations that MANAGE_EXTERNAL_STORAGE allows; Invoke another app's storage management activity; Enable MANAGE_EXTERNAL_STORAGE ...
Read more >
I cannot access a shared folder on my Synology NAS via SMB ...
DSM 6.2 and below: Go to Storage Manager > Volume to view the volume status. The shared folder you want to access exists...
Read more >
Manage shared drives as an admin - Google Support
To prevent shared drive members from giving non-members view, comment, or edit access to files in shared drives, or sharing these files with...
Read more >
Control access to files and folders on Mac - Apple Support
On your Mac, control which apps and websites can access your files and folders in your Desktop, Downloads, and Documents folders.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found