Please try this build:
https://www.dropbox.com/s/myt68q5u7fiz49r/tracker-server-jar-with-dependencies.jar?dl=0
I am using 3.1 on ubuntu, can I replace the jar file with this new one without affecting any other things?
If it's your production server, I wouldn't do it because it's a developer build and something might not work.
Okay, Then ill leave to upgrade to new release (where probably this fix would be available right).
As its my production server.
It doesn't have a fix, but it should give more details about the issues.
Okay, I will try to set-up a development environment to test it then. and let you know in couple of days. the outcome.
Dear Anton 3.2 as well same problem.
{"success":false,"error":"Invalid token=EOF at (line no=1, column no=0, offset=-1). Expected tokens are: [CURLYOPEN, SQUAREOPEN] - JsonParsingException (... < JsonConverter:54 < CommandServlet:38 < *:18 < BaseServlet:67 < ...)"}
2015-12-09 11:20:49 INFO: [E70AEF56] timed out
2015-12-09 11:20:49 INFO: [E70AEF56] disconnected
2015-12-09 11:20:49 DEBUG: [81E33A97: 5023 < 106.194.82.204] HEX: 78781f120f0c0905312ac7020d99fc07d22d100fd40601945c056100b4510732723f0d0a78781f120f0c0905312fc7020d9b8407d22d1010d56601945c056100b4510733181b0d0a78781f120f0c09053134c7020d9cfc07d22cf011d56201945c0561003bf90734a7a80d0a78781f120f0c09053139c7020d9e5007d22cb80fd55c01945c0561003bf9073539c90d0a78781f120f0c09053202c7020d9fd007d22c780fd55b01945c0561003bf907360cf00d0a78781f120f0c09053207c7020da1a807d22bf013d55501945c0561003bf90737714f0d0a78781f120f0c0905320cc7020da36c07d22b3812d55001945c0561003bf90738ca690d0a78781f120f0c09053211c7020da4d407d22a3812d54401945c0561003bf90739300d0d0a78781f120f0c09053216c7020da62807d2292011d54001945c0561003bf9073a61510d0a78781f120f0c0905321bc7020da71c07d228380ed53901945c0561003bf9073b72e90d0a
2015-12-09 11:20:49 DEBUG: [81E33A97: 5023 > 106.194.82.204] HEX: 787805120732fd3d0d0a
2015-12-09 11:20:49 DEBUG: [0114A75E: 5023 < 106.215.190.68] HEX: 78781f120f0c09053231ca02e1a9d8081afa1028d422019446006400e97d095b9c0b0d0a
2015-12-09 11:20:49 DEBUG: [0114A75E: 5023 > 106.215.190.68] HEX: 78780512095b99ea0d0a
2015-12-09 11:20:49 DEBUG: [1B28104B: 5023 < 182.66.2.200] HEX: 78780d010358899055643103001913c90d0a
2015-12-09 11:20:49 WARN: [0114A75E] error - NullPointerException (ConnectionManager:84 < BaseProtocolDecoder:103 < ExtendedObjectDecoder:40 < ...)
2015-12-09 11:20:49 DEBUG: [81E33A97: 5023 > 106.194.82.204] HEX: 787805120733ecb40d0a
2015-12-09 11:20:49 INFO: [0114A75E] disconnected
2015-12-09 11:20:49 WARN: [0114A75E] error - NullPointerException (ConnectionManager:84 < *:71 < MainEventHandler:70 < ... < ExtendedObjectDecoder:33 < ...)
2015-12-09 11:20:49 WARN: [81E33A97] error - NullPointerException (ConnectionManager:84 < BaseProtocolDecoder:103 < ExtendedObjectDecoder:40 < ...)
2015-12-09 11:20:49 INFO: [81E33A97] disconnected
2015-12-09 11:20:49 WARN: [81E33A97] error - NullPointerException (ConnectionManager:84 < *:71 < MainEventHandler:70 < ... < ExtendedObjectDecoder:33 < ...)
2015-12-09 11:20:49 WARN: Unknown device - 358899055643103
2015-12-09 11:20:49 DEBUG: [81E33A97: 5023 > 106.194.82.204] HEX: 787805120734980b0d0a
2015-12-09 11:20:49 WARN: [81E33A97] error - ClosedChannelException (... < Gt06ProtocolDecoder:96 < *:236 < ExtendedObjectDecoder:39 < ...)
2015-12-09 11:20:49 DEBUG: [81E33A97: 5023 > 106.194.82.204] HEX: 78780512073589820d0a
2015-12-09 11:20:49 WARN: [81E33A97] error - ClosedChannelException (... < Gt06ProtocolDecoder:96 < *:236 < ExtendedObjectDecoder:39 < ...)
2015-12-09 11:20:49 DEBUG: [81E33A97: 5023 > 106.194.82.204] HEX: 787805120736bb190d0a
2015-12-09 11:20:49 WARN: [81E33A97] error - ClosedChannelException (... < Gt06ProtocolDecoder:96 < *:236 < ExtendedObjectDecoder:39 < ...)
2015-12-09 11:20:49 DEBUG: [81E33A97: 5023 > 106.194.82.204] HEX: 787805120737aa900d0a
2015-12-09 11:20:49 WARN: [81E33A97] error - ClosedChannelException (... < Gt06ProtocolDecoder:96 < *:236 < ExtendedObjectDecoder:39 < ...)
2015-12-09 11:20:49 DEBUG: [81E33A97: 5023 > 106.194.82.204] HEX: 78780512073852670d0a
2015-12-09 11:20:49 WARN: [81E33A97] error - ClosedChannelException (... < Gt06ProtocolDecoder:96 < *:236 < ExtendedObjectDecoder:39 < ...)
2015-12-09 11:20:49 DEBUG: [81E33A97: 5023 > 106.194.82.204] HEX: 78780512073943ee0d0a
2015-12-09 11:20:49 WARN: [81E33A97] error - ClosedChannelException (... < Gt06ProtocolDecoder:96 < *:236 < ExtendedObjectDecoder:39 < ...)
2015-12-09 11:20:49 DEBUG: [81E33A97: 5023 > 106.194.82.204] HEX: 78780512073a71750d0a
2015-12-09 11:20:49 WARN: [81E33A97] error - ClosedChannelException (... < Gt06ProtocolDecoder:96 < *:236 < ExtendedObjectDecoder:39 < ...)
2015-12-09 11:20:49 DEBUG: [81E33A97: 5023 > 106.194.82.204] HEX: 78780512073b60fc0d0a
2015-12-09 11:20:49 WARN: [81E33A97] error - ClosedChannelException (... < Gt06ProtocolDecoder:96 < *:236 < ExtendedObjectDecoder:39 < ...)
2015-12-09 11:20:49 INFO: [81E33A97] id: 221, time: 2015-12-09 11:19:42, lat: 19.13657, lon: 72.89700, speed: 8.1, course: 6.0
2015-12-09 11:20:49 INFO: [81E33A97] id: 221, time: 2015-12-09 11:19:52, lat: 19.13699, lon: 72.89699, speed: 9.2, course: 354.0
2015-12-09 11:20:49 INFO: [81E33A97] id: 221, time: 2015-12-09 11:19:57, lat: 19.13718, lon: 72.89696, speed: 8.1, course: 348.0
2015-12-09 11:20:49 INFO: [81E33A97] id: 221, time: 2015-12-09 11:20:02, lat: 19.13740, lon: 72.89692, speed: 8.1, course: 347.0
2015-12-09 11:20:49 INFO: [81E33A97] id: 221, time: 2015-12-09 11:20:07, lat: 19.13766, lon: 72.89684, speed: 10.3, course: 341.0
2015-12-09 11:20:49 INFO: [81E33A97] id: 221, time: 2015-12-09 11:20:12, lat: 19.13791, lon: 72.89674, speed: 9.7, course: 336.0
2015-12-09 11:20:49 INFO: [81E33A97] id: 221, time: 2015-12-09 11:20:17, lat: 19.13811, lon: 72.89660, speed: 9.7, course: 324.0
2015-12-09 11:20:49 INFO: [81E33A97] id: 221, time: 2015-12-09 11:20:22, lat: 19.13830, lon: 72.89644, speed: 9.2, course: 320.0
2015-12-09 11:20:49 INFO: [81E33A97] id: 221, time: 2015-12-09 11:20:27, lat: 19.13843, lon: 72.89632, speed: 7.6, course: 313.0
2015-12-09 11:20:50 INFO: [E3B127BB] timed out
2015-12-09 11:20:50 INFO: [E3B127BB] disconnected
Not sure how I missed it from the beginning, but your API call is completely incorrect. You should send command as a JSON payload data.
Ohhh, I have been actually directly posting url with parameters.
I will switch to JSON Payload data format. Thank you :)
Dear Anton,
I tried the following steps as below.
Logged in via API got a success.
Fetched async position (Worked fine on the same session then I sent )
api/command/send?deviceId=12&type=engineStop
As a response I got this, Please advice?
{"success":false,"error":"Invalid token=EOF at (line no=1, column no=0, offset=-1). Expected tokens are: [CURLYOPEN, SQUAREOPEN]"}