mvysny / photocloud-frame-slideshow

Android Digital Photo Frame
https://www.android-photo-frame.eu
14 stars 1 forks source link

Samba connection error #115

Closed rajdude closed 3 years ago

rajdude commented 4 years ago

Hello, Samba server connection is giving me an error. Pasted below. Looks like it's trying to connect to the correct machine, because the IP address is showing up in the error message, and that IP address is correct.

Any tips on how to resolve this? By the way, is there any way to enter credentials of the network share?

Screenshot_20190916-103532

mvysny commented 4 years ago

Hi, the java.net.SocketException: Connection Reset suggests that Samba is not running on 10.1.1.50, or there is a firewall or something like that. SocketException: Connection Reset means that a TCP connection cannot be made, which is needed for connect to any server. Please try other Samba software to connect from your phone, e.g. ES File Explorer.

After the connection is successfully made, PhotoCloud will ask for username/password if they are needed.

rajdude commented 4 years ago

Hello Martin, thanks for responding. I am able to connect to the server using samba if I use another app like file manager +. Check screenshot below...

Screenshot_20190916-130542

mvysny commented 4 years ago

Hmm,. that's weird. Could you try to connect to an IP address of the server (judging from the logs it's 10.1.1.50) instead, both from photocloud and the other app? This can rule out some weird dns hostname-to-ip resolution.

rajdude commented 4 years ago

Ok I just tried that. Got an error. Please see screenshot attached...

-Raj (Sent from my cellphone)

Get BlueMail for Androidhttp://www.bluemail.me/r?b=15635 On Sep 16, 2019, at 11:49 PM, Martin Vysny notifications@github.com<mailto:notifications@github.com> wrote:

Hmm,. that's weird. Could you try to connect to an IP address of the server (judging from the logs it's 10.1.1.50) instead, both from photocloud and the other app? This can rule out some weird dns hostname-to-ip resolution.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/mvysny/photocloud-frame-slideshow/issues/115?email_source=notifications&email_token=AKRDX7CHRM5LGZAYWU65S6TQKBHUTA5CNFSM4IXDFWCKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD63GF7Q#issuecomment-532046590, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AKRDX7CPD5VD2RENWIUL5ULQKBHUTANCNFSM4IXDFWCA.

rajdude commented 4 years ago

Screenshot_20190917-130414

Sorry, here is the screenshot. It didn't make it to this thread when I emailed it

mvysny commented 4 years ago

Still SocketException - Connection Reset. I wonder if it is because of some weird TCP/IP firewall settings, or whether I'm packing too old jcifs library. Unfortunately it's not easy to upgrade, see #100 for more details.

The Stack Overflow article at https://stackoverflow.com/questions/62929/java-net-socketexception-connection-reset lists possible causes for that, I wonder if something applies to this case.

mvysny commented 3 years ago

A new Samba client has been implemented. Please try out PhotoCloud 1.13.18 once it's released. Closing.

rajdude commented 3 years ago

ok thanks Martin. When is 1.13.18 going to be released? I still have 1.13.17 .