ERROR 403
Posted: August 11th, 2021, 2:28 am
Dear Friends,
An error has occurred during synchronization and it has occurred since exactly yesterday 10/08, according to the logs.
Tablets and csweb are version 7.6.1., I have already verified. Everything has been working properly for the past month.
Since yesterday when trying to sync, the following error appears on tablets:
Reviewing the sync log of the tablet shows the following:
2021-08-11 01:27:37,060 INFO: Connect to server http://url.com/csweb/api/ as user USRAAAA
2021-08-11 01:27:37,060 INFO: Connect to server http://url.com/csweb/api/
2021-08-11 01:27:38,137 INFO: Server API version: 2
2021-08-11 01:27:38,137 INFO: Connection successful. Server id: wewerw-cafa-ghfg-8866-b455b56
2021-08-11 01:27:38,165 INFO: Syncing data: DB.csdbe direction PUT universe ""
2021-08-11 01:27:38,166 INFO: First time PUT with this server
2021-08-11 01:27:38,170 INFO: Total new/modified cases since last sync: 1
2021-08-11 01:27:38,393 ERROR: Error from server:
2021-08-11 01:27:38,394 ERROR:
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
....
..
Access is forbidden to the requested page:
..
2021-08-11 01:27:40,474 ERROR: Error syncing data: 100101 Error 403
2021-08-11 01:27:41,248 INFO: Sync file: GET from: /FOLDER/AppSTAMINASupervisor.pen to: ../AppSTAMINA.pen root: /storage/emulated/0/Android/data/gov.census.cspro.csentry/files/csentry/Encuesta - FASE 2/Menu/
2021-08-11 01:27:41,265 INFO: Downloading file: /FOLDER/AppSTAMINASupervisor.pen to: /storage/emulated/0/Android/data/gov.census.cspro.csentry/files/csentry/Encuesta - FASE 2/AppSTAMINA.pen
2021-08-11 01:27:41,474 INFO: Sync file completed
2021-08-11 01:27:41,797 INFO: Disconnecting from server
Reviewing the server log shows the following:
ppp.WWW.tt.ee - - [11/Aug/2021:01:11:09 -0400] "GET /csweb/api/server HTTP/1.1" 401 77 "-" "CSPro sync client/7.6.1"
ppp.WWW.tt.ee - - [11/Aug/2021:01:11:22 -0400] "GET /csweb/api/dictionaries/DICSTAMINA_DICT/cases HTTP/1.1" 200 2 "-" "CSPro sync client/7.6.1"
ppp.WWW.tt.ee - - [11/Aug/2021:01:12:35 -0400] "POST /csweb/api/token HTTP/1.1" 200 171 "-" "CSPro sync client/7.6.1"
ppp.WWW.tt.ee - - [11/Aug/2021:01:12:36 -0400] "POST /csweb/api/dictionaries/DICSTAMINA_DICT/cases HTTP/1.1" 403 4939 "-" "CSPro sync client/7.6.1"
ppp.WWW.tt.ee - - [11/Aug/2021:01:12:38 -0400] "GET /csweb/api/files/FOLDER/AppSTAMINA.pen/content HTTP/1.1" 304 0 "-" "CSPro sync client/7.6.1"
I have reviewed the SSL certificate and it is active.
I thank you for helping me to know what I should review. Also, I would like to know if the SYNCDATA function requires access to some specific path to be able to validate it on the server side.
Regards,
Hannes RodrĂguez
Lima, PerĂș
An error has occurred during synchronization and it has occurred since exactly yesterday 10/08, according to the logs.
Tablets and csweb are version 7.6.1., I have already verified. Everything has been working properly for the past month.
Since yesterday when trying to sync, the following error appears on tablets:
Reviewing the sync log of the tablet shows the following:
2021-08-11 01:27:37,060 INFO: Connect to server http://url.com/csweb/api/ as user USRAAAA
2021-08-11 01:27:37,060 INFO: Connect to server http://url.com/csweb/api/
2021-08-11 01:27:38,137 INFO: Server API version: 2
2021-08-11 01:27:38,137 INFO: Connection successful. Server id: wewerw-cafa-ghfg-8866-b455b56
2021-08-11 01:27:38,165 INFO: Syncing data: DB.csdbe direction PUT universe ""
2021-08-11 01:27:38,166 INFO: First time PUT with this server
2021-08-11 01:27:38,170 INFO: Total new/modified cases since last sync: 1
2021-08-11 01:27:38,393 ERROR: Error from server:
2021-08-11 01:27:38,394 ERROR:
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
....
..
Access is forbidden to the requested page:
..
2021-08-11 01:27:40,474 ERROR: Error syncing data: 100101 Error 403
2021-08-11 01:27:41,248 INFO: Sync file: GET from: /FOLDER/AppSTAMINASupervisor.pen to: ../AppSTAMINA.pen root: /storage/emulated/0/Android/data/gov.census.cspro.csentry/files/csentry/Encuesta - FASE 2/Menu/
2021-08-11 01:27:41,265 INFO: Downloading file: /FOLDER/AppSTAMINASupervisor.pen to: /storage/emulated/0/Android/data/gov.census.cspro.csentry/files/csentry/Encuesta - FASE 2/AppSTAMINA.pen
2021-08-11 01:27:41,474 INFO: Sync file completed
2021-08-11 01:27:41,797 INFO: Disconnecting from server
Reviewing the server log shows the following:
ppp.WWW.tt.ee - - [11/Aug/2021:01:11:09 -0400] "GET /csweb/api/server HTTP/1.1" 401 77 "-" "CSPro sync client/7.6.1"
ppp.WWW.tt.ee - - [11/Aug/2021:01:11:22 -0400] "GET /csweb/api/dictionaries/DICSTAMINA_DICT/cases HTTP/1.1" 200 2 "-" "CSPro sync client/7.6.1"
ppp.WWW.tt.ee - - [11/Aug/2021:01:12:35 -0400] "POST /csweb/api/token HTTP/1.1" 200 171 "-" "CSPro sync client/7.6.1"
ppp.WWW.tt.ee - - [11/Aug/2021:01:12:36 -0400] "POST /csweb/api/dictionaries/DICSTAMINA_DICT/cases HTTP/1.1" 403 4939 "-" "CSPro sync client/7.6.1"
ppp.WWW.tt.ee - - [11/Aug/2021:01:12:38 -0400] "GET /csweb/api/files/FOLDER/AppSTAMINA.pen/content HTTP/1.1" 304 0 "-" "CSPro sync client/7.6.1"
I have reviewed the SSL certificate and it is active.
I thank you for helping me to know what I should review. Also, I would like to know if the SYNCDATA function requires access to some specific path to be able to validate it on the server side.
Regards,
Hannes RodrĂguez
Lima, PerĂș