After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 618524 - Firewall blocks ability to browse shares. Error "unable to mount location - failed to retrieve share list from server" is displayed
Firewall blocks ability to browse shares. Error "unable to mount location - f...
Status: RESOLVED OBSOLETE
Product: gvfs
Classification: Core
Component: smb backend
1.6.x
Other Linux
: Normal normal
: ---
Assigned To: gvfs-maint
gvfs-maint
Depends on:
Blocks:
 
 
Reported: 2010-05-13 10:33 UTC by komputes
Modified: 2018-09-21 17:03 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description komputes 2010-05-13 10:33:12 UTC
Going to Places > Nework returns "unable to mount location - failed to retrieve share list from server" when a firewall is enabled.

Turning off ufw (firewall) allowed me to receive responses from the samba broadcast (tested in GNOME's "Places > Network" and with smbtree). If you have a firewall enabled, try turning it off to see if you are able to see network shares instead of getting this error. If you need to close of the firewall as much as possible, allow inbound udp ports 1024-65535 to browse shares through Places > Network.

The "unable to mount location - failed to retrieve share list from server" error is not quite descriptive of the actual issue because:
1) You are not trying to contact one specific server, but sending a broadcast message to have all servers respond.
2) If we can detect that these ports (inbound udp ports 1024-65535) are blocked, the error message should explain that they may want to check their firewall.

Originally reported here:
https://bugs.edge.launchpad.net/ubuntu/+source/gvfs/+bug/474020
Comment 1 Tomas Bzatek 2010-05-28 15:06:25 UTC
Yes, that's how it works now. Most of the network issues, including blocked ports, is masked by underlying smbclient so we usually don't get the real reason for failure.
Comment 2 GNOME Infrastructure Team 2018-09-21 17:03:22 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gvfs/issues/146.