{"action":"created","issue":{"url":"https://api.github.com/repos/tananaev/traccar/issues/1351","labels_url":"https://api.github.com/repos/tananaev/traccar/issues/1351/labels{/name}","comments_url":"https://api.github.com/repos/tananaev/traccar/issues/1351/comments","events_url":"https://api.github.com/repos/tananaev/traccar/issues/1351/events","html_url":"https://github.com/tananaev/traccar/issues/1351","id":100848471,"number":1351,"title":"Atrack AY5i, traccar and OpenGTS","user":{"login":"pecko","id":534584,"avatar_url":"https://avatars.githubusercontent.com/u/534584?v=3","gravatar_id":"","url":"https://api.github.com/users/pecko","html_url":"https://github.com/pecko","followers_url":"https://api.github.com/users/pecko/followers","following_url":"https://api.github.com/users/pecko/following{/other_user}","gists_url":"https://api.github.com/users/pecko/gists{/gist_id}","starred_url":"https://api.github.com/users/pecko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pecko/subscriptions","organizations_url":"https://api.github.com/users/pecko/orgs","repos_url":"https://api.github.com/users/pecko/repos","events_url":"https://api.github.com/users/pecko/events{/privacy}","received_events_url":"https://api.github.com/users/pecko/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2015-08-13T19:24:40Z","updated_at":"2015-09-16T20:05:17Z","closed_at":"2015-09-16T19:02:58Z","body":"I try to configure Atrack AY5i, traccar and OpenGTS, but traccar doesn't put something to map (eventdata)\r\n\r\ntraccar.xml contains:\r\n```\r\n<!-- SERVER CONFIG -->\r\n\r\n    <entry key='web.enable'>false</entry>\r\n    <entry key='web.port'>8082</entry>\r\n    <entry key='web.path'>C:\\Program Files (x86)\\Traccar\\web</entry>\r\n\r\n    <entry key='geocoder.enable'>true</entry>\r\n    <entry key='geocoder.type'>google</entry>\r\n\r\n    <entry key='logger.enable'>true</entry>\r\n    <entry key='logger.level'>all</entry>\r\n    <entry key='logger.file'>C:\\Program Files (x86)\\Traccar\\logs\\tracker-server.log</entry>\r\n\r\n<!-- DATABASE CONFIG -->\r\n\r\n    <entry key='database.driver'>com.mysql.jdbc.Driver</entry>\r\n    <entry key='database.url'>jdbc:mysql://localhost:3306/mydb?allowMultiQueries=true</entry>\r\n    <entry key='database.user'>myuser</entry>\r\n    <entry key='database.password'>mypasswd</entry>\r\n\r\n    <!-- <entry key='database.checkTable'>traccar</entry> -->\r\n\r\n    <entry key='database.selectDevicesAll'>\r\n        SELECT imeiNumber AS id, imeiNumber AS uniqueId FROM Device WHERE imeiNumber REGEXP '^[0-9]+$';\r\n    </entry>\r\n\r\n    <entry key='database.insertPosition'>\r\n        START TRANSACTION;\r\n            UPDATE Device SET lastValidLatitude = :latitude, lastValidLongitude = :longitude, lastGPSTimestamp = UNIX_TIMESTAMP(:time), lastUpdateTime = UNIX_TIMESTAMP(NOW()) WHERE imeiNumber = RIGHT(CONCAT('000000000000000', :deviceId), 15);\r\n            SELECT @accountID := accountID, @deviceID := deviceID FROM Device WHERE imeiNumber = RIGHT(CONCAT('000000000000000', :deviceId), 15);\r\n            INSERT INTO EventData (accountID, deviceID, timestamp, statusCode, latitude, longitude, speedKPH, heading, altitude, rawData, creationTime, address)\r\n            VALUES (@accountID, @deviceID, UNIX_TIMESTAMP(:time), 0, :latitude, :longitude, :speed * 1.852, :course, :altitude, '', UNIX_TIMESTAMP(NOW()), :address);\r\n        COMMIT;\r\n    </entry>\r\n\r\n    <!-- PROTOCOL CONFIG -->\r\n```\r\n\r\nThe device info:\r\n\r\n$INFO=193755252931960,AY5,Rev.5.07,193755252931960,0,,159,42,9,255,0,0,0\r\n\r\nI have set IMEINUMBER to 193755252931960 (tried also hexadecimal B03829063D78 without success)\r\n\r\nThe wrapper output:\r\n```\r\nSTATUS | wrapper  | 2015/08/14 04:14:20 | --> Wrapper Started as Service\r\nSTATUS | wrapper  | 2015/08/14 04:14:20 | Java Service Wrapper Community Edition 64-bit 3.5.26\r\nSTATUS | wrapper  | 2015/08/14 04:14:20 |   Copyright (C) 1999-2014 Tanuki Software, Ltd. All Rights Reserved.\r\nSTATUS | wrapper  | 2015/08/14 04:14:20 |     http://wrapper.tanukisoftware.com\r\nSTATUS | wrapper  | 2015/08/14 04:14:20 | \r\nSTATUS | wrapper  | 2015/08/14 04:14:21 | Launching a JVM...\r\nINFO   | jvm 1    | 2015/08/14 04:14:26 | WrapperManager: Initializing...\r\nINFO   | jvm 1    | 2015/08/14 04:14:28 | [MLog-Init-Reporter] INFO com.mchange.v2.log.MLog - MLog clients using slf4j logging.\r\nINFO   | jvm 1    | 2015/08/14 04:14:29 | [WrapperSimpleAppMain] INFO com.mchange.v2.c3p0.C3P0Registry - Initializing c3p0-0.9.5.1 [built 16-June-2015 00:06:36 -0700; debug? true; trace: 10]\r\nINFO   | jvm 1    | 2015/08/14 04:14:29 | [WrapperSimpleAppMain] INFO com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource - Initializing c3p0 pool... com.mchange.v2.c3p0.ComboPooledDataSource [ acquireIncrement -> 3, acquireRetryAttempts -> 30, acquireRetryDelay -> 1000, autoCommitOnClose -> false, automaticTestTable -> null, breakAfterAcquireFailure -> false, checkoutTimeout -> 0, connectionCustomizerClassName -> null, connectionTesterClassName -> com.mchange.v2.c3p0.impl.DefaultConnectionTester, contextClassLoaderSource -> caller, dataSourceName -> 1hge2v79bb7bk7o1hksthb|6bd5c00a, debugUnreturnedConnectionStackTraces -> false, description -> null, driverClass -> com.mysql.jdbc.Driver, extensions -> {}, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, forceSynchronousCheckins -> false, forceUseNamedDriverClass -> false, identityToken -> 1hge2v79bb7bk7o1hksthb|6bd5c00a, idleConnectionTestPeriod -> 600, initialPoolSize -> 3, jdbcUrl -> jdbc:mysql://localhost:3306/gts?allowMultiQueries=true, maxAdministrativeTaskTime -> 0, maxConnectionAge -> 0, maxIdleTime -> 0, maxIdleTimeExcessConnections -> 0, maxPoolSize -> 15, maxStatements -> 0, maxStatementsPerConnection -> 0, minPoolSize -> 3, numHelperThreads -> 3, preferredTestQuery -> null, privilegeSpawnedThreads -> false, properties -> {user=******, password=******}, propertyCycle -> 0, statementCacheNumDeferredCloseThreads -> 0, testConnectionOnCheckin -> true, testConnectionOnCheckout -> false, unreturnedConnectionTimeout -> 0, userOverrides -> {}, usesTraditionalReflectiveProxies -> false ]\r\n```\r\n\r\ntracker-server.log:\r\n```\r\n2015-08-14 04:14:28  INFO: Operating System name: Windows Server 2008 R2 version: 6.1 architecture: amd64\r\n2015-08-14 04:14:28  INFO: Java Runtime name: Java HotSpot(TM) 64-Bit Server VM vendor: Oracle Corporation version: 24.65-b04\r\n2015-08-14 04:14:28  INFO: Memory Limit heap: 494mb non-heap: 130mb\r\n2015-08-14 04:14:28  INFO: Version: 3.1-SNAPSHOT\r\n2015-08-14 04:14:31  INFO: Query not provided: database.createSchema\r\n2015-08-14 04:14:32  INFO: Query not provided: database.insertUser\r\n2015-08-14 04:14:32  INFO: Query not provided: database.insertServer\r\n2015-08-14 04:14:32  INFO: Query not provided: database.selectLatestPositions\r\n2015-08-14 04:14:32  INFO: Starting server...\r\n2015-08-14 04:19:57  INFO: [93E6D8EF] connected\r\n2015-08-14 04:20:52  WARN: [93E6D8EF] error - An existing connection was forcibly closed by the remote host - IOException (...)\r\n2015-08-14 04:20:52  INFO: [93E6D8EF] disconnected\r\n2015-08-14 04:20:52  INFO: [446A3E2E] connected\r\n2015-08-14 04:20:56 DEBUG: [446A3E2E: 5044 < 192.168.0.205] HEX: fe020000b03829063d780b55\r\n2015-08-14 04:20:56 DEBUG: [446A3E2E: 5044 > 192.168.0.205] HEX: fe020000b03829063d780b55\r\n2015-08-14 04:21:53 DEBUG: [446A3E2E: 5044 < 192.168.0.205] HEX: fe020000b03829063d780b56\r\n2015-08-14 04:21:53 DEBUG: [446A3E2E: 5044 > 192.168.0.205] HEX: fe020000b03829063d780b56\r\n2015-08-14 04:22:53 DEBUG: [446A3E2E: 5044 < 192.168.0.205] HEX: fe020000b03829063d780b57\r\n2015-08-14 04:22:53 DEBUG: [446A3E2E: 5044 > 192.168.0.205] HEX: fe020000b03829063d780b57\r\n2015-08-14 04:23:53 DEBUG: [446A3E2E: 5044 < 192.168.0.205] HEX: fe020000b03829063d780b58\r\n2015-08-14 04:23:53 DEBUG: [446A3E2E: 5044 > 192.168.0.205] HEX: fe020000b03829063d780b58\r\n2015-08-14 04:24:54 DEBUG: [446A3E2E: 5044 < 192.168.0.205] HEX: fe020000b03829063d780b59\r\n2015-08-14 04:24:54 DEBUG: [446A3E2E: 5044 > 192.168.0.205] HEX: fe020000b03829063d780b59\r\n2015-08-14 04:25:54 DEBUG: [446A3E2E: 5044 < 192.168.0.205] HEX: fe020000b03829063d780b5a\r\n2015-08-14 04:25:54 DEBUG: [446A3E2E: 5044 > 192.168.0.205] HEX: fe020000b03829063d780b5a\r\n2015-08-14 04:26:54 DEBUG: [446A3E2E: 5044 < 192.168.0.205] HEX: fe020000b03829063d780b5b\r\n2015-08-14 04:26:54 DEBUG: [446A3E2E: 5044 > 192.168.0.205] HEX: fe020000b03829063d780b5b\r\n2015-08-14 04:27:54 DEBUG: [446A3E2E: 5044 < 192.168.0.205] HEX: fe020000b03829063d780b5c\r\n2015-08-14 04:27:54 DEBUG: [446A3E2E: 5044 > 192.168.0.205] HEX: fe020000b03829063d780b5c\r\n2015-08-14 04:28:54 DEBUG: [446A3E2E: 5044 < 192.168.0.205] HEX: fe020000b03829063d780b5d\r\n2015-08-14 04:28:54 DEBUG: [446A3E2E: 5044 > 192.168.0.205] HEX: fe020000b03829063d780b5d\r\n2015-08-14 04:29:54 DEBUG: [446A3E2E: 5044 < 192.168.0.205] HEX: fe020000b03829063d780b5e\r\n2015-08-14 04:29:54 DEBUG: [446A3E2E: 5044 > 192.168.0.205] HEX: fe020000b03829063d780b5e\r\n2015-08-14 04:30:54 DEBUG: [446A3E2E: 5044 < 192.168.0.205] HEX: fe020000b03829063d780b5f\r\n2015-08-14 04:30:54 DEBUG: [446A3E2E: 5044 > 192.168.0.205] HEX: fe020000b03829063d780b5f\r\n2015-08-14 04:31:54 DEBUG: [446A3E2E: 5044 < 192.168.0.205] HEX: fe020000b03829063d780b60\r\n2015-08-14 04:31:54 DEBUG: [446A3E2E: 5044 > 192.168.0.205] HEX: fe020000b03829063d780b60\r\n2015-08-14 04:32:54 DEBUG: [446A3E2E: 5044 < 192.168.0.205] HEX: fe020000b03829063d780b61\r\n2015-08-14 04:32:54 DEBUG: [446A3E2E: 5044 > 192.168.0.205] HEX: fe020000b03829063d780b61\r\n```\r\n\r\nI have tried sent simple 'test' to 5044 port using Linux nc command and get the following:\r\n\r\n```\r\n2015-08-14 04:32:57  INFO: [B14B3E01] connected\r\n2015-08-14 04:33:00 DEBUG: [B14B3E01: 5044 < 195.252.88.155] HEX: 746573740a\r\n```\r\n\r\nWhat is wrong? Does traccar support Atrack AY5i?"},"comment":{"url":"https://api.github.com/repos/tananaev/traccar/issues/comments/140870872","html_url":"https://github.com/tananaev/traccar/issues/1351#issuecomment-140870872","issue_url":"https://api.github.com/repos/tananaev/traccar/issues/1351","id":140870872,"user":{"login":"pecko","id":534584,"avatar_url":"https://avatars.githubusercontent.com/u/534584?v=3","gravatar_id":"","url":"https://api.github.com/users/pecko","html_url":"https://github.com/pecko","followers_url":"https://api.github.com/users/pecko/followers","following_url":"https://api.github.com/users/pecko/following{/other_user}","gists_url":"https://api.github.com/users/pecko/gists{/gist_id}","starred_url":"https://api.github.com/users/pecko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pecko/subscriptions","organizations_url":"https://api.github.com/users/pecko/orgs","repos_url":"https://api.github.com/users/pecko/repos","events_url":"https://api.github.com/users/pecko/events{/privacy}","received_events_url":"https://api.github.com/users/pecko/received_events","type":"User","site_admin":false},"created_at":"2015-09-16T20:05:17Z","updated_at":"2015-09-16T20:05:17Z","body":"@martynask It is different device. I think that you should open another issue and add log of your traccar server."}}