Bad HTTP status

Support forum for Personal Cloud Sync
Raaert
Veteran Tonidoid
Veteran Tonidoid
Posts: 76
Joined: Fri Apr 13, 2012 10:02 am

Bad HTTP status

Postby Raaert » Sun Nov 04, 2012 4:48 am

10:43:56:123 [0] []:T: type : loginprofile
10:43:56:154 [0] []:T: Login successful!
10:43:56:201 [0] []:T: Authenticated OK
10:43:56:232 [0] []:T: Starting up FS Monitor
10:43:56:279 [8] [Sync]:T: FS Win32 Monitor process starting
10:43:56:279 [0] []:T: Started up
10:44:06:245 [7] [Sync]:T: Tonido::Sync::FSWorker::doLock
10:44:06:310 [7] [Sync]:T: Tonido::Sync::FSWorker::doGetSyncDelta
10:44:06:310 [3] [default[#1]]:T: Tonido::Sync::RefreshLockActivity::run
10:44:06:342 [7] [Sync]:T: Loading Sync DataStore from DB
10:44:44:324 [7] [Sync]:T: FS Need to Download : 23208
10:44:44:417 [7] [Sync]:T: FS Need to Update : 0
10:44:44:464 [7] [Sync]:T: Tonido::Sync::FSWorker::doDownloadFiles
10:44:44:495 [7] [Sync]:D: Tonido::TonidoConnector::downloadFile : Downloading file [IMG_1425.JPG] in path [data\profiles\gseindal\userdata\TonidoSyncData\server\cache\Billeder\Clara\IKKE SORTERET 2012\IMG_1425.JPG] to [C:\Users\Jeanette\AppData\Roaming\TonidoSyncData\client\.tonidocache\Billeder\Clara\IKKE SORTERET 2012\IMG_1425.JPG]
10:44:44:573 [7] [Sync]:T: Tonido::TonidoConnector::downloadFile : /core/downloadfile?filepath=data%5Cprofiles%5Cgseindal%5Cuserdata%5CTonidoSyncData%5Cserver%5Ccache%5CBilleder%5CClara%5CIKKE%20SORTERET%202012%5CIMG_1425.JPG&filename=IMG_1425.JPG&app=sync
10:44:44:636 [7] [Sync]:E: Tonido::TonidoConnector::downloadFile : Bad HTTP Status
10:44:44:745 [7] [Sync]:D: Tonido::TonidoConnector::downloadFile : Downloading file [IMG_1425.JPG] in path [data\profiles\gseindal\userdata\TonidoSyncData\server\cache\Billeder\Clara\IKKE SORTERET 2012\IMG_1425.JPG] to [C:\Users\Jeanette\AppData\Roaming\TonidoSyncData\client\.tonidocache\Billeder\Clara\IKKE SORTERET 2012\IMG_1425.JPG]
10:44:44:870 [7] [Sync]:T: Tonido::TonidoConnector::downloadFile : /core/downloadfile?filepath=data%5Cprofiles%5Cgseindal%5Cuserdata%5CTonidoSyncData%5Cserver%5Ccache%5CBilleder%5CClara%5CIKKE%20SORTERET%202012%5CIMG_1425.JPG&filename=IMG_1425.JPG&app=sync
10:44:44:963 [7] [Sync]:E: Tonido::TonidoConnector::downloadFile : Bad HTTP Status
10:44:45:010 [7] [Sync]:E: Download FAILED: IMG_1425.JPG
10:44:45:041 [7] [Sync]:T: Tonido::Sync::FSWorker::doUnlock
10:44:46:633 [3] [default[#1]]:T: Ending RefreshLockActivity
10:44:46:679 [7] [Sync]:T: Requesting another FS Scan

I keep getting 'Bad HTTP Status', no matter if i sync via the internet or locally.
Server version and client version is the newest available.

I have another laptop that syncs with the server just fine.

Raaert
Veteran Tonidoid
Veteran Tonidoid
Posts: 76
Joined: Fri Apr 13, 2012 10:02 am

Re: Bad HTTP status

Postby Raaert » Sun Nov 04, 2012 4:53 am

I've tried restarting the Tonido server without luck.
Also a sidenote, Tonido runs as a service on the server.

Raaert
Veteran Tonidoid
Veteran Tonidoid
Posts: 76
Joined: Fri Apr 13, 2012 10:02 am

Re: Bad HTTP status

Postby Raaert » Sun Nov 04, 2012 6:27 am

It seems like the error is this:

12:20:27:667 [17] [TCPServerConnection (default[#5])]:T: HTTP Request [82.211.216.162] [GET] [/core/downloadfile?filepath=data%5Cprofiles%5Cgseindal%5Cuserdata%5CTonidoSyncData%5Cserver%5Ccache%5CBilleder%5CClara%5CIKKE%20SORTERET%202012%5CIMG_1425.JPG&filename=IMG_1425.JPG&app=sync]
12:20:27:668 [5] [UserManager]:T: Tonido::System::UserManager::onDownloadFile Unable to locate File : data\profiles\gseindal\userdata\TonidoSyncData\server\cache\Billeder\Clara\IKKE SORTERET 2012\IMG_1425.JPG

.. But this is the wrong way of doing it. It should not use the cached data to send out, but the original data. In this case i cleared the cached data manually, so now it won't sync, because it cannot see it in cache? This is not correct.

(Im manually rebuilding the cache right now, to see if it fixes this error).

Please let me hear your thoughts on this Madhan.

Raaert
Veteran Tonidoid
Veteran Tonidoid
Posts: 76
Joined: Fri Apr 13, 2012 10:02 am

Re: Bad HTTP status

Postby Raaert » Sun Nov 04, 2012 7:17 am

It worked manually rebuilding the cache. The 2nd laptop is now downloading files from the server.

Shouldn't Tonido rebuild cache automatically?

User avatar
madhan
Admin Tonidoid
Admin Tonidoid
Posts: 8617
Joined: Tue Dec 30, 2008 12:13 am
Location: Austin, TX, USA
Contact:

Re: Bad HTTP status

Postby madhan » Mon Nov 05, 2012 9:55 am

Was the file actually in that location OK?
I need to see how that situation could happen.

Raaert
Veteran Tonidoid
Veteran Tonidoid
Posts: 76
Joined: Fri Apr 13, 2012 10:02 am

Re: Bad HTTP status

Postby Raaert » Mon Nov 05, 2012 11:23 am

As you can see from this:

12:20:27:668 [5] [UserManager]:T: Tonido::System::UserManager::onDownloadFile Unable to locate File : data\profiles\gseindal\userdata\TonidoSyncData\server\cache\Billeder\Clara\IKKE SORTERET 2012\IMG_1425.JPG

It tries to download the file from the cached data, instead of the ACTUAL data.

The situation happened, when i switched from normal running mode to running Tonido as a service, and to clear space on my raid, i deleted ALL cached files from both the original installation and the new tonido as a service installation.

I then manually copied all the files from the actual folder to the cached folder - This fixed the issue.


To clarify:
I have about 40 GB of files in my TonidoSync folder on my laptop. When i switched to Tonido as a service, the laptop had to sync all 40 GB back to the server. This created the cache just fine.
But as i did not know which of the 2 cache folders was being used for the service, i deleted all files in both. Now the laptop and the server had all the files in their folders, but none in the cache. I then started sync on a new laptop - this is when i got the error. I looked through the logs and found the cause. I manually created alle the cache files (by copying them from the original folder to the cache folder - so they were 100% identical), and the sync'ing started working again.


Return to “Tonido Sync v1 - Archived”

Who is online

Users browsing this forum: Google [Bot] and 3 guests