Is the app forgetting my alternative port number?

Issue description:

This may be a repost of the issue Smb settings not saving . It says it has been handled, but it is not solved. I use smb with an alternative port number. In the server address section I enter ‘domain name: port number’. It starts a scan of the music files in the specified folder. So far so good. When I reset the internet connection by switching off the wifi circuit, 5G kicks in and my smb provider is displayed as being offline. This situation is going on until I restart my phone. The server really is not offline. I think the app does not recall my alternative port number and at the default port number of smb there is nobody home. When I go to the settings of my smb provider, at the server address it says only ‘domain name’ without a port number. When I reenter the port number, all is OK again. In the log, I have created a test provider with the folder called ‘music2’. This provider was configured to work on wifi connections only, but the other provider has been configured to work with 5G, and this provider is displayed (wrongfully) as being offline when 5G kicks in.

Logs:

Upload description: bertjan1968

Additional information:

Reproduction steps:

Media provider:

Samba

Screenshots:

The port is not lost, it’s just not displayed in the edit page, will fix that.

Your issue is that the connection is reset and does not recover. Do you use a proxy or something in the middle ? Can you check the server logs if it reject connection as he think the previous one is still up ?

Hi Tolriq,

I checked for failed smb connection atempts in windows, and did not find any. I am not 100 percent sure if that means there ar’nt any, because I may have overlooked them.

I use OpenVPN client for Android, but I have alowed Symfonium to bypass the VPN, so the VPN should not interfere with Symfonium’s communication. I found that the problem is also occuring without VPN. I haven’t found out what triggers the problem, but it always happens after a connection reset.

I made an extra smb provider which is pointing to the same server. One provider was offline, while the other was online. Maybe this can help you.

Is there a way to reset Symfonium’s process(es) without restarting the phone? That would really be conventient. That would be a good work around.

Thanks,

Bert-Jan

You can just force kill the app.

And no I have no idea, I’ve added logs to see if there’s a problem closing the connection before opening it again but can’t reproduce.