You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As of now only about every third attempt to POST the last 10 coordinates is successful, even with best conditions. It looks like the HTTP library requires more time to do it's job.
In a test a did today of there where 141 successful transmissions, in contrast to 262 requests with errors.
I would opt for having two separate buffers for the sd card and for the webserver, the last one only get's flushed once a POST request was successful.
[…]
Open connexion
Connexion opened
at+chttpact="167.99.205.49",80
+CME ERROR: HTTP task is busy
+CHTTPACT: 0
Start data transfer
Data transfer is complete
response length: 39 response:
+CHTTPACT: 0
ates HTTP/1.1
ERROR
Errors: 202 Successful transmissions: 107
Open connexion
Connexion opened
at+chttpact="167.99.205.49",80
Start data transfer
Data transfer is complete
response length: 747 response:
+CHTTPACT: REQUEST
POST /coordinates HTTP/1.1
Content-type: application/json
Accept: application/json
Content-length: 610
{"latitude":"50.819052916667_50.819052916667_50.819052916667_50.819052916667_50.819052916667_50.819052916667_50.819052916667_50.819052916667_50.819052966667_50.819052966667","longitude":"-1.30711195_-1.30711195_-1.30711195_-1.30711195_-1.30711195_-1.30711195_-1.30711195_-1.30711195_-1.30711195_-1.30711195","datetime":"20180830130308.0_20180830130309.0_20180830130310.0_20180830130311.0_20180830130312.0_20180830130313.0_20180830130314.0_20180830130316.0_20180830130317.0_20180830130318.0","speed":"0_0_0_0_0_0_0_0_0_0","course":"0_0_0_0_0_0_0_0_0_0","tracker_id":1,"token":"XXX"}
OK
Errors: 202 Successful transmissions: 108
+CHTTPACT: DATA,980
http/1.1 201 created
x-frame-options: sameorigin
x-xss-protection: 1; mode=block
x-content-type-options: nosniff
location: http://167.99.205.49/coordinates
content-type: application/json; charset=utf-8
etag: w/"b5c814d9add429f29861375ed3ae6595"
cache-control: max-age=0, private, must-revalidate
x-request-id: 9d5c4b99-3711-41f1-a64f-46ea64407101
x-runtime: 0.033907
server: thin
transfer-encoding: chunked
228
{"id":null,"latitude":"50.819052916667_50.819052916667_50.819052916667_50.819052916667_50.819052916667_50.819052916667_50.819052916667_50.819052916667_50.819052966667_50.819052966667","longitude":"-1.30711195_-1.30711195_-1.30711195_-1.30711195_-1.30711195_-1.30711195_-1.30711195_-1.30711195_-1.30711195_-1.30711195","datetime":"20180830130308.0_20180830130309.0_20180830130310.0_20180830130311.0_20180830130312.0_20180830130313.0_20180830130314.0_20180830130316.0_20180830130317.0_20180830130318.0","tracker_id":1,"created_at":null,"updated_at":null}
+CHTTPACT: DATA,5
0
Open connexion
Connexion opened
Start data transfer
Data transfer is complete
response length: 23 response: ates HTTP/1.1
ERROR
Errors: 203 Successful transmissions: 108
Open connexion
Connexion opened
at+chttpact="167.99.205.49",80
+CME ERROR: HTTP task is busy
Start data transfer
Data transfer is complete
response length: 23 response: ates HTTP/1.1
ERROR
Errors: 204 Successful transmissions: 108
Open connexion
Connexion opened
at+chttpact="167.99.205.49",80
+CME ERROR: HTTP task is busy
Start data transfer
Data transfer is complete
response length: 23 response: ates HTTP/1.1
ERROR
Errors: 205 Successful transmissions: 108
Open connexion
Connexion opened
at+chttpact="167.99.205.49",80
+CME ERROR: HTTP task is busy
+CHTTPACT: 0
Start data transfer
Data transfer is complete
response length: 39 response:
+CHTTPACT: 0
ates HTTP/1.1
ERROR
Errors: 205 Successful transmissions: 109
Open connexion
Connexion opened
at+chttpact="167.99.205.49",80
Start data transfer
Data transfer is complete
response length: 739 response:
+CHTTPACT: REQUEST
POST /coordinates HTTP/1.1
Content-type: application/json
Accept: application/json
Content-length: 602
{"latitude":"50.81905305_50.819053_50.819053_50.819053_50.819053_50.819053_50.819053_50.819053_50.819053_50.819053","longitude":"-1.3071118666667_-1.3071118666667_-1.3071118666667_-1.3071118666667_-1.3071118666667_-1.3071118666667_-1.3071118666667_-1.3071118666667_-1.3071118666667_-1.3071118666667","datetime":"20180830130401.0_20180830130402.0_20180830130403.0_20180830130404.0_20180830130405.0_20180830130406.0_20180830130407.0_20180830130408.0_20180830130409.0_20180830130410.0","speed":"0_0_0_0_0_0_0_0_0_0","course":"0_0_0_0_0_0_0_0_0_0","tracker_id":1,"token":"XXX"}
OK
Errors: 205 Successful transmissions: 110
+CHTTPACT: DATA,972
http/1.1 201 created
x-frame-options: sameorigin
x-xss-protection: 1; mode=block
x-content-type-options: nosniff
location: http://167.99.205.49/coordinates
content-type: application/json; charset=utf-8
etag: w/"e5d7dad0f13f743c0cdc7cd025c5ddb3"
cache-control: max-age=0, private, must-revalidate
x-request-id: 20b85c81-b652-4d66-ba1f-08f550a98789
x-runtime: 0.036009
server: thin
transfer-encoding: chunked
220
{"id":null,"latitude":"50.81905305_50.819053_50.819053_50.819053_50.819053_50.819053_50.819053_50.819053_50.819053_50.819053","longitude":"-1.3071118666667_-1.3071118666667_-1.3071118666667_-1.3071118666667_-1.3071118666667_-1.3071118666667_-1.3071118666667_-1.3071118666667_-1.3071118666667_-1.3071118666667","datetime":"20180830130401.0_20180830130402.0_20180830130403.0_20180830130404.0_20180830130405.0_20180830130406.0_20180830130407.0_20180830130408.0_20180830130409.0_20180830130410.0","tracker_id":1,"created_at":null,"updated_at":null}
+CHTTPACT: DATA,5
0
Open connexion
Connexion opened
Start data transfer
Data transfer is complete
response length: 23 response: ates HTTP/1.1
ERROR
Errors: 206 Successful transmissions: 110
Open connexion
Connexion opened
at+chttpact="167.99.205.49",80
+CME ERROR: HTTP task is busy
Start data transfer
Data transfer is complete
response length: 23 response: ates HTTP/1.1
ERROR
Errors: 207 Successful transmissions: 110
Open connexion
Connexion opened
at+chttpact="167.99.205.49",80
+CME ERROR: HTTP task is busy
Start data transfer
Data transfer is complete
response length: 23 response: ates HTTP/1.1
ERROR
Errors: 208 Successful transmissions: 110
Open connexion
Connexion opened
+CHTTPACT: 0
at+chttpact="167.99.205.49",80
+CME ERROR: HTTP task is busy
Start data transfer
Data transfer is complete
response length: 39 response:
+CHTTPACT: 0
ates HTTP/1.1
ERROR
Errors: 208 Successful transmissions: 111
Open connexion
Connexion opened
at+chttpact="167.99.205.49",80
Start data transfer
Data transfer is complete
response length: 737 response:
+CHTTPACT: REQUEST
POST /coordinates HTTP/1.1
Content-type: application/json
Accept: application/json
Content-length: 600
{"latitude":"50.819053_50.819053_50.819053_50.819053_50.819053_50.819053_50.819053_50.819053_50.819053_50.819053","longitude":"-1.3071117833333_-1.3071117833333_-1.3071117833333_-1.3071117833333_-1.3071117833333_-1.3071117833333_-1.3071117833333_-1.3071117833333_-1.3071117833333_-1.3071117833333","datetime":"20180830130453.0_20180830130454.0_20180830130455.0_20180830130456.0_20180830130457.0_20180830130458.0_20180830130459.0_20180830130500.0_20180830130501.0_20180830130502.0","speed":"0_0_0_0_0_0_0_0_0_0","course":"0_0_0_0_0_0_0_0_0_0","tracker_id":1,"token":"XXX"}
OK
Errors: 208 Successful transmissions: 112
+CHTTPACT: DATA,970
http/1.1 201 created
x-frame-options: sameorigin
x-xss-protection: 1; mode=block
x-content-type-options: nosniff
location: http://167.99.205.49/coordinates
content-type: application/json; charset=utf-8
etag: w/"701153a52831318b28a377ef4c7cb3db"
cache-control: max-age=0, private, must-revalidate
x-request-id: f2594aeb-52f0-43a8-9b54-397cca1df72c
x-runtime: 0.032822
server: thin
transfer-encoding: chunked
21e
{"id":null,"latitude":"50.819053_50.819053_50.819053_50.819053_50.819053_50.819053_50.819053_50.819053_50.819053_50.819053","longitude":"-1.3071117833333_-1.3071117833333_-1.3071117833333_-1.3071117833333_-1.3071117833333_-1.3071117833333_-1.3071117833333_-1.3071117833333_-1.3071117833333_-1.3071117833333","datetime":"20180830130453.0_20180830130454.0_20180830130455.0_20180830130456.0_20180830130457.0_20180830130458.0_20180830130459.0_20180830130500.0_20180830130501.0_20180830130502.0","tracker_id":1,"created_at":null,"updated_at":null}
+CHTTPACT: DATA,5
0
Open connexion
Connexion opened
Start data transfer
Data transfer is complete
response length: 23 response: ates HTTP/1.1
ERROR
Errors: 209 Successful transmissions: 112
Open connexion
Connexion opened
at+chttpact="167.99.205.49",80
+CME ERROR: HTTP task is busy
Start data transfer
Data transfer is complete
response length: 23 response: ates HTTP/1.1
ERROR
Errors: 210 Successful transmissions: 112
Open connexion
Connexion opened
at+chttpact="167.99.205.49",80
+CME ERROR: HTTP task is busy
Start data transfer
Data transfer is complete
response length: 23 response: ates HTTP/1.1
ERROR
Errors: 211 Successful transmissions: 112
Open connexion
Connexion opened
at+chttpact="167.99.205.49",80
+CME ERROR: HTTP task is busy
+CHTTPACT: 0
Start data transfer
Data transfer is complete
response length: 39 response:
+CHTTPACT: 0
ates HTTP/1.1
ERROR
Errors: 211 Successful transmissions: 113
Open connexion
Connexion opened
at+chttpact="167.99.205.49",80
Start data transfer
Data transfer is complete
response length: 797 response:
+CHTTPACT: REQUEST
POST /coordinates HTTP/1.1
Content-type: application/json
Accept: application/json
Content-length: 660
{"latitude":"50.819053083333_50.819053083333_50.819053083333_50.819053083333_50.819053083333_50.819053083333_50.819053083333_50.819053083333_50.819053083333_50.819053083333","longitude":"-1.3071117833333_-1.3071117833333_-1.3071117833333_-1.3071117833333_-1.3071117833333_-1.3071117833333_-1.3071117833333_-1.3071117833333_-1.3071117833333_-1.3071117833333","datetime":"20180830130546.0_20180830130547.0_20180830130548.0_20180830130549.0_20180830130550.0_20180830130551.0_20180830130552.0_20180830130553.0_20180830130554.0_20180830130555.0","speed":"0_0_0_0_0_0_0_0_0_0","course":"0_0_0_0_0_0_0_0_0_0","tracker_id":1,"token":"XXX"}
OK
Errors: 211 Successful transmissions: 114
+CHTTPACT: DATA,1030
http/1.1 201 created
x-frame-options: sameorigin
x-xss-protection: 1; mode=block
x-content-type-options: nosniff
location: http://167.99.205.49/coordinates
content-type: application/json; charset=utf-8
etag: w/"f6f3923de61a39bd1bb2631c605d2ab9"
cache-control: max-age=0, private, must-revalidate
x-request-id: 8405a727-179f-4384-83d0-911053bbff23
x-runtime: 0.035575
server: thin
transfer-encoding: chunked
25a
{"id":null,"latitude":"50.819053083333_50.819053083333_50.819053083333_50.819053083333_50.819053083333_50.819053083333_50.819053083333_50.819053083333_50.819053083333_50.819053083333","longitude":"-1.3071117833333_-1.3071117833333_-1.3071117833333_-1.3071117833333_-1.3071117833333_-1.3071117833333_-1.3071117833333_-1.3071117833333_-1.3071117833333_-1.3071117833333","datetime":"20180830130546.0_20180830130547.0_20180830130548.0_20180830130549.0_20180830130550.0_20180830130551.0_20180830130552.0_20180830130553.0_20180830130554.0_20180830130555.0","tracker_id":1,"created_at":null,"updated_at":null}
+CHTTPACT: DATA,5
0
Open connexion
Connexion opened
Start data transfer
Data transfer is complete
response length: 23 response: ates HTTP/1.1
ERROR
Errors: 212 Successful transmissions: 114
Open connexion
Connexion opened
at+chttpact="167.99.205.49",80
+CME ERROR: HTTP task is busy
Start data transfer
Data transfer is complete
response length: 23 response: ates HTTP/1.1
ERROR
Errors: 213 Successful transmissions: 114
Open connexion
Connexion opened
at+chttpact="167.99.205.49",80
+CME ERROR: HTTP task is busy
Start data transfer
Data transfer is complete
response length: 23 response: ates HTTP/1.1
ERROR
Errors: 214 Successful transmissions: 114
Open connexion
Connexion opened
at+chttpact="167.99.205.49",80
+CME ERROR: HTTP task is busy
+CHTTPACT: 0
Start data transfer
Data transfer is complete
response length: 39 response:
+CHTTPACT: 0
ates HTTP/1.1
ERROR
Errors: 214 Successful transmissions: 115
Open connexion
Connexion opened
at+chttpact="167.99.205.49",80
Start data transfer
Data transfer is complete
response length: 797 response:
+CHTTPACT: REQUEST
POST /coordinates HTTP/1.1
Content-type: application/json
Accept: application/json
Content-length: 660
{"latitude":"50.819052916667_50.819052883333_50.819052883333_50.819052883333_50.819052883333_50.819052883333_50.819052883333_50.819052883333_50.819052883333_50.819052833333","longitude":"-1.3071117833333_-1.3071117833333_-1.3071117833333_-1.3071117833333_-1.3071117833333_-1.3071117833333_-1.3071117833333_-1.3071117833333_-1.3071117833333_-1.3071117833333","datetime":"20180830130638.0_20180830130639.0_20180830130640.0_20180830130641.0_20180830130642.0_20180830130643.0_20180830130644.0_20180830130645.0_20180830130646.0_20180830130647.0","speed":"0_0_0_0_0_0_0_0_0_0","course":"0_0_0_0_0_0_0_0_0_0","tracker_id":1,"token":"XXX"}
OK
Errors: 214 Successful transmissions: 116
+CHTTPACT: DATA,1030
http/1.1 201 created
x-frame-options: sameorigin
x-xss-protection: 1; mode=block
x-content-type-options: nosniff
location: http://167.99.205.49/coordinates
content-type: application/json; charset=utf-8
etag: w/"1b2bd59ec9ae18f72aa7edf93765d91a"
cache-control: max-age=0, private, must-revalidate
x-request-id: d433d1a9-7690-4b4c-a6fb-306038b34c95
x-runtime: 0.035351
server: thin
transfer-encoding: chunked
25a
{"id":null,"latitude":"50.819052916667_50.819052883333_50.819052883333_50.819052883333_50.819052883333_50.819052883333_50.819052883333_50.819052883333_50.819052883333_50.819052833333","longitude":"-1.3071117833333_-1.3071117833333_-1.3071117833333_-1.3071117833333_-1.3071117833333_-1.3071117833333_-1.3071117833333_-1.3071117833333_-1.3071117833333_-1.3071117833333","datetime":"20180830130638.0_20180830130639.0_20180830130640.0_20180830130641.0_20180830130642.0_20180830130643.0_20180830130644.0_20180830130645.0_20180830130646.0_20180830130647.0","tracker_id":1,"created_at":null,"updated_at":null}
+CHTTPACT: DATA,5
0
Open connexion
Connexion opened
Start data transfer
Data transfer is complete
response length: 23 response: ates HTTP/1.1
ERROR
Errors: 215 Successful transmissions: 116
Open connexion
Connexion opened
at+chttpact="167.99.205.49",80
+CME ERROR: HTTP task is busy
Start data transfer
Data transfer is complete
response length: 23 response: ates HTTP/1.1
ERROR
Errors: 216 Successful transmissions: 116
Open connexion
Connexion opened
at+chttpact="167.99.205.49",80
+CME ERROR: HTTP task is busy
Start data transfer
Data transfer is complete
response length: 23 response: ates HTTP/1.1
ERROR
Errors: 217 Successful transmissions: 116
+CHTTPACT: 0
Open connexion
Connexion opened
+CHTTPACT: 0
at+chttpact="167.99.205.49",80
Start data transfer
Data transfer is complete
response length: 797 response:
+CHTTPACT: REQUEST
POST /coordinates HTTP/1.1
Content-type: application/json
Accept: application/json
Content-length: 660
{"latitude":"50.819052833333_50.819052833333_50.819052833333_50.819052833333_50.819052833333_50.819052833333_50.819052833333_50.819052833333_50.819052833333_50.819052833333","longitude":"-1.3071117833333_-1.3071117833333_-1.3071117833333_-1.3071117833333_-1.3071117833333_-1.3071117833333_-1.3071117833333_-1.3071117833333_-1.3071117833333_-1.3071117833333","datetime":"20180830130720.0_20180830130721.0_20180830130722.0_20180830130723.0_20180830130724.0_20180830130725.0_20180830130726.0_20180830130727.0_20180830130728.0_20180830130729.0","speed":"0_0_0_0_0_0_0_0_0_0","course":"0_0_0_0_0_0_0_0_0_0","tracker_id":1,"token":"XXX"}
OK
Errors: 217 Successful transmissions: 117
+CHTTPACT: DATA,1030
http/1.1 201 created
x-frame-options: sameorigin
x-xss-protection: 1; mode=block
x-content-type-options: nosniff
location: http://167.99.205.49/coordinates
content-type: application/json; charset=utf-8
etag: w/"f27e5edc1930cc960ccb906a76f61a54"
cache-control: max-age=0, private, must-revalidate
x-request-id: 2688e64c-42a0-4cee-91c2-be2f732f8dfb
x-runtime: 0.036192
server: thin
transfer-encoding: chunked
25a
{"id":null,"latitude":"50.819052833333_50.819052833333_50.819052833333_50.819052833333_50.819052833333_50.819052833333_50.819052833333_50.819052833333_50.819052833333_50.819052833333","longitude":"-1.3071117833333_-1.3071117833333_-1.3071117833333_-1.3071117833333_-1.3071117833333_-1.3071117833333_-1.3071117833333_-1.3071117833333_-1.3071117833333_-1.3071117833333","datetime":"20180830130720.0_20180830130721.0_20180830130722.0_20180830130723.0_20180830130724.0_20180830130725.0_20180830130726.0_20180830130727.0_20180830130728.0_20180830130729.0","tracker_id":1,"created_at":null,"updated_at":null}
+CHTTPACT: DATA,5
0
Open connexion
Connexion opened
Start data transfer
Data transfer is complete
response length: 23 response: ates HTTP/1.1
ERROR
Errors: 218 Successful transmissions: 117
Open connexion
Connexion opened
at+chttpact="167.99.205.49",80
+CME ERROR: HTTP task is busy
Start data transfer
Data transfer is complete
response length: 23 response: ates HTTP/1.1
ERROR
Errors: 219 Successful transmissions: 117
Open connexion
Connexion opened
at+chttpact="167.99.205.49",80
+CME ERROR: HTTP task is busy
Start data transfer
Data transfer is complete
response length: 23 response: ates HTTP/1.1
ERROR
Errors: 220 Successful transmissions: 117
+CHTTPACT: 0
Open connexion
Connexion opened
+CHTTPACT: 0
at+chttpact="167.99.205.49",80
Start data transfer
Data transfer is complete
response length: 797 response:
+CHTTPACT: REQUEST
POST /coordinates HTTP/1.1
Content-type: application/json
Accept: application/json
Content-length: 660
{"latitude":"50.819052916667_50.819052916667_50.819052916667_50.819052916667_50.819052916667_50.819052966667_50.819052966667_50.819052916667_50.819052916667_50.819052966667","longitude":"-1.3071117833333_-1.3071117833333_-1.3071117833333_-1.3071117833333_-1.3071117833333_-1.3071117833333_-1.3071117833333_-1.3071118666667_-1.3071118666667_-1.3071117833333","datetime":"20180830130802.0_20180830130803.0_20180830130804.0_20180830130805.0_20180830130807.0_20180830130808.0_20180830130809.0_20180830130810.0_20180830130811.0_20180830130812.0","speed":"0_0_0_0_0_0_0_0_0_0","course":"0_0_0_0_0_0_0_0_0_0","tracker_id":1,"token":"XXX"}
OK
Errors: 220 Successful transmissions: 118
+CHTTPACT: DATA,1030
http/1.1 201 created
x-frame-options: sameorigin
x-xss-protection: 1; mode=block
x-content-type-options: nosniff
location: http://167.99.205.49/coordinates
content-type: application/json; charset=utf-8
etag: w/"6ecd6ecdd2da116cf166f91864c000f3"
cache-control: max-age=0, private, must-revalidate
x-request-id: 53dad1dd-5567-483a-9423-1dc3bed89110
x-runtime: 0.032128
server: thin
transfer-encoding: chunked
25a
{"id":null,"latitude":"50.819052916667_50.819052916667_50.819052916667_50.819052916667_50.819052916667_50.819052966667_50.819052966667_50.819052916667_50.819052916667_50.819052966667","longitude":"-1.3071117833333_-1.3071117833333_-1.3071117833333_-1.3071117833333_-1.3071117833333_-1.3071117833333_-1.3071117833333_-1.3071118666667_-1.3071118666667_-1.3071117833333","datetime":"20180830130802.0_20180830130803.0_20180830130804.0_20180830130805.0_20180830130807.0_20180830130808.0_20180830130809.0_20180830130810.0_20180830130811.0_20180830130812.0","tracker_id":1,"created_at":null,"updated_at":null}
+CHTTPACT: DATA,5
0
Open connexion
Connexion opened
Start data transfer
Data transfer is complete
response length: 23 response: ates HTTP/1.1
ERROR
Errors: 221 Successful transmissions: 118
Open connexion
Connexion opened
at+chttpact="167.99.205.49",80
+CME ERROR: HTTP task is busy
Start data transfer
Data transfer is complete
response length: 23 response: ates HTTP/1.1
ERROR
Errors: 222 Successful transmissions: 118
Open connexion
Connexion opened
at+chttpact="167.99.205.49",80
+CME ERROR: HTTP task is busy
Start data transfer
Data transfer is complete
response length: 23 response: ates HTTP/1.1
ERROR
Errors: 223 Successful transmissions: 118
+CHTTPACT: 0
Open connexion
Connexion opened
+CHTTPACT: 0
at+chttpact="167.99.205.49",80
Start data transfer
Data transfer is complete
response length: 797 response:
+CHTTPACT: REQUEST
POST /coordinates HTTP/1.1
Content-type: application/json
Accept: application/json
Content-length: 660
{"latitude":"50.819052916667_50.819052916667_50.819052916667_50.819052916667_50.819052916667_50.819052916667_50.819052916667_50.819052916667_50.819052916667_50.819052916667","longitude":"-1.3071118666667_-1.3071118666667_-1.3071118666667_-1.3071118666667_-1.3071118666667_-1.3071118666667_-1.3071118666667_-1.3071117833333_-1.3071117833333_-1.3071117833333","datetime":"20180830130844.0_20180830130846.0_20180830130847.0_20180830130848.0_20180830130849.0_20180830130850.0_20180830130851.0_20180830130852.0_20180830130853.0_20180830130854.0","speed":"0_0_0_0_0_0_0_0_0_0","course":"0_0_0_0_0_0_0_0_0_0","tracker_id":1,"token":"XXX"}
OK
Errors: 223 Successful transmissions: 119
+CHTTPACT: DATA,1030
http/1.1 201 created
x-frame-options: sameorigin
x-xss-protection: 1; mode=block
x-content-type-options: nosniff
location: http://167.99.205.49/coordinates
content-type: application/json; charset=utf-8
etag: w/"d8d2a3a65341da40221203c0bcc322af"
cache-control: max-age=0, private, must-revalidate
x-request-id: 28a5d468-6f60-424f-810d-525e0305a4c9
x-runtime: 0.031835
server: thin
transfer-encoding: chunked
25a
{"id":null,"latitude":"50.819052916667_50.819052916667_50.819052916667_50.819052916667_50.819052916667_50.819052916667_50.819052916667_50.819052916667_50.819052916667_50.819052916667","longitude":"-1.3071118666667_-1.3071118666667_-1.3071118666667_-1.3071118666667_-1.3071118666667_-1.3071118666667_-1.3071118666667_-1.3071117833333_-1.3071117833333_-1.3071117833333","datetime":"20180830130844.0_20180830130846.0_20180830130847.0_20180830130848.0_20180830130849.0_20180830130850.0_20180830130851.0_20180830130852.0_20180830130853.0_20180830130854.0","tracker_id":1,"created_at":null,"updated_at":null}
+CHTTPACT: DATA,5
0
Open connexion
Connexion opened
Start data transfer
Data transfer is complete
response length: 23 response: ates HTTP/1.1
ERROR
Errors: 224 Successful transmissions: 119
Open connexion
Connexion opened
at+chttpact="167.99.205.49",80
+CME ERROR: HTTP task is busy
Start data transfer
Data transfer is complete
response length: 23 response: ates HTTP/1.1
ERROR
Errors: 225 Successful transmissions: 119
Open connexion
Connexion opened
at+chttpact="167.99.205.49",80
+CME ERROR: HTTP task is busy
Open connexion
Connexion opened
at+chttpact="167.99.205.49",80
+CME ERROR: HTTP task is busy
Start data transfer
Data transfer is complete
response length: 23 response: ates HTTP/1.1
ERROR
Errors: 243 Successful transmissions: 129
Open connexion
Connexion opened
at+chttpact="167.99.205.49",80
+CME ERROR: HTTP task is busy
Start data transfer
Data transfer is complete
response length: 23 response: ates HTTP/1.1
ERROR
Errors: 244 Successful transmissions: 129
+CHTTPACT: 0
Open connexion
Connexion opened
+CHTTPACT: 0
at+chttpact="167.99.205.49",80
Start data transfer
Data transfer is complete
response length: 787 response:
+CHTTPACT: REQUEST
POST /coordinates HTTP/1.1
Content-type: application/json
Accept: application/json
Content-length: 650
{"latitude":"50.818774933333_50.818774933333_50.818774933333_50.818774966667_50.818774966667_50.818774966667_50.818774966667_50.818774966667_50.818774966667_50.818775016667","longitude":"-1.30718295_-1.30718295_-1.3071828666667_-1.3071828666667_-1.3071828666667_-1.3071828666667_-1.3071828666667_-1.3071827833333_-1.3071827833333_-1.3071827833333","datetime":"20180830131420.0_20180830131421.0_20180830131422.0_20180830131424.0_20180830131425.0_20180830131426.0_20180830131427.0_20180830131428.0_20180830131429.0_20180830131430.0","speed":"0_0_0_0_0_0_0_0_0_0","course":"0_0_0_0_0_0_0_0_0_0","tracker_id":1,"token":"XXX"}
OK
Errors: 244 Successful transmissions: 130
+CHTTPACT: DATA,1020
http/1.1 201 created
x-frame-options: sameorigin
x-xss-protection: 1; mode=block
x-content-type-options: nosniff
location: http://167.99.205.49/coordinates
content-type: application/json; charset=utf-8
etag: w/"7686a9b4c5a8f11bf0c62a2f79fa9243"
cache-control: max-age=0, private, must-revalidate
x-request-id: 3e37935b-0eaf-4839-93d0-84c4a7f521fd
x-runtime: 0.031375
server: thin
transfer-encoding: chunked
250
{"id":null,"latitude":"50.818774933333_50.818774933333_50.818774933333_50.818774966667_50.818774966667_50.818774966667_50.818774966667_50.818774966667_50.818774966667_50.818775016667","longitude":"-1.30718295_-1.30718295_-1.3071828666667_-1.3071828666667_-1.3071828666667_-1.3071828666667_-1.3071828666667_-1.3071827833333_-1.3071827833333_-1.3071827833333","datetime":"20180830131420.0_20180830131421.0_20180830131422.0_20180830131424.0_20180830131425.0_20180830131426.0_20180830131427.0_20180830131428.0_20180830131429.0_20180830131430.0","tracker_id":1,"created_at":null,"updated_at":null}
+CHTTPACT: DATA,5
0
Open connexion
Connexion opened
Start data transfer
Data transfer is complete
response length: 23 response: ates HTTP/1.1
ERROR
Errors: 245 Successful transmissions: 130
Open connexion
Connexion opened
at+chttpact="167.99.205.49",80
+CME ERROR: HTTP task is busy
Start data transfer
Data transfer is complete
response length: 23 response: ates HTTP/1.1
ERROR
Errors: 246 Successful transmissions: 130
Open connexion
Connexion opened
at+chttpact="167.99.205.49",80
+CME ERROR: HTTP task is busy
Start data transfer
Data transfer is complete
response length: 23 response: ates HTTP/1.1
ERROR
Errors: 247 Successful transmissions: 130
Open connexion
Connexion opened
at+chttpact="167.99.205.49",80
+CME ERROR: HTTP task is busy
+CHTTPACT: 0
Start data transfer
Data transfer is complete
response length: 39 response:
+CHTTPACT: 0
ates HTTP/1.1
ERROR
Errors: 247 Successful transmissions: 131
Open connexion
Connexion opened
at+chttpact="167.99.205.49",80
Start data transfer
Data transfer is complete
response length: 785 response:
+CHTTPACT: REQUEST
POST /coordinates HTTP/1.1
Content-type: application/json
Accept: application/json
Content-length: 648
{"latitude":"50.818775233333_50.818775233333_50.818775233333_50.818775233333_50.818775233333_50.818775233333_50.818775266667_50.818775266667_50.818775316667_50.818775316667","longitude":"-1.3071827833333_-1.3071827833333_-1.3071827833333_-1.3071827833333_-1.3071827833333_-1.3071827833333_-1.3071827833333_-1.3071827833333_-1.3071827_-1.3071827","datetime":"20180830131513.0_20180830131514.0_20180830131515.0_20180830131516.0_20180830131517.0_20180830131518.0_20180830131519.0_20180830131520.0_20180830131521.0_20180830131522.0","speed":"0_0_0_0_0_0_0_0_0_0","course":"0_0_0_0_0_0_0_0_0_0","tracker_id":1,"token":"XXX"}
OK
Errors: 247 Successful transmissions: 132
+CHTTPACT: DATA,1018
http/1.1 201 created
x-frame-options: sameorigin
x-xss-protection: 1; mode=block
x-content-type-options: nosniff
location: http://167.99.205.49/coordinates
content-type: application/json; charset=utf-8
etag: w/"3bd79773cd11a2908fdadb105c2ce04f"
cache-control: max-age=0, private, must-revalidate
x-request-id: 9c05c9c5-fc65-4928-827f-f880cf967894
x-runtime: 0.033562
server: thin
transfer-encoding: chunked
24e
{"id":null,"latitude":"50.818775233333_50.818775233333_50.818775233333_50.818775233333_50.818775233333_50.818775233333_50.818775266667_50.818775266667_50.818775316667_50.818775316667","longitude":"-1.3071827833333_-1.3071827833333_-1.3071827833333_-1.3071827833333_-1.3071827833333_-1.3071827833333_-1.3071827833333_-1.3071827833333_-1.3071827_-1.3071827","datetime":"20180830131513.0_20180830131514.0_20180830131515.0_20180830131516.0_20180830131517.0_20180830131518.0_20180830131519.0_20180830131520.0_20180830131521.0_20180830131522.0","tracker_id":1,"created_at":null,"updated_at":null}
+CHTTPACT: DATA,5
0
Open connexion
Connexion opened
Start data transfer
Data transfer is complete
response length: 23 response: ates HTTP/1.1
ERROR
Errors: 248 Successful transmissions: 132
Open connexion
Connexion opened
at+chttpact="167.99.205.49",80
+CME ERROR: HTTP task is busy
Start data transfer
Data transfer is complete
response length: 23 response: ates HTTP/1.1
ERROR
Errors: 249 Successful transmissions: 132
Open connexion
Connexion opened
at+chttpact="167.99.205.49",80
+CME ERROR: HTTP task is busy
Start data transfer
Data transfer is complete
response length: 23 response: ates HTTP/1.1
ERROR
Errors: 250 Successful transmissions: 132
+CHTTPACT: 0
Open connexion
Connexion opened
+CHTTPACT: 0
at+chttpact="167.99.205.49",80
Start data transfer
Data transfer is complete
response length: 797 response:
+CHTTPACT: REQUEST
POST /coordinates HTTP/1.1
Content-type: application/json
Accept: application/json
Content-length: 660
{"latitude":"50.818775933333_50.818775983333_50.818775983333_50.818776016667_50.818776016667_50.818775983333_50.818775983333_50.818775983333_50.818775983333_50.818775933333","longitude":"-1.3071820166667_-1.3071819333333_-1.3071819333333_-1.3071819333333_-1.3071819333333_-1.3071819333333_-1.3071819333333_-1.3071819333333_-1.3071819333333_-1.3071820166667","datetime":"20180830131555.0_20180830131556.0_20180830131557.0_20180830131558.0_20180830131559.0_20180830131600.0_20180830131601.0_20180830131602.0_20180830131603.0_20180830131604.0","speed":"0_0_0_0_0_0_0_0_0_0","course":"0_0_0_0_0_0_0_0_0_0","tracker_id":1,"token":"XXX"}
OK
Errors: 250 Successful transmissions: 133
+CHTTPACT: DATA,1030
http/1.1 201 created
x-frame-options: sameorigin
x-xss-protection: 1; mode=block
x-content-type-options: nosniff
location: http://167.99.205.49/coordinates
content-type: application/json; charset=utf-8
etag: w/"5541fdb7ba287eace15bbff88d33b1d2"
cache-control: max-age=0, private, must-revalidate
x-request-id: b3642875-c509-4686-944f-a9012613b9cf
x-runtime: 0.034368
server: thin
transfer-encoding: chunked
25a
{"id":null,"latitude":"50.818775933333_50.818775983333_50.818775983333_50.818776016667_50.818776016667_50.818775983333_50.818775983333_50.818775983333_50.818775983333_50.818775933333","longitude":"-1.3071820166667_-1.3071819333333_-1.3071819333333_-1.3071819333333_-1.3071819333333_-1.3071819333333_-1.3071819333333_-1.3071819333333_-1.3071819333333_-1.3071820166667","datetime":"20180830131555.0_20180830131556.0_20180830131557.0_20180830131558.0_20180830131559.0_20180830131600.0_20180830131601.0_20180830131602.0_20180830131603.0_20180830131604.0","tracker_id":1,"created_at":null,"updated_at":null}
+CHTTPACT: DATA,5
0
Open connexion
Connexion opened
Start data transfer
Data transfer is complete
response length: 23 response: ates HTTP/1.1
ERROR
Errors: 251 Successful transmissions: 133
Open connexion
Connexion opened
at+chttpact="167.99.205.49",80
+CME ERROR: HTTP task is busy
Start data transfer
Data transfer is complete
response length: 23 response: ates HTTP/1.1
ERROR
Errors: 252 Successful transmissions: 133
Open connexion
Connexion opened
at+chttpact="167.99.205.49",80
+CME ERROR: HTTP task is busy
Start data transfer
Data transfer is complete
response length: 23 response: ates HTTP/1.1
ERROR
Errors: 253 Successful transmissions: 133
Open connexion
Connexion opened
at+chttpact="167.99.205.49",80
+CME ERROR: HTTP task is busy
+CHTTPACT: 0
Start data transfer
Data transfer is complete
response length: 39 response:
+CHTTPACT: 0
ates HTTP/1.1
ERROR
Errors: 253 Successful transmissions: 134
Open connexion
Connexion opened
at+chttpact="167.99.205.49",80
Start data transfer
Data transfer is complete
response length: 769 response:
+CHTTPACT: REQUEST
POST /coordinates HTTP/1.1
Content-type: application/json
Accept: application/json
Content-length: 632
{"latitude":"50.818775933333_50.818775933333_50.8187759_50.8187759_50.8187759_50.81877585_50.81877585_50.818775816667_50.818775816667_50.818775766667","longitude":"-1.3071821833333_-1.3071821833333_-1.3071821833333_-1.3071822666667_-1.3071822666667_-1.3071822666667_-1.3071822666667_-1.3071823666667_-1.3071823666667_-1.30718245","datetime":"20180830131648.0_20180830131649.0_20180830131650.0_20180830131651.0_20180830131652.0_20180830131653.0_20180830131654.0_20180830131655.0_20180830131656.0_20180830131657.0","speed":"0_0_0_0_0_0_0_0_0_0","course":"0_0_0_0_0_0_0_0_0_0","tracker_id":1,"token":"XXX"}
OK
Errors: 253 Successful transmissions: 135
+CHTTPACT: DATA,1002
http/1.1 201 created
x-frame-options: sameorigin
x-xss-protection: 1; mode=block
x-content-type-options: nosniff
location: http://167.99.205.49/coordinates
content-type: application/json; charset=utf-8
etag: w/"2a8f46341a8c4048c5a02a1a790b8319"
cache-control: max-age=0, private, must-revalidate
x-request-id: 81bbbb2d-db4c-4d2b-8b8b-04de6060c8ea
x-runtime: 0.039315
server: thin
transfer-encoding: chunked
23e
{"id":null,"latitude":"50.818775933333_50.818775933333_50.8187759_50.8187759_50.8187759_50.81877585_50.81877585_50.818775816667_50.818775816667_50.818775766667","longitude":"-1.3071821833333_-1.3071821833333_-1.3071821833333_-1.3071822666667_-1.3071822666667_-1.3071822666667_-1.3071822666667_-1.3071823666667_-1.3071823666667_-1.30718245","datetime":"20180830131648.0_20180830131649.0_20180830131650.0_20180830131651.0_20180830131652.0_20180830131653.0_20180830131654.0_20180830131655.0_20180830131656.0_20180830131657.0","tracker_id":1,"created_at":null,"updated_at":null}
+CHTTPACT: DATA,5
0
Open connexion
Connexion opened
Start data transfer
Data transfer is complete
response length: 23 response: ates HTTP/1.1
ERROR
Errors: 254 Successful transmissions: 135
Open connexion
Connexion opened
at+chttpact="167.99.205.49",80
+CME ERROR: HTTP task is busy
Start data transfer
Data transfer is complete
response length: 23 response: ates HTTP/1.1
ERROR
Errors: 255 Successful transmissions: 135
Open connexion
Connexion opened
at+chttpact="167.99.205.49",80
+CME ERROR: HTTP task is busy
Start data transfer
Data transfer is complete
response length: 23 response: ates HTTP/1.1
ERROR
Errors: 256 Successful transmissions: 135
Open connexion
Connexion opened
at+chttpact="167.99.205.49",80
+CME ERROR: HTTP task is busy
+CHTTPACT: 0
Start data transfer
Data transfer is complete
response length: 39 response:
+CHTTPACT: 0
ates HTTP/1.1
ERROR
Errors: 256 Successful transmissions: 136
Open connexion
Connexion opened
at+chttpact="167.99.205.49",80
Start data transfer
Data transfer is complete
response length: 756 response:
+CHTTPACT: REQUEST
POST /coordinates HTTP/1.1
Content-type: application/json
Accept: application/json
Content-length: 619
{"latitude":"50.81877585_50.81877585_50.81877585_50.81877585_50.81877585_50.81877585_50.81877585_50.81877585_50.81877585_50.8187759","longitude":"-1.3071823666667_-1.3071823666667_-1.3071823666667_-1.3071823666667_-1.3071823666667_-1.3071822666667_-1.3071822666667_-1.3071822666667_-1.3071822666667_-1.3071822666667","datetime":"20180830131740.0_20180830131741.0_20180830131742.0_20180830131743.0_20180830131744.0_20180830131745.0_20180830131746.0_20180830131747.0_20180830131748.0_20180830131749.0","speed":"0_0_0_0_0_0_0_0_0_0","course":"0_0_0_0_0_0_0_0_0_0","tracker_id":1,"token":"XXX"}
OK
Errors: 256 Successful transmissions: 137
+CHTTPACT: DATA,989
http/1.1 201 created
x-frame-options: sameorigin
x-xss-protection: 1; mode=block
x-content-type-options: nosniff
location: http://167.99.205.49/coordinates
content-type: application/json; charset=utf-8
etag: w/"1cc0dfa86eee21a0331ce7e3b3435546"
cache-control: max-age=0, private, must-revalidate
x-request-id: c3406332-895d-43f8-a7d5-4aa043092a20
x-runtime: 0.035367
server: thin
transfer-encoding: chunked
231
{"id":null,"latitude":"50.81877585_50.81877585_50.81877585_50.81877585_50.81877585_50.81877585_50.81877585_50.81877585_50.81877585_50.8187759","longitude":"-1.3071823666667_-1.3071823666667_-1.3071823666667_-1.3071823666667_-1.3071823666667_-1.3071822666667_-1.3071822666667_-1.3071822666667_-1.3071822666667_-1.3071822666667","datetime":"20180830131740.0_20180830131741.0_20180830131742.0_20180830131743.0_20180830131744.0_20180830131745.0_20180830131746.0_20180830131747.0_20180830131748.0_20180830131749.0","tracker_id":1,"created_at":null,"updated_at":null}
+CHTTPACT: DATA,5
0
Open connexion
Connexion opened
Start data transfer
Data transfer is complete
response length: 23 response: ates HTTP/1.1
ERROR
Errors: 257 Successful transmissions: 137
Open connexion
Connexion opened
at+chttpact="167.99.205.49",80
+CME ERROR: HTTP task is busy
Start data transfer
Data transfer is complete
response length: 23 response: ates HTTP/1.1
ERROR
Errors: 258 Successful transmissions: 137
Open connexion
Connexion opened
at+chttpact="167.99.205.49",80
+CME ERROR: HTTP task is busy
Start data transfer
Data transfer is complete
response length: 23 response: ates HTTP/1.1
ERROR
Errors: 259 Successful transmissions: 137
Open connexion
Connexion opened
at+chttpact="167.99.205.49",80
+CME ERROR: HTTP task is busy
+CHTTPACT: 0
Start data transfer
Data transfer is complete
response length: 39 response:
+CHTTPACT: 0
ates HTTP/1.1
ERROR
Errors: 259 Successful transmissions: 138
Open connexion
Connexion opened
at+chttpact="167.99.205.49",80
Start data transfer
Data transfer is complete
response length: 745 response:
+CHTTPACT: REQUEST
POST /coordinates HTTP/1.1
Content-type: application/json
Accept: application/json
Content-length: 608
{"latitude":"50.8187764_50.8187764_50.8187764_50.8187764_50.81877645_50.81877645_50.81877645_50.818776483333_50.818776483333_50.818776483333","longitude":"-1.3071814333333_-1.3071814333333_-1.3071814333333_-1.30718135_-1.30718135_-1.30718135_-1.30718135_-1.3071812666667_-1.3071812666667_-1.3071811833333","datetime":"20180830131832.0_20180830131833.0_20180830131834.0_20180830131835.0_20180830131836.0_20180830131838.0_20180830131839.0_20180830131840.0_20180830131841.0_20180830131842.0","speed":"0_0_0_0_0_0_0_0_0_0","course":"0_0_0_0_0_0_0_0_0_0","tracker_id":1,"token":"XXX"}
OK
Errors: 259 Successful transmissions: 139
+CHTTPACT: DATA,978
http/1.1 201 created
x-frame-options: sameorigin
x-xss-protection: 1; mode=block
x-content-type-options: nosniff
location: http://167.99.205.49/coordinates
content-type: application/json; charset=utf-8
etag: w/"b09c0f15e6f80a613ba4ee547c257db4"
cache-control: max-age=0, private, must-revalidate
x-request-id: f8c11b91-2419-4036-bfae-d4fc7d6df794
x-runtime: 0.035174
server: thin
transfer-encoding: chunked
226
{"id":null,"latitude":"50.8187764_50.8187764_50.8187764_50.8187764_50.81877645_50.81877645_50.81877645_50.818776483333_50.818776483333_50.818776483333","longitude":"-1.3071814333333_-1.3071814333333_-1.3071814333333_-1.30718135_-1.30718135_-1.30718135_-1.30718135_-1.3071812666667_-1.3071812666667_-1.3071811833333","datetime":"20180830131832.0_20180830131833.0_20180830131834.0_20180830131835.0_20180830131836.0_20180830131838.0_20180830131839.0_20180830131840.0_20180830131841.0_20180830131842.0","tracker_id":1,"created_at":null,"updated_at":null}
+CHTTPACT: DATA,5
0
Open connexion
Connexion opened
Start data transfer
Data transfer is complete
response length: 23 response: ates HTTP/1.1
ERROR
Errors: 260 Successful transmissions: 139
Open connexion
Connexion opened
at+chttpact="167.99.205.49",80
+CME ERROR: HTTP task is busy
Start data transfer
Data transfer is complete
response length: 23 response: ates HTTP/1.1
ERROR
Errors: 261 Successful transmissions: 139
Open connexion
Connexion opened
at+chttpact="167.99.205.49",80
+CME ERROR: HTTP task is busy
Start data transfer
Data transfer is complete
response length: 23 response: ates HTTP/1.1
ERROR
Errors: 262 Successful transmissions: 139
Open connexion
Connexion opened
at+chttpact="167.99.205.49",80
+CME ERROR: HTTP task is busy
+CHTTPACT: 0
Start data transfer
Data transfer is complete
response length: 39 response:
+CHTTPACT: 0
ates HTTP/1.1
ERROR
Errors: 262 Successful transmissions: 140
Open connexion
Connexion opened
at+chttpact="167.99.205.49",80
Start data transfer
Data transfer is complete
response length: 792 response:
+CHTTPACT: REQUEST
POST /coordinates HTTP/1.1
Content-type: application/json
Accept: application/json
Content-length: 655
{"latitude":"50.8187767_50.818776733333_50.818776733333_50.818776783333_50.818776783333_50.818776783333_50.818776783333_50.818776783333_50.818776783333_50.818776816667","longitude":"-1.3071807666667_-1.3071807666667_-1.3071806833333_-1.3071806833333_-1.3071806833333_-1.3071806833333_-1.3071806833333_-1.3071806833333_-1.3071806833333_-1.3071806833333","datetime":"20180830131925.0_20180830131926.0_20180830131927.0_20180830131928.0_20180830131929.0_20180830131930.0_20180830131931.0_20180830131932.0_20180830131933.0_20180830131934.0","speed":"0_0_0_0_0_0_0_0_0_0","course":"0_0_0_0_0_0_0_0_0_0","tracker_id":1,"token":"XXX"}
OK
Errors: 262 Successful transmissions: 141
+CHTTPACT: DATA,1025
http/1.1 201 created
x-frame-options: sameorigin
x-xss-protection: 1; mode=block
x-content-type-options: nosniff
location: http://167.99.205.49/coordinates
content-type: application/json; charset=utf-8
etag: w/"30b7fc34fb0ec05739e9b0f933faa4c0"
cache-control: max-age=0, private, must-revalidate
x-request-id: 0836a5c0-4386-4824-930c-e13b1cbc26f0
x-runtime: 0.038533
server: thin
transfer-encoding: chunked
255
{"id":null,"latitude":"50.8187767_50.818776733333_50.818776733333_50.818776783333_50.818776783333_50.818776783333_50.818776783333_50.818776783333_50.818776783333_50.818776816667","longitude":"-1.3071807666667_-1.3071807666667_-1.3071806833333_-1.3071806833333_-1.3071806833333_-1.3071806833333_-1.3071806833333_-1.3071806833333_-1.3071806833333_-1.3071806833333","datetime":"20180830131925.0_20180830131926.0_20180830131927.0_20180830131928.0_20180830131929.0_20180830131930.0_20180830131931.0_20180830131932.0_20180830131933.0_20180830131934.0","tracker_id":1,"created_at":null,"updated_at":null}
+CHTTPACT: DATA,5
0
The text was updated successfully, but these errors were encountered:
As of now only about every third attempt to POST the last 10 coordinates is successful, even with best conditions. It looks like the HTTP library requires more time to do it's job.
In a test a did today of there where 141 successful transmissions, in contrast to 262 requests with errors.
See log excerpt below, the variant of the lua script which was used during this test is available at https://gist.github.com/saerdnaer/048b7abc0698c3671a0baf312bbfffa3
I would opt for having two separate buffers for the sd card and for the webserver, the last one only get's flushed once a POST request was successful.
The text was updated successfully, but these errors were encountered: