Fail Uploading Cases to csweb server

Discussions about syncing data via Bluetooth, Dropbox, FTP, and using CSWeb
Post Reply
naylinnsoe
Posts: 31
Joined: June 22nd, 2012, 7:14 am
Location: Yangon

Fail Uploading Cases to csweb server

Post by naylinnsoe »

Dear All,

I can't upload cases to local csweb server

The error message is "Error connecting to server: Failed uploading cases. (500).

Why this error occur and how to solve this?

Testing connection is successful.
error.png
error.png (2.56 KiB) Viewed 8374 times
Myanmar
josh
Posts: 2401
Joined: May 5th, 2014, 12:49 pm
Location: Washington DC

Re: Fail Uploading Cases to csweb server

Post by josh »

Error 500 could be many things. Please look in the sync.log file located in C:\Users\<your username>\AppData\Roaming\CSPro. It will have details on the error. You should also look at the api.log in the logs directory on your web server.
naylinnsoe
Posts: 31
Joined: June 22nd, 2012, 7:14 am
Location: Yangon

Re: Fail Uploading Cases to csweb server

Post by naylinnsoe »

I have already tested on two computers and got the same error. I think this error occur because of csweb can you check?
Myanmar
josh
Posts: 2401
Joined: May 5th, 2014, 12:49 pm
Location: Washington DC

Re: Fail Uploading Cases to csweb server

Post by josh »

Please post the log files as mentioned above so we can see what the error is.
naylinnsoe
Posts: 31
Joined: June 22nd, 2012, 7:14 am
Location: Yangon

Re: Fail Uploading Cases to csweb server

Post by naylinnsoe »

Dear Josh,
Please CSPro log

09/08/2017 17:52:37.312 INFO: Connect to server http://192.168.1.61/api using saved credentials
09/08/2017 17:52:51.140 ERROR: Error from server:
09/08/2017 17:52:51.140 ERROR: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL /api/token was not found on this server.</p>
<hr>
<address>Apache/2.4.23 (Win64) PHP/7.0.10 Server at 192.168.1.61 Port 80</address>
</body></html>

09/08/2017 17:53:00.406 ERROR: Error from server:
09/08/2017 17:53:00.406 ERROR: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL /api/token was not found on this server.</p>
<hr>
<address>Apache/2.4.23 (Win64) PHP/7.0.10 Server at 192.168.1.61 Port 80</address>
</body></html>

09/08/2017 17:53:04.250 ERROR: Error from server:
09/08/2017 17:53:04.250 ERROR: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL /api/token was not found on this server.</p>
<hr>
<address>Apache/2.4.23 (Win64) PHP/7.0.10 Server at 192.168.1.61 Port 80</address>
</body></html>

09/08/2017 17:54:22.796 ERROR: Error from server:
09/08/2017 17:54:22.796 ERROR: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL /api/token was not found on this server.</p>
<hr>
<address>Apache/2.4.23 (Win64) PHP/7.0.10 Server at 192.168.1.61 Port 80</address>
</body></html>

09/08/2017 17:54:23.062 ERROR: Error from server:
09/08/2017 17:54:23.062 ERROR: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL /api/token was not found on this server.</p>
<hr>
<address>Apache/2.4.23 (Win64) PHP/7.0.10 Server at 192.168.1.61 Port 80</address>
</body></html>

09/08/2017 17:54:24.921 ERROR: Error from server:
09/08/2017 17:54:24.921 ERROR: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL /api/token was not found on this server.</p>
<hr>
<address>Apache/2.4.23 (Win64) PHP/7.0.10 Server at 192.168.1.61 Port 80</address>
</body></html>

09/08/2017 17:54:25.609 INFO: Canceled connection
09/08/2017 17:54:28.609 INFO: Connect to server http://192.168.1.61/api using saved credentials
09/08/2017 17:54:36.031 ERROR: Error from server:
09/08/2017 17:54:36.031 ERROR: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL /api/token was not found on this server.</p>
<hr>
<address>Apache/2.4.23 (Win64) PHP/7.0.10 Server at 192.168.1.61 Port 80</address>
</body></html>

09/08/2017 17:54:39.890 INFO: Canceled connection
09/08/2017 17:54:52.078 INFO: Connect to server http://192.168.1.61/api using saved credentials
09/08/2017 17:55:07.593 ERROR: Error from server:
09/08/2017 17:55:07.593 ERROR: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL /api/token was not found on this server.</p>
<hr>
<address>Apache/2.4.23 (Win64) PHP/7.0.10 Server at 192.168.1.61 Port 80</address>
</body></html>

09/08/2017 17:55:15.875 ERROR: Error from server:
09/08/2017 17:55:15.875 ERROR: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL /api/token was not found on this server.</p>
<hr>
<address>Apache/2.4.23 (Win64) PHP/7.0.10 Server at 192.168.1.61 Port 80</address>
</body></html>

09/08/2017 17:55:15.546 ERROR: Error from server:
09/08/2017 17:55:15.546 ERROR: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL /api/token was not found on this server.</p>
<hr>
<address>Apache/2.4.23 (Win64) PHP/7.0.10 Server at 192.168.1.61 Port 80</address>
</body></html>

09/08/2017 17:55:16.343 INFO: Canceled connection
09/08/2017 17:55:34.437 INFO: Connect to server http://192.168.1.61/api using saved credentials
09/08/2017 17:55:44.046 ERROR: Error from server:
09/08/2017 17:55:44.046 ERROR: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL /api/token was not found on this server.</p>
<hr>
<address>Apache/2.4.23 (Win64) PHP/7.0.10 Server at 192.168.1.61 Port 80</address>
</body></html>

09/08/2017 17:55:45.937 ERROR: Error from server:
09/08/2017 17:55:45.937 ERROR: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL /api/token was not found on this server.</p>
<hr>
<address>Apache/2.4.23 (Win64) PHP/7.0.10 Server at 192.168.1.61 Port 80</address>
</body></html>

09/08/2017 17:55:45.421 INFO: Canceled connection
09/08/2017 17:56:04.562 INFO: Connect to server http://192.168.1.61/api using saved credentials
09/08/2017 17:56:06.875 INFO: Canceled connection
09/08/2017 17:56:09.062 INFO: Connect to server http://192.168.1.61/api using saved credentials
09/08/2017 17:56:16.000 ERROR: Error from server:
09/08/2017 17:56:16.000 ERROR: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL /api/token was not found on this server.</p>
<hr>
<address>Apache/2.4.23 (Win64) PHP/7.0.10 Server at 192.168.1.61 Port 80</address>
</body></html>

09/08/2017 17:56:17.359 INFO: Canceled connection
09/08/2017 17:56:41.156 INFO: Connect to server http://192.168.1.61/api using saved credentials
09/08/2017 17:56:53.593 ERROR: Error from server:
09/08/2017 17:56:53.593 ERROR: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL /api/token was not found on this server.</p>
<hr>
<address>Apache/2.4.23 (Win64) PHP/7.0.10 Server at 192.168.1.61 Port 80</address>
</body></html>

09/08/2017 17:56:56.171 ERROR: Error from server:
09/08/2017 17:56:56.171 ERROR: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL /api/token was not found on this server.</p>
<hr>
<address>Apache/2.4.23 (Win64) PHP/7.0.10 Server at 192.168.1.61 Port 80</address>
</body></html>

09/08/2017 17:56:57.734 ERROR: Error from server:
09/08/2017 17:56:57.734 ERROR: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL /api/token was not found on this server.</p>
<hr>
<address>Apache/2.4.23 (Win64) PHP/7.0.10 Server at 192.168.1.61 Port 80</address>
</body></html>

09/08/2017 17:56:57.218 INFO: Canceled connection
09/08/2017 17:58:18.140 INFO: Connect to server http://192.168.1.61/api using saved credentials
09/08/2017 17:58:22.265 ERROR: Error from server:
09/08/2017 17:58:22.265 ERROR: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL /api/token was not found on this server.</p>
<hr>
<address>Apache/2.4.23 (Win64) PHP/7.0.10 Server at 192.168.1.61 Port 80</address>
</body></html>

09/08/2017 17:58:23.484 ERROR: Error from server:
09/08/2017 17:58:23.484 ERROR: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL /api/token was not found on this server.</p>
<hr>
<address>Apache/2.4.23 (Win64) PHP/7.0.10 Server at 192.168.1.61 Port 80</address>
</body></html>

09/08/2017 17:58:25.828 INFO: Canceled connection
09/08/2017 18:00:57.312 INFO: Connect to server http://192.168.1.61/api using saved credentials
09/08/2017 18:01:04.312 ERROR: Error from server:
09/08/2017 18:01:04.312 ERROR: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL /api/token was not found on this server.</p>
<hr>
<address>Apache/2.4.23 (Win64) PHP/7.0.10 Server at 192.168.1.61 Port 80</address>
</body></html>

09/08/2017 18:01:06.968 ERROR: Error from server:
09/08/2017 18:01:06.968 ERROR: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL /api/token was not found on this server.</p>
<hr>
<address>Apache/2.4.23 (Win64) PHP/7.0.10 Server at 192.168.1.61 Port 80</address>
</body></html>

09/08/2017 18:01:09.515 ERROR: Error from server:
09/08/2017 18:01:09.515 ERROR: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL /api/token was not found on this server.</p>
<hr>
<address>Apache/2.4.23 (Win64) PHP/7.0.10 Server at 192.168.1.61 Port 80</address>
</body></html>

09/08/2017 18:05:00.125 INFO: Connect to server http://192.168.1.61/api using saved credentials
09/08/2017 18:05:08.531 ERROR: Error from server:
09/08/2017 18:05:08.531 ERROR: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL /api/token was not found on this server.</p>
<hr>
<address>Apache/2.4.23 (Win64) PHP/7.0.10 Server at 192.168.1.61 Port 80</address>
</body></html>

09/08/2017 18:06:50.687 INFO: Canceled connection
09/08/2017 18:06:53.109 INFO: Canceled connection
09/08/2017 18:07:03.765 INFO: Connect to server http://192.168.1.61/csweb/api using saved credentials
09/08/2017 18:07:09.625 INFO: Server API version: 1
09/08/2017 18:07:09.625 INFO: Connection successful. Server id: http://localhost/csweb/api/
09/08/2017 18:07:09.625 INFO: Disconnecting from server
09/08/2017 18:15:22.343 INFO: Connect to server http://192.168.1.61/csweb/api using saved credentials
09/08/2017 18:15:28.156 INFO: Server API version: 1
09/08/2017 18:15:28.156 INFO: Connection successful. Server id: http://localhost/csweb/api/
09/08/2017 18:15:28.156 INFO: Disconnecting from server
09/08/2017 18:31:32.750 INFO: Connect to server http://192.168.1.61/csweb/api using saved credentials
09/08/2017 18:31:39.609 INFO: Server API version: 1
09/08/2017 18:31:39.609 INFO: Connection successful. Server id: http://localhost/csweb/api/
09/08/2017 18:31:40.640 INFO: Syncing data: Healthy_Beverages_BHT_2017Data.csdb direction BOTH universe ""
09/08/2017 18:31:40.640 INFO: First time GET with this server
09/08/2017 18:31:40.640 INFO: Start case download with chunk size of 100
09/08/2017 18:31:40.843 INFO: Status : 200
09/08/2017 18:31:40.843 INFO: Cases in chunk 0. Server count = 0/0
09/08/2017 18:31:40.187 INFO: New server revision = 1
09/08/2017 18:31:40.187 INFO: Sync GET completed.
09/08/2017 18:31:40.187 INFO: Downloaded 0 cases
09/08/2017 18:31:40.187 INFO: 0 new cases, 0 updated, 0 ignored, 0 conflicts
09/08/2017 18:31:40.187 INFO: First time PUT with this server
09/08/2017 18:31:40.187 INFO: Total new/modified cases since last sync: 1
09/08/2017 18:31:41.031 ERROR: HTTP error: 500
09/08/2017 18:31:41.031 ERROR: {"type":"error","status":500,"code":"upload_cases_error","message":"Failed uploading cases"}
09/08/2017 18:31:41.031 INFO: Retrying. Attempt #1
09/08/2017 18:31:42.109 ERROR: HTTP error: 500
09/08/2017 18:31:42.109 ERROR: {"type":"error","status":500,"code":"upload_cases_error","message":"Failed uploading cases"}
09/08/2017 18:31:42.109 INFO: Retrying. Attempt #2
09/08/2017 18:31:44.000 ERROR: HTTP error: 500
09/08/2017 18:31:44.000 ERROR: {"type":"error","status":500,"code":"upload_cases_error","message":"Failed uploading cases"}
09/08/2017 18:31:44.000 INFO: Retrying. Attempt #3
09/08/2017 18:31:46.156 ERROR: HTTP error: 500
09/08/2017 18:31:46.156 ERROR: {"type":"error","status":500,"code":"upload_cases_error","message":"Failed uploading cases"}
09/08/2017 18:34:39.187 ERROR: Error syncing data: 100101 Failed uploading cases. (500)
09/08/2017 18:34:39.187 INFO: Disconnecting from server
09/08/2017 18:34:45.296 INFO: Connect to server http://192.168.1.61/csweb/api using saved credentials
09/08/2017 18:34:45.406 INFO: Server API version: 1
09/08/2017 18:34:45.406 INFO: Connection successful. Server id: http://localhost/csweb/api/
09/08/2017 18:34:45.421 INFO: Syncing data: Healthy_Beverages_BHT_2017Data.csdb direction BOTH universe ""
09/08/2017 18:34:45.421 INFO: Last GET with this server 2017-08-09 18:31:40 local rev 2 server rev "1"
09/08/2017 18:34:45.421 INFO: Start case download with chunk size of 100
09/08/2017 18:34:45.531 INFO: Status : 200
09/08/2017 18:34:45.531 INFO: Cases in chunk 0. Server count = 0/0
09/08/2017 18:34:46.781 INFO: New server revision = 1
09/08/2017 18:34:46.781 INFO: Sync GET completed.
09/08/2017 18:34:46.781 INFO: Downloaded 0 cases
09/08/2017 18:34:46.781 INFO: 0 new cases, 0 updated, 0 ignored, 0 conflicts
09/08/2017 18:34:46.781 INFO: First time PUT with this server
09/08/2017 18:34:46.781 INFO: Total new/modified cases since last sync: 1
09/08/2017 18:34:46.562 ERROR: HTTP error: 500
09/08/2017 18:34:46.562 ERROR: {"type":"error","status":500,"code":"upload_cases_error","message":"Failed uploading cases"}
09/08/2017 18:34:46.562 INFO: Retrying. Attempt #1
09/08/2017 18:34:48.078 ERROR: HTTP error: 500
09/08/2017 18:34:48.078 ERROR: {"type":"error","status":500,"code":"upload_cases_error","message":"Failed uploading cases"}
09/08/2017 18:34:48.078 INFO: Retrying. Attempt #2
09/08/2017 18:34:50.078 ERROR: HTTP error: 500
09/08/2017 18:34:50.078 ERROR: {"type":"error","status":500,"code":"upload_cases_error","message":"Failed uploading cases"}
09/08/2017 18:34:50.078 INFO: Retrying. Attempt #3
09/08/2017 18:34:53.796 ERROR: HTTP error: 500
09/08/2017 18:34:53.796 ERROR: {"type":"error","status":500,"code":"upload_cases_error","message":"Failed uploading cases"}
09/08/2017 18:34:54.703 ERROR: Error syncing data: 100101 Failed uploading cases. (500)
09/08/2017 18:34:54.703 INFO: Disconnecting from server
09/08/2017 18:35:54.640 INFO: Connect to server http://192.168.1.61/csweb/api using saved credentials
09/08/2017 18:35:54.750 INFO: Server API version: 1
09/08/2017 18:35:54.750 INFO: Connection successful. Server id: http://localhost/csweb/api/
09/08/2017 18:35:54.765 INFO: Syncing data: Healthy_Beverages_BHT_2017Data.csdb direction BOTH universe ""
09/08/2017 18:35:54.765 INFO: Last GET with this server 2017-08-09 18:34:45 local rev 3 server rev "1"
09/08/2017 18:35:54.765 INFO: Start case download with chunk size of 100
09/08/2017 18:35:54.859 INFO: Status : 200
09/08/2017 18:35:54.859 INFO: Cases in chunk 0. Server count = 0/0
09/08/2017 18:35:54.125 INFO: New server revision = 1
09/08/2017 18:35:54.125 INFO: Sync GET completed.
09/08/2017 18:35:54.125 INFO: Downloaded 0 cases
09/08/2017 18:35:54.125 INFO: 0 new cases, 0 updated, 0 ignored, 0 conflicts
09/08/2017 18:35:54.125 INFO: First time PUT with this server
09/08/2017 18:35:54.125 INFO: Total new/modified cases since last sync: 1
09/08/2017 18:35:55.906 ERROR: HTTP error: 500
09/08/2017 18:35:55.906 ERROR: {"type":"error","status":500,"code":"upload_cases_error","message":"Failed uploading cases"}
09/08/2017 18:35:55.906 INFO: Retrying. Attempt #1
09/08/2017 18:35:56.171 ERROR: HTTP error: 500
09/08/2017 18:35:56.171 ERROR: {"type":"error","status":500,"code":"upload_cases_error","message":"Failed uploading cases"}
09/08/2017 18:35:56.171 INFO: Retrying. Attempt #2
09/08/2017 18:35:58.390 ERROR: HTTP error: 500
09/08/2017 18:35:58.390 ERROR: {"type":"error","status":500,"code":"upload_cases_error","message":"Failed uploading cases"}
09/08/2017 18:35:58.390 INFO: Retrying. Attempt #3
09/08/2017 18:36:02.828 ERROR: HTTP error: 500
09/08/2017 18:36:02.828 ERROR: {"type":"error","status":500,"code":"upload_cases_error","message":"Failed uploading cases"}
09/08/2017 18:39:37.515 ERROR: Error syncing data: 100101 Failed uploading cases. (500)
09/08/2017 18:39:37.515 INFO: Disconnecting from server
09/08/2017 18:44:11.031 INFO: Connect to server http://192.168.1.61/csweb/api using saved credentials
09/08/2017 18:44:11.140 INFO: Server API version: 1
09/08/2017 18:44:11.140 INFO: Connection successful. Server id: http://localhost/csweb/api/
09/08/2017 18:44:11.156 INFO: Syncing data: Healthy_Beverages_BHT_2017Data.csdb direction BOTH universe ""
09/08/2017 18:44:11.156 INFO: Last GET with this server 2017-08-09 18:35:54 local rev 5 server rev "1"
09/08/2017 18:44:11.156 INFO: Start case download with chunk size of 100
09/08/2017 18:44:11.265 INFO: Status : 200
09/08/2017 18:44:11.265 INFO: Cases in chunk 0. Server count = 0/0
09/08/2017 18:44:11.515 INFO: New server revision = 1
09/08/2017 18:44:11.515 INFO: Sync GET completed.
09/08/2017 18:44:11.515 INFO: Downloaded 0 cases
09/08/2017 18:44:11.515 INFO: 0 new cases, 0 updated, 0 ignored, 0 conflicts
09/08/2017 18:44:11.515 INFO: First time PUT with this server
09/08/2017 18:44:11.515 INFO: Total new/modified cases since last sync: 1
09/08/2017 18:44:12.265 ERROR: HTTP error: 500
09/08/2017 18:44:12.265 ERROR: {"type":"error","status":500,"code":"upload_cases_error","message":"Failed uploading cases"}
09/08/2017 18:44:12.265 INFO: Retrying. Attempt #1
09/08/2017 18:44:14.671 ERROR: HTTP error: 500
09/08/2017 18:44:14.671 ERROR: {"type":"error","status":500,"code":"upload_cases_error","message":"Failed uploading cases"}
09/08/2017 18:44:14.671 INFO: Retrying. Attempt #2
09/08/2017 18:44:15.125 ERROR: HTTP error: 500
09/08/2017 18:44:15.125 ERROR: {"type":"error","status":500,"code":"upload_cases_error","message":"Failed uploading cases"}
09/08/2017 18:44:15.125 INFO: Retrying. Attempt #3
09/08/2017 18:44:19.625 ERROR: HTTP error: 500
09/08/2017 18:44:19.625 ERROR: {"type":"error","status":500,"code":"upload_cases_error","message":"Failed uploading cases"}
09/08/2017 18:47:30.171 ERROR: Error syncing data: 100101 Failed uploading cases. (500)
09/08/2017 18:47:30.171 INFO: Disconnecting from server
09/08/2017 18:47:43.625 INFO: Connect to server http://192.168.1.61/csweb/api using saved credentials
09/08/2017 18:47:43.734 INFO: Server API version: 1
09/08/2017 18:47:43.734 INFO: Connection successful. Server id: http://localhost/csweb/api/
09/08/2017 18:47:43.750 INFO: Syncing data: Healthy_Beverages_BHT_2017Data.csdb direction BOTH universe ""
09/08/2017 18:47:43.765 INFO: Last GET with this server 2017-08-09 18:44:11 local rev 6 server rev "1"
09/08/2017 18:47:43.765 INFO: Start case download with chunk size of 100
09/08/2017 18:47:43.859 INFO: Status : 200
09/08/2017 18:47:43.859 INFO: Cases in chunk 0. Server count = 0/0
09/08/2017 18:47:43.109 INFO: New server revision = 1
09/08/2017 18:47:43.109 INFO: Sync GET completed.
09/08/2017 18:47:43.109 INFO: Downloaded 0 cases
09/08/2017 18:47:43.109 INFO: 0 new cases, 0 updated, 0 ignored, 0 conflicts
09/08/2017 18:47:43.109 INFO: First time PUT with this server
09/08/2017 18:47:43.109 INFO: Total new/modified cases since last sync: 1
09/08/2017 18:47:44.890 ERROR: HTTP error: 500
09/08/2017 18:47:44.890 ERROR: {"type":"error","status":500,"code":"upload_cases_error","message":"Failed uploading cases"}
09/08/2017 18:47:44.890 INFO: Retrying. Attempt #1
09/08/2017 18:47:45.031 ERROR: HTTP error: 500
09/08/2017 18:47:45.031 ERROR: {"type":"error","status":500,"code":"upload_cases_error","message":"Failed uploading cases"}
09/08/2017 18:47:45.031 INFO: Retrying. Attempt #2
09/08/2017 18:47:47.906 ERROR: HTTP error: 500
09/08/2017 18:47:47.906 ERROR: {"type":"error","status":500,"code":"upload_cases_error","message":"Failed uploading cases"}
09/08/2017 18:47:47.906 INFO: Retrying. Attempt #3
09/08/2017 18:47:49.078 ERROR: HTTP error: 500
09/08/2017 18:47:49.078 ERROR: {"type":"error","status":500,"code":"upload_cases_error","message":"Failed uploading cases"}
09/08/2017 18:53:25.140 ERROR: Error syncing data: 100101 Failed uploading cases. (500)
09/08/2017 18:53:25.140 INFO: Disconnecting from server
09/08/2017 18:53:28.093 INFO: Connect to server http://192.168.1.61/csweb/api using saved credentials
09/08/2017 18:53:28.250 INFO: Server API version: 1
09/08/2017 18:53:28.250 INFO: Connection successful. Server id: http://localhost/csweb/api/
09/08/2017 18:53:28.265 INFO: Syncing data: Healthy_Beverages_BHT_2017Data.csdb direction BOTH universe ""
09/08/2017 18:53:28.265 INFO: Last GET with this server 2017-08-09 18:47:43 local rev 7 server rev "1"
09/08/2017 18:53:28.265 INFO: Start case download with chunk size of 100
09/08/2017 18:53:28.375 INFO: Status : 200
09/08/2017 18:53:28.375 INFO: Cases in chunk 0. Server count = 0/0
09/08/2017 18:53:29.609 INFO: New server revision = 1
09/08/2017 18:53:29.609 INFO: Sync GET completed.
09/08/2017 18:53:29.609 INFO: Downloaded 0 cases
09/08/2017 18:53:29.609 INFO: 0 new cases, 0 updated, 0 ignored, 0 conflicts
09/08/2017 18:53:29.609 INFO: First time PUT with this server
09/08/2017 18:53:29.609 INFO: Total new/modified cases since last sync: 1
09/08/2017 18:53:29.500 ERROR: HTTP error: 500
09/08/2017 18:53:29.500 ERROR: {"type":"error","status":500,"code":"upload_cases_error","message":"Failed uploading cases"}
09/08/2017 18:53:29.500 INFO: Retrying. Attempt #1
09/08/2017 18:53:31.015 ERROR: HTTP error: 500
09/08/2017 18:53:31.015 ERROR: {"type":"error","status":500,"code":"upload_cases_error","message":"Failed uploading cases"}
09/08/2017 18:53:31.015 INFO: Retrying. Attempt #2
09/08/2017 18:53:33.937 ERROR: HTTP error: 500
09/08/2017 18:53:33.937 ERROR: {"type":"error","status":500,"code":"upload_cases_error","message":"Failed uploading cases"}
09/08/2017 18:53:33.937 INFO: Retrying. Attempt #3
09/08/2017 18:53:36.687 ERROR: HTTP error: 500
09/08/2017 18:53:36.687 ERROR: {"type":"error","status":500,"code":"upload_cases_error","message":"Failed uploading cases"}
09/08/2017 18:53:38.406 ERROR: Error syncing data: 100101 Failed uploading cases. (500)
09/08/2017 18:53:38.421 INFO: Disconnecting from server
09/08/2017 18:54:03.671 INFO: Connect to server http://localhost/csweb/api/ using saved credentials
09/08/2017 18:54:11.734 INFO: Server API version: 1
09/08/2017 18:54:11.734 INFO: Connection successful. Server id: http://localhost/csweb/api/
09/08/2017 18:54:11.750 INFO: Downloading dictionary file: MYANMAR_MFD_CATEGORY_TRA_DICT
09/08/2017 18:54:11.828 INFO: Downloading dictionary file complete
09/08/2017 18:54:11.109 INFO: Syncing data: myanmar_mfd_category_tra_dict.csdb direction GET universe ""
09/08/2017 18:54:11.109 INFO: First time GET with this server
09/08/2017 18:54:11.109 INFO: Start case download with chunk size of 100
09/08/2017 18:54:11.265 INFO: Status : 200
09/08/2017 18:54:11.265 INFO: Cases in chunk 0. Server count = 0/0
09/08/2017 18:54:11.500 INFO: New server revision = 1
09/08/2017 18:54:11.500 INFO: Sync GET completed.
09/08/2017 18:54:11.500 INFO: Downloaded 0 cases
09/08/2017 18:54:11.500 INFO: 0 new cases, 0 updated, 0 ignored, 0 conflicts
09/08/2017 18:54:11.500 INFO: Disconnecting from server
09/08/2017 18:54:46.796 INFO: Connect to server http://localhost/csweb/api/ using saved credentials
09/08/2017 18:54:46.890 INFO: Server API version: 1
09/08/2017 18:54:46.890 INFO: Connection successful. Server id: http://localhost/csweb/api/
09/08/2017 18:54:46.890 INFO: Downloading dictionary file: MYANMAR_MFD_CATEGORY_TRA_DICT
09/08/2017 18:54:46.984 INFO: Downloading dictionary file complete
09/08/2017 18:54:46.062 INFO: Syncing data: myanmar_mfd_category_tra_dict.csdb direction GET universe ""
09/08/2017 18:54:46.062 INFO: Last GET with this server 2017-08-09 18:54:11 local rev 1 server rev "1"
09/08/2017 18:54:46.062 INFO: Start case download with chunk size of 100
09/08/2017 18:54:46.156 INFO: Status : 200
09/08/2017 18:54:46.156 INFO: Cases in chunk 0. Server count = 0/0
09/08/2017 18:54:46.437 INFO: New server revision = 1
09/08/2017 18:54:46.437 INFO: Sync GET completed.
09/08/2017 18:54:46.437 INFO: Downloaded 0 cases
09/08/2017 18:54:46.437 INFO: 0 new cases, 0 updated, 0 ignored, 0 conflicts
09/08/2017 18:54:46.437 INFO: Disconnecting from server
09/08/2017 18:54:55.859 INFO: Connect to server http://192.168.1.61/csweb/api using saved credentials
09/08/2017 18:54:55.953 INFO: Server API version: 1
09/08/2017 18:54:55.953 INFO: Connection successful. Server id: http://localhost/csweb/api/
09/08/2017 18:54:55.968 INFO: Syncing data: Healthy_Beverages_BHT_2017Data.csdb direction BOTH universe ""
09/08/2017 18:54:55.968 INFO: Last GET with this server 2017-08-09 18:53:28 local rev 8 server rev "1"
09/08/2017 18:54:55.968 INFO: Start case download with chunk size of 100
09/08/2017 18:54:55.046 INFO: Status : 200
09/08/2017 18:54:55.046 INFO: Cases in chunk 0. Server count = 0/0
09/08/2017 18:54:55.281 INFO: New server revision = 1
09/08/2017 18:54:55.281 INFO: Sync GET completed.
09/08/2017 18:54:55.281 INFO: Downloaded 0 cases
09/08/2017 18:54:55.281 INFO: 0 new cases, 0 updated, 0 ignored, 0 conflicts
09/08/2017 18:54:55.281 INFO: First time PUT with this server
09/08/2017 18:54:55.281 INFO: Total new/modified cases since last sync: 1
09/08/2017 18:54:56.093 ERROR: HTTP error: 500
09/08/2017 18:54:56.093 ERROR: {"type":"error","status":500,"code":"upload_cases_error","message":"Failed uploading cases"}
09/08/2017 18:54:56.093 INFO: Retrying. Attempt #1
09/08/2017 18:54:57.468 ERROR: HTTP error: 500
09/08/2017 18:54:57.468 ERROR: {"type":"error","status":500,"code":"upload_cases_error","message":"Failed uploading cases"}
09/08/2017 18:54:57.468 INFO: Retrying. Attempt #2
09/08/2017 18:55:00.687 ERROR: HTTP error: 500
09/08/2017 18:55:00.687 ERROR: {"type":"error","status":500,"code":"upload_cases_error","message":"Failed uploading cases"}
09/08/2017 18:55:00.687 INFO: Retrying. Attempt #3
09/08/2017 18:55:03.187 ERROR: HTTP error: 500
09/08/2017 18:55:03.187 ERROR: {"type":"error","status":500,"code":"upload_cases_error","message":"Failed uploading cases"}
09/08/2017 18:55:06.640 ERROR: Error syncing data: 100101 Failed uploading cases. (500)
09/08/2017 18:55:06.640 INFO: Disconnecting from server
09/08/2017 19:01:50.859 INFO: Connect to server http://192.168.1.61/csweb/api using saved credentials
09/08/2017 19:01:50.953 INFO: Server API version: 1
09/08/2017 19:01:50.953 INFO: Connection successful. Server id: http://localhost/csweb/api/
09/08/2017 19:01:50.968 INFO: Syncing data: Healthy_Beverages_BHT_2017Data.csdb direction BOTH universe ""
09/08/2017 19:01:50.968 INFO: Last GET with this server 2017-08-09 18:54:55 local rev 9 server rev "1"
09/08/2017 19:01:50.968 INFO: Start case download with chunk size of 100
09/08/2017 19:01:50.046 INFO: Status : 200
09/08/2017 19:01:50.046 INFO: Cases in chunk 0. Server count = 0/0
09/08/2017 19:01:50.281 INFO: New server revision = 1
09/08/2017 19:01:50.281 INFO: Sync GET completed.
09/08/2017 19:01:50.281 INFO: Downloaded 0 cases
09/08/2017 19:01:50.281 INFO: 0 new cases, 0 updated, 0 ignored, 0 conflicts
09/08/2017 19:01:50.281 INFO: First time PUT with this server
09/08/2017 19:01:50.281 INFO: Total new/modified cases since last sync: 1
09/08/2017 19:01:51.187 ERROR: HTTP error: 500
09/08/2017 19:01:51.187 ERROR: {"type":"error","status":500,"code":"upload_cases_error","message":"Failed uploading cases"}
09/08/2017 19:01:51.187 INFO: Retrying. Attempt #1
09/08/2017 19:01:53.734 ERROR: HTTP error: 500
09/08/2017 19:01:53.734 ERROR: {"type":"error","status":500,"code":"upload_cases_error","message":"Failed uploading cases"}
09/08/2017 19:01:53.734 INFO: Retrying. Attempt #2
09/08/2017 19:01:54.203 ERROR: HTTP error: 500
09/08/2017 19:01:54.203 ERROR: {"type":"error","status":500,"code":"upload_cases_error","message":"Failed uploading cases"}
09/08/2017 19:01:54.203 INFO: Retrying. Attempt #3
09/08/2017 19:01:58.718 ERROR: HTTP error: 500
09/08/2017 19:01:58.718 ERROR: {"type":"error","status":500,"code":"upload_cases_error","message":"Failed uploading cases"}
09/08/2017 19:02:03.390 ERROR: Error syncing data: 100101 Failed uploading cases. (500)
09/08/2017 19:02:03.406 INFO: Disconnecting from server
09/08/2017 19:04:55.578 INFO: Connect to server http://www.myserver.com/api using saved credentials
09/08/2017 19:05:11.406 ERROR: Error connecting to server: Could not resolve host: http://www.myserver.com
09/08/2017 19:05:15.312 INFO: Connect to server http://www.myserver.com/api using saved credentials
09/08/2017 19:05:16.328 INFO: Canceled connection
09/08/2017 19:05:37.546 INFO: Connect to server http://192.168.1.61/csweb/api using saved credentials
09/08/2017 19:05:39.421 INFO: Canceled connection
09/08/2017 19:21:17.609 INFO: Connect to server http://192.168.1.61/csweb/api using saved credentials
09/08/2017 19:21:24.781 INFO: Server API version: 1
09/08/2017 19:21:24.781 INFO: Connection successful. Server id: http://localhost/csweb/api/
09/08/2017 19:21:24.781 INFO: Disconnecting from server
09/08/2017 19:23:01.187 INFO: Connect to server http://192.168.1.61/csweb/api using saved credentials
09/08/2017 19:23:05.343 INFO: Server API version: 1
09/08/2017 19:23:05.343 INFO: Connection successful. Server id: http://localhost/csweb/api/
09/08/2017 19:23:05.343 INFO: Disconnecting from server
09/08/2017 19:23:27.218 INFO: Connect to server http://192.168.1.61/csweb/api using saved credentials
09/08/2017 19:23:27.328 INFO: Server API version: 1
09/08/2017 19:23:27.328 INFO: Connection successful. Server id: http://localhost/csweb/api/
09/08/2017 19:23:27.343 INFO: Syncing data: Healthy_Beverages_BHT_2017Data.csdb direction BOTH universe ""
09/08/2017 19:23:27.343 INFO: Last GET with this server 2017-08-09 19:01:50 local rev 10 server rev "1"
09/08/2017 19:23:27.343 INFO: Start case download with chunk size of 100
09/08/2017 19:23:27.421 INFO: Status : 200
09/08/2017 19:23:27.421 INFO: Cases in chunk 0. Server count = 0/0
09/08/2017 19:23:28.671 INFO: New server revision = 1
09/08/2017 19:23:28.671 INFO: Sync GET completed.
09/08/2017 19:23:28.671 INFO: Downloaded 0 cases
09/08/2017 19:23:28.671 INFO: 0 new cases, 0 updated, 0 ignored, 0 conflicts
09/08/2017 19:23:28.671 INFO: First time PUT with this server
09/08/2017 19:23:28.671 INFO: Total new/modified cases since last sync: 1
09/08/2017 19:23:28.453 ERROR: HTTP error: 500
09/08/2017 19:23:28.453 ERROR: {"type":"error","status":500,"code":"upload_cases_error","message":"Failed uploading cases"}
09/08/2017 19:23:28.453 INFO: Retrying. Attempt #1
09/08/2017 19:23:29.546 ERROR: HTTP error: 500
09/08/2017 19:23:29.546 ERROR: {"type":"error","status":500,"code":"upload_cases_error","message":"Failed uploading cases"}
09/08/2017 19:23:29.546 INFO: Retrying. Attempt #2
09/08/2017 19:23:31.562 ERROR: HTTP error: 500
09/08/2017 19:23:31.562 ERROR: {"type":"error","status":500,"code":"upload_cases_error","message":"Failed uploading cases"}
09/08/2017 19:23:31.562 INFO: Retrying. Attempt #3
09/08/2017 19:23:34.781 ERROR: HTTP error: 500
09/08/2017 19:23:34.781 ERROR: {"type":"error","status":500,"code":"upload_cases_error","message":"Failed uploading cases"}
09/08/2017 19:23:35.125 ERROR: Error syncing data: 100101 Failed uploading cases. (500)
09/08/2017 19:23:35.140 INFO: Disconnecting from server
09/08/2017 19:25:21.984 INFO: Connect to server http://192.168.1.61/csweb/api using saved credentials
09/08/2017 19:25:21.078 INFO: Server API version: 1
09/08/2017 19:25:21.078 INFO: Connection successful. Server id: http://localhost/csweb/api/
09/08/2017 19:25:21.093 INFO: Syncing data: Healthy_Beverages_BHT_2017Data.csdb direction BOTH universe ""
09/08/2017 19:25:21.093 INFO: Last GET with this server 2017-08-09 19:23:27 local rev 11 server rev "1"
09/08/2017 19:25:21.093 INFO: Start case download with chunk size of 100
09/08/2017 19:25:21.171 INFO: Status : 200
09/08/2017 19:25:21.171 INFO: Cases in chunk 0. Server count = 0/0
09/08/2017 19:25:21.437 INFO: New server revision = 1
09/08/2017 19:25:21.437 INFO: Sync GET completed.
09/08/2017 19:25:21.437 INFO: Downloaded 0 cases
09/08/2017 19:25:21.437 INFO: 0 new cases, 0 updated, 0 ignored, 0 conflicts
09/08/2017 19:25:21.437 INFO: First time PUT with this server
09/08/2017 19:25:21.437 INFO: Total new/modified cases since last sync: 2
09/08/2017 19:25:22.203 ERROR: HTTP error: 500
09/08/2017 19:25:22.203 ERROR: {"type":"error","status":500,"code":"upload_cases_error","message":"Failed uploading cases"}
09/08/2017 19:25:22.203 INFO: Retrying. Attempt #1
09/08/2017 19:25:23.328 ERROR: HTTP error: 500
09/08/2017 19:25:23.328 ERROR: {"type":"error","status":500,"code":"upload_cases_error","message":"Failed uploading cases"}
09/08/2017 19:25:23.328 INFO: Retrying. Attempt #2
09/08/2017 19:25:25.171 ERROR: HTTP error: 500
09/08/2017 19:25:25.171 ERROR: {"type":"error","status":500,"code":"upload_cases_error","message":"Failed uploading cases"}
09/08/2017 19:25:25.171 INFO: Retrying. Attempt #3
09/08/2017 19:25:27.328 ERROR: HTTP error: 500
09/08/2017 19:25:27.328 ERROR: {"type":"error","status":500,"code":"upload_cases_error","message":"Failed uploading cases"}
09/08/2017 19:25:51.781 ERROR: Error syncing data: 100101 Failed uploading cases. (500)
09/08/2017 19:25:51.781 INFO: Disconnecting from server
09/08/2017 19:26:34.875 INFO: Connect to server http://192.168.1.61//api using saved credentials
09/08/2017 19:26:38.250 ERROR: Error from server:
09/08/2017 19:26:38.250 ERROR: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL /api/token was not found on this server.</p>
<hr>
<address>Apache/2.4.23 (Win64) PHP/7.0.10 Server at 192.168.1.61 Port 80</address>
</body></html>

