client icon indicating copy to clipboard operation
client copied to clipboard

"Host not found" after suspend - need restart client

Open Maroldi opened this issue 13 years ago • 11 comments

Expected behaviour

Returning from Suspend mode on Windows, the client should resume syncing

Actual behaviour

The icon shows red cross, the message is "Host not found" A click on "Pause" and "Resume" does not recover syncing You have to exit and restart client

Steps to reproduce

  1. Put you laptop in suspend mode
  2. Wait, we noted that if you recover immediately, the sync restarts. If you wait (try 10-15 minutes) the problem occours

Server configuration

Operating system: CentOs 6.4 Web server: Apache 2.2.15 Database: MySQL PHP version: 5.4.15 ownCloud version: 5.0.11 Storage backend: GlusterFS

Client configuration

Client version: 1.4.1 windows OS language: Italian

Maroldi avatar Oct 02 '13 07:10 Maroldi

Same cause is in Issue #1040 ?

a-schild avatar Oct 02 '13 16:10 a-schild

I can confirm this issue occurs also in exact same manner. If laptop waits a while, it will be stuck with "host not found". A client restart finds the server with no issues. Trying to capture a log file.

Server configuration

Operating system: RedHat 6.4 Web server: Apache 2.2.15 Database: MySQL ownCloud version: 5.0.11 Storage backend: Ext4 Client configuration

Client version: 1.4.1 windows OS language: English

jkohout avatar Oct 02 '13 17:10 jkohout

With Client 1.5.3 on Windows 7, I still see the issue: oc_sync_1 With my Linux and OS X client (all 1.5.3), I have no problems.

blackm avatar Mar 28 '14 12:03 blackm

I can probably confirm this issue with Linux client.

I have noticed following problem: when I uploaded file to OC server, then deleted it through desktop client and then restored it back, the desktop client started to sync as expected. Then I suspended the laptop, woke it up again and waited for few hours, but downloading of the file was still at the same point where it was before suspend. I checked the temporary file that OC creates when downloading and it was not growing. Restarting the desktop client solves this problem.

Desktop OS is ubuntu 13.10, server OS is debian stable. Browser used for experiment is Firefox. OwnCloud server version is 6.0.2, desktop client version is 1.5.3.

How to reproduce:

  1. Upload larger file so it does not transfer instantly to owncloud using desktop client.
  2. On the desktop delete the file and wait until deletion is synchronized on server.
  3. In owncloud WEB UI restore deleted file.
  4. Wait for desktop client to start downloading the restored file.
  5. Suspend client computer for few minutes.
  6. Resume client computer - now OC desktop client is still "downloading" but its GUI does not redraw anymore and size of temporary file (name starting with dot) is not gettin larger. This situation does not change after few hours.

Workaround: Kill desktop client and start it again. The download will continue where it was interrupted.

radimluza avatar Apr 03 '14 14:04 radimluza

I tested it and I have not been able to reproduce it so that I close this issue. If someone were able to reproduce it, please, reopen it. Thx

luciamaestro avatar Jul 23 '14 08:07 luciamaestro

With 1.6.1 on Windows 7 I still see the issue :-(

I will have a look at the log and see if this changed from the March 2014 comment

blackm avatar Jul 23 '14 08:07 blackm

When using a proxy I get this:

2014-07-23_oclog

blackm avatar Jul 23 '14 08:07 blackm

I'm having the same issue on Windows 7, however it is constantly occurring on 2 different clients. Both state <my_host_here> not found, quitting and restarting application doesn't fix it. The web application is accessible and pingable from both clients. I'm a bit new at reporting bugs for ownCloud...what command do I need to run to trigger a sync from the command line to generate output like the previous comments?

radioactiv avatar Jul 25 '14 04:07 radioactiv

@radioactiv you have to open the command line, change to owncloud directory and run

owncloud.exe --logfile -

blackm avatar Jul 25 '14 19:07 blackm

some more feedback: I have tested this over the week and was surprised this the client was still running after resuming. I only had the one failure that I reported above.

I will observe the situation over the next week (1.6.2 is released next week, right?) and give more feedback.

blackm avatar Jul 25 '14 19:07 blackm

I did not had any issues the last 10 days - also 1.6.2 works fine, so I close the issue

:-)

blackm avatar Aug 04 '14 11:08 blackm