09/08/2017 19:26:39.843 ERROR: Error from server:
09/08/2017 19:26:39.843 ERROR: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL /api/token was not found on this server.</p>
<hr>
<address>Apache/2.4.23 (Win64) PHP/7.0.10 Server at 192.168.1.61 Port 80</address>
</body></html>

09/08/2017 19:26:39.593 INFO: Canceled connection
09/08/2017 19:26:44.250 INFO: Connect to server http://192.168.1.61/csweb/api using saved credentials
09/08/2017 19:26:48.296 INFO: Server API version: 1
09/08/2017 19:26:48.296 INFO: Connection successful. Server id: http://localhost/csweb/api/
09/08/2017 19:26:48.296 INFO: Disconnecting from server
09/08/2017 19:27:15.625 INFO: Connect to server http://192.168.1.61/csweb/api using saved credentials
09/08/2017 19:27:15.703 INFO: Server API version: 1
09/08/2017 19:27:15.703 INFO: Connection successful. Server id: http://localhost/csweb/api/
09/08/2017 19:27:15.718 INFO: Syncing data: Healthy_Beverages_BHT_2017Data.csdb direction PUT universe ""
09/08/2017 19:27:15.718 INFO: First time PUT with this server
09/08/2017 19:27:15.718 INFO: Total new/modified cases since last sync: 2
09/08/2017 19:27:15.421 ERROR: HTTP error: 500
09/08/2017 19:27:15.421 ERROR: {"type":"error","status":500,"code":"upload_cases_error","message":"Failed uploading cases"}
09/08/2017 19:27:15.421 INFO: Retrying. Attempt #1
09/08/2017 19:27:16.484 ERROR: HTTP error: 500
09/08/2017 19:27:16.484 ERROR: {"type":"error","status":500,"code":"upload_cases_error","message":"Failed uploading cases"}
09/08/2017 19:27:16.484 INFO: Retrying. Attempt #2
09/08/2017 19:27:18.296 ERROR: HTTP error: 500
09/08/2017 19:27:18.296 ERROR: {"type":"error","status":500,"code":"upload_cases_error","message":"Failed uploading cases"}
09/08/2017 19:27:18.296 INFO: Retrying. Attempt #3
09/08/2017 19:27:20.468 ERROR: HTTP error: 500
09/08/2017 19:27:20.468 ERROR: {"type":"error","status":500,"code":"upload_cases_error","message":"Failed uploading cases"}
09/08/2017 19:27:21.421 ERROR: Error syncing data: 100101 Failed uploading cases. (500)
09/08/2017 19:27:21.437 INFO: Disconnecting from server
09/08/2017 19:41:48.500 INFO: Connect to server http://192.168.1.61/csweb/api using saved credentials
09/08/2017 19:43:00.734 INFO: Server API version: 1
09/08/2017 19:43:00.734 INFO: Connection successful. Server id: http://localhost/csweb/api/
09/08/2017 19:43:00.734 INFO: Disconnecting from server
09/08/2017 19:43:12.390 INFO: Connect to server http://192.168.1.61/csweb/api using saved credentials
09/08/2017 19:43:12.484 INFO: Refreshing oauth token
09/08/2017 19:43:12.562 ERROR: Failed to refresh oauth token
09/08/2017 19:43:12.562 ERROR: {"type":"error","status":400,"code":"invalid_grant","message":"Invalid refresh token"}
09/08/2017 19:43:27.421 INFO: Server API version: 1
09/08/2017 19:43:27.421 INFO: Connection successful. Server id: http://localhost/csweb/api/
09/08/2017 19:43:27.437 INFO: Syncing data: Healthy_Beverages_BHT_2017Data.csdb direction PUT universe ""
09/08/2017 19:43:27.437 INFO: First time PUT with this server
09/08/2017 19:43:27.437 INFO: Total new/modified cases since last sync: 2
09/08/2017 19:43:43.828 ERROR: Error syncing data: 100101 Dictionary MYANMAR_MFD_CATEGORY_TRA_DICT does not exist.. (404)
09/08/2017 19:43:43.843 INFO: Disconnecting from server
09/08/2017 19:44:02.656 INFO: Connect to server http://192.168.1.61/csweb/api using saved credentials
09/08/2017 19:44:02.765 INFO: Server API version: 1
09/08/2017 19:44:02.765 INFO: Connection successful. Server id: http://localhost/csweb/api/
09/08/2017 19:44:02.765 INFO: Syncing data: Healthy_Beverages_BHT_2017Data.csdb direction PUT universe ""
09/08/2017 19:44:02.765 INFO: First time PUT with this server
09/08/2017 19:44:02.765 INFO: Total new/modified cases since last sync: 2
09/08/2017 19:44:02.531 ERROR: HTTP error: 500
09/08/2017 19:44:02.531 ERROR: {"type":"error","status":500,"code":"upload_cases_error","message":"Failed uploading cases"}
09/08/2017 19:44:02.531 INFO: Retrying. Attempt #1
09/08/2017 19:44:04.625 ERROR: HTTP error: 500
09/08/2017 19:44:04.625 ERROR: {"type":"error","status":500,"code":"upload_cases_error","message":"Failed uploading cases"}
09/08/2017 19:44:04.625 INFO: Retrying. Attempt #2
09/08/2017 19:44:05.546 ERROR: HTTP error: 500
09/08/2017 19:44:05.546 ERROR: {"type":"error","status":500,"code":"upload_cases_error","message":"Failed uploading cases"}
09/08/2017 19:44:05.546 INFO: Retrying. Attempt #3
09/08/2017 19:44:08.703 ERROR: HTTP error: 500
09/08/2017 19:44:08.703 ERROR: {"type":"error","status":500,"code":"upload_cases_error","message":"Failed uploading cases"}
09/08/2017 19:44:12.265 ERROR: Error syncing data: 100101 Failed uploading cases. (500)
09/08/2017 19:44:12.265 INFO: Disconnecting from server
09/08/2017 19:44:35.781 INFO: Connect to server http://192.168.1.61/csweb/api using saved credentials
09/08/2017 19:44:35.875 INFO: Server API version: 1
09/08/2017 19:44:35.875 INFO: Connection successful. Server id: http://localhost/csweb/api/
09/08/2017 19:44:35.890 INFO: Syncing data: Healthy_Beverages_BHT_2017Data.csdb direction PUT universe ""
09/08/2017 19:44:35.890 INFO: First time PUT with this server
09/08/2017 19:44:35.890 INFO: Total new/modified cases since last sync: 2
09/08/2017 19:44:36.656 ERROR: HTTP error: 500
09/08/2017 19:44:36.656 ERROR: {"type":"error","status":500,"code":"upload_cases_error","message":"Failed uploading cases"}
09/08/2017 19:44:36.656 INFO: Retrying. Attempt #1
09/08/2017 19:44:37.765 ERROR: HTTP error: 500
09/08/2017 19:44:37.765 ERROR: {"type":"error","status":500,"code":"upload_cases_error","message":"Failed uploading cases"}
09/08/2017 19:44:37.765 INFO: Retrying. Attempt #2
09/08/2017 19:44:39.656 ERROR: HTTP error: 500
09/08/2017 19:44:39.656 ERROR: {"type":"error","status":500,"code":"upload_cases_error","message":"Failed uploading cases"}
09/08/2017 19:44:39.656 INFO: Retrying. Attempt #3
09/08/2017 19:44:41.843 ERROR: HTTP error: 500
09/08/2017 19:44:41.843 ERROR: {"type":"error","status":500,"code":"upload_cases_error","message":"Failed uploading cases"}
09/08/2017 19:46:55.562 ERROR: Error syncing data: 100101 Failed uploading cases. (500)
09/08/2017 19:46:55.562 INFO: Disconnecting from server
09/08/2017 19:47:11.015 INFO: Connect to server http://192.168.1.61/csweb/api using saved credentials
09/08/2017 19:47:11.125 INFO: Server API version: 1
09/08/2017 19:47:11.125 INFO: Connection successful. Server id: http://localhost/csweb/api/
09/08/2017 19:47:11.140 INFO: Syncing data: Healthy_Beverages_BHT_2017Data.csdb direction PUT universe ""
09/08/2017 19:47:11.140 INFO: First time PUT with this server
09/08/2017 19:47:11.140 INFO: Total new/modified cases since last sync: 2
09/08/2017 19:47:12.875 ERROR: HTTP error: 500
09/08/2017 19:47:12.875 ERROR: {"type":"error","status":500,"code":"upload_cases_error","message":"Failed uploading cases"}
09/08/2017 19:47:12.875 INFO: Retrying. Attempt #1
09/08/2017 19:47:13.984 ERROR: HTTP error: 500
09/08/2017 19:47:13.984 ERROR: {"type":"error","status":500,"code":"upload_cases_error","message":"Failed uploading cases"}
09/08/2017 19:47:13.984 INFO: Retrying. Attempt #2
09/08/2017 19:47:15.828 ERROR: HTTP error: 500
09/08/2017 19:47:15.828 ERROR: {"type":"error","status":500,"code":"upload_cases_error","message":"Failed uploading cases"}
09/08/2017 19:47:15.828 INFO: Retrying. Attempt #3
09/08/2017 19:47:17.984 ERROR: HTTP error: 500
09/08/2017 19:47:17.984 ERROR: {"type":"error","status":500,"code":"upload_cases_error","message":"Failed uploading cases"}
09/08/2017 19:47:18.406 ERROR: Error syncing data: 100101 Failed uploading cases. (500)
09/08/2017 19:47:18.421 INFO: Disconnecting from server
09/08/2017 19:52:36.968 INFO: Connect to server http://192.168.1.61/csweb/api using saved credentials
09/08/2017 19:52:53.828 INFO: Server API version: 1
09/08/2017 19:52:53.828 INFO: Connection successful. Server id: http://localhost/csweb/api/
09/08/2017 19:52:53.828 INFO: Syncing data: Healthy_Beverages_BHT_2017Data.csdb direction BOTH universe ""
09/08/2017 19:52:53.937 INFO: Last GET with this server 2017-08-09 19:25:21 local rev 13 server rev "1"
09/08/2017 19:52:53.984 INFO: Start case download with chunk size of 100
09/08/2017 19:52:54.078 INFO: Status : 200
09/08/2017 19:52:54.078 INFO: Cases in chunk 0. Server count = 0/0
09/08/2017 19:52:55.750 INFO: New server revision = 1
09/08/2017 19:52:55.750 INFO: Sync GET completed.
09/08/2017 19:52:55.750 INFO: Downloaded 0 cases
09/08/2017 19:52:55.750 INFO: 0 new cases, 0 updated, 0 ignored, 0 conflicts
09/08/2017 19:52:55.750 INFO: First time PUT with this server
09/08/2017 19:52:55.781 INFO: Total new/modified cases since last sync: 2
09/08/2017 19:52:58.718 ERROR: HTTP error: 500
09/08/2017 19:52:58.718 ERROR: {"type":"error","status":500,"code":"upload_cases_error","message":"Failed uploading cases"}
09/08/2017 19:52:58.718 INFO: Retrying. Attempt #1
09/08/2017 19:52:59.765 ERROR: HTTP error: 500
09/08/2017 19:52:59.765 ERROR: {"type":"error","status":500,"code":"upload_cases_error","message":"Failed uploading cases"}
09/08/2017 19:52:59.765 INFO: Retrying. Attempt #2
09/08/2017 19:53:00.578 ERROR: HTTP error: 500
09/08/2017 19:53:00.578 ERROR: {"type":"error","status":500,"code":"upload_cases_error","message":"Failed uploading cases"}
09/08/2017 19:53:00.578 INFO: Retrying. Attempt #3
09/08/2017 19:53:03.734 ERROR: HTTP error: 500
09/08/2017 19:53:03.734 ERROR: {"type":"error","status":500,"code":"upload_cases_error","message":"Failed uploading cases"}
09/08/2017 20:06:45.781 ERROR: Error syncing data: 100101 Failed uploading cases. (500)
09/08/2017 20:06:45.796 INFO: Disconnecting from server
09/08/2017 20:18:24.937 INFO: Connect to server http://192.168.1.61/csweb/api using saved credentials
09/08/2017 20:18:24.000 INFO: Refreshing oauth token
09/08/2017 20:18:25.046 ERROR: Failed to refresh oauth token
09/08/2017 20:18:25.046 ERROR: {"type":"error","status":400,"code":"invalid_grant","message":"Invalid refresh token"}
09/08/2017 20:18:33.406 INFO: Server API version: 1
09/08/2017 20:18:33.406 INFO: Connection successful. Server id: http://localhost/csweb/api/
09/08/2017 20:18:33.421 INFO: Syncing data: Healthy_Beverages_BHT_2017Data.csdb direction BOTH universe ""
09/08/2017 20:18:33.421 INFO: Last GET with this server 2017-08-09 19:52:54 local rev 14 server rev "1"
09/08/2017 20:18:33.421 INFO: Start case download with chunk size of 100
09/08/2017 20:18:33.468 INFO: Status : 200
09/08/2017 20:18:33.468 INFO: Cases in chunk 0. Server count = 0/0
09/08/2017 20:18:33.703 INFO: New server revision = 1
09/08/2017 20:18:33.703 INFO: Sync GET completed.
09/08/2017 20:18:33.703 INFO: Downloaded 0 cases
09/08/2017 20:18:33.703 INFO: 0 new cases, 0 updated, 0 ignored, 0 conflicts
09/08/2017 20:18:33.703 INFO: First time PUT with this server
09/08/2017 20:18:33.703 INFO: Total new/modified cases since last sync: 2
09/08/2017 20:18:33.000 ERROR: HTTP error: 500
09/08/2017 20:18:33.000 ERROR: {"type":"error","status":500,"code":"upload_cases_error","message":"Failed uploading cases"}
09/08/2017 20:18:33.000 INFO: Retrying. Attempt #1
09/08/2017 20:18:34.578 ERROR: HTTP error: 500
09/08/2017 20:18:34.578 ERROR: {"type":"error","status":500,"code":"upload_cases_error","message":"Failed uploading cases"}
09/08/2017 20:18:34.578 INFO: Retrying. Attempt #2
09/08/2017 20:18:35.953 ERROR: HTTP error: 500
09/08/2017 20:18:35.953 ERROR: {"type":"error","status":500,"code":"upload_cases_error","message":"Failed uploading cases"}
09/08/2017 20:18:35.953 INFO: Retrying. Attempt #3
09/08/2017 20:18:37.609 ERROR: HTTP error: 500
09/08/2017 20:18:37.609 ERROR: {"type":"error","status":500,"code":"upload_cases_error","message":"Failed uploading cases"}
09/08/2017 20:20:42.015 ERROR: Error syncing data: 100101 Failed uploading cases. (500)
09/08/2017 20:20:42.015 INFO: Disconnecting from server
09/08/2017 20:24:38.703 INFO: Connect to server http://192.168.1.61/csweb/api using saved credentials
09/08/2017 20:24:38.843 INFO: Server API version: 1
09/08/2017 20:24:38.843 INFO: Connection successful. Server id: http://localhost/csweb/api/
09/08/2017 20:24:38.859 INFO: Syncing data: Healthy_Beverages_BHT_2017Data.csdb direction BOTH universe ""
09/08/2017 20:24:38.859 INFO: Last GET with this server 2017-08-09 20:18:33 local rev 15 server rev "1"
09/08/2017 20:24:38.859 INFO: Start case download with chunk size of 100
09/08/2017 20:24:38.906 INFO: Status : 200
09/08/2017 20:24:38.906 INFO: Cases in chunk 0. Server count = 0/0
09/08/2017 20:24:39.140 INFO: New server revision = 1
09/08/2017 20:24:39.140 INFO: Sync GET completed.
09/08/2017 20:24:39.140 INFO: Downloaded 0 cases
09/08/2017 20:24:39.140 INFO: 0 new cases, 0 updated, 0 ignored, 0 conflicts
09/08/2017 20:24:39.140 INFO: First time PUT with this server
09/08/2017 20:24:39.140 INFO: Total new/modified cases since last sync: 2
09/08/2017 20:24:39.468 ERROR: HTTP error: 500
09/08/2017 20:24:39.468 ERROR: {"type":"error","status":500,"code":"upload_cases_error","message":"Failed uploading cases"}
09/08/2017 20:24:39.468 INFO: Retrying. Attempt #1
09/08/2017 20:24:40.078 ERROR: HTTP error: 500
09/08/2017 20:24:40.078 ERROR: {"type":"error","status":500,"code":"upload_cases_error","message":"Failed uploading cases"}
09/08/2017 20:24:40.078 INFO: Retrying. Attempt #2
09/08/2017 20:24:41.406 ERROR: HTTP error: 500
09/08/2017 20:24:41.406 ERROR: {"type":"error","status":500,"code":"upload_cases_error","message":"Failed uploading cases"}
09/08/2017 20:24:41.406 INFO: Retrying. Attempt #3
09/08/2017 20:24:43.062 ERROR: HTTP error: 500
09/08/2017 20:24:43.062 ERROR: {"type":"error","status":500,"code":"upload_cases_error","message":"Failed uploading cases"}
09/08/2017 20:35:35.343 ERROR: Error syncing data: 100101 Failed uploading cases. (500)
09/08/2017 20:35:35.359 INFO: Disconnecting from server
Myanmar
josh
Posts: 2401
Joined: May 5th, 2014, 12:49 pm
Location: Washington DC

Re: Fail Uploading Cases to csweb server

Post by josh »

Unfortunately that file doesn't have the details on the 500 error. Can you post the api.log file from the server? That should tell us something.
naylinnsoe
Posts: 31
Joined: June 22nd, 2012, 7:14 am
Location: Yangon

Re: Fail Uploading Cases to csweb server

Post by naylinnsoe »

Dear Josh,

Here Apache log

192.168.1.61 - - [10/Aug/2017:12:45:14 +0630] "POST /CSWeb/api/token HTTP/1.1" 200 171 "-" "CSPro sync client/7.0.2"
192.168.1.61 - - [10/Aug/2017:12:45:15 +0630] "GET /CSWeb/api/server HTTP/1.1" 200 64 "-" "CSPro sync client/7.0.2"
192.168.1.61 - - [10/Aug/2017:12:45:44 +0630] "GET /CSWeb/api/server HTTP/1.1" 401 77 "-" "CSPro sync client/7.0.2"
192.168.1.61 - - [10/Aug/2017:12:45:44 +0630] "POST /CSWeb/api/token HTTP/1.1" 400 86 "-" "CSPro sync client/7.0.2"
192.168.1.61 - - [10/Aug/2017:12:45:51 +0630] "POST /CSWeb/api/token HTTP/1.1" 200 171 "-" "CSPro sync client/7.0.2"
192.168.1.61 - - [10/Aug/2017:12:45:51 +0630] "GET /CSWeb/api/server HTTP/1.1" 200 64 "-" "CSPro sync client/7.0.2"
192.168.1.61 - - [10/Aug/2017:12:45:51 +0630] "POST /CSWeb/api/dictionaries/MYANMAR_MFD_CATEGORY_TRA_DICT/cases HTTP/1.1" 500 92 "-" "CSPro sync client/7.0.2"
192.168.1.61 - - [10/Aug/2017:12:45:51 +0630] "POST /CSWeb/api/dictionaries/MYANMAR_MFD_CATEGORY_TRA_DICT/cases HTTP/1.1" 500 92 "-" "CSPro sync client/7.0.2"
192.168.1.61 - - [10/Aug/2017:12:45:53 +0630] "POST /CSWeb/api/dictionaries/MYANMAR_MFD_CATEGORY_TRA_DICT/cases HTTP/1.1" 500 92 "-" "CSPro sync client/7.0.2"
192.168.1.61 - - [10/Aug/2017:12:45:54 +0630] "POST /CSWeb/api/dictionaries/MYANMAR_MFD_CATEGORY_TRA_DICT/cases HTTP/1.1" 500 92 "-" "CSPro sync client/7.0.2"
Myanmar
naylinnsoe
Posts: 31
Joined: June 22nd, 2012, 7:14 am
Location: Yangon

Re: Fail Uploading Cases to csweb server

Post by naylinnsoe »

Hello Everyone,

I got it.

This error raised because I used with old cspro program. When I test with the survey created with 7.0 there is no error.
Myanmar
Post Reply