Traccar Manager devices selection shows progressing continuosly

sachin.terdale9 years ago

Hi,

We are using traccar manager to monitor devices but due to some reason when we are selecting devices in traccar manager it dont shows devices just shows progress icon continuously. please let us know how to resolve the issue.

Wrapper log

INFO   | jvm 1    | 2016/04/23 13:13:11 | WrapperSimpleApp Error:       at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
INFO   | jvm 1    | 2016/04/23 13:13:11 | WrapperSimpleApp Error:       at java.net.Socket.connect(Socket.java:579)
INFO   | jvm 1    | 2016/04/23 13:13:11 | WrapperSimpleApp Error:       at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:211)
INFO   | jvm 1    | 2016/04/23 13:13:11 | WrapperSimpleApp Error:       at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:298)
INFO   | jvm 1    | 2016/04/23 13:13:11 | WrapperSimpleApp Error:       ... 25 more
STATUS | wrapper  | 2016/04/23 13:13:14 | <-- Wrapper Stopped
STATUS | wrapper  | 2016/04/23 13:20:09 | --> Wrapper Started as Daemon
STATUS | wrapper  | 2016/04/23 13:20:09 | Java Service Wrapper Community Edition 64-bit 3.5.28
STATUS | wrapper  | 2016/04/23 13:20:09 |   Copyright (C) 1999-2016 Tanuki Software, Ltd. All Rights Reserved.
STATUS | wrapper  | 2016/04/23 13:20:09 |     http://wrapper.tanukisoftware.com
STATUS | wrapper  | 2016/04/23 13:20:09 |
STATUS | wrapper  | 2016/04/23 13:20:09 | Launching a JVM...
INFO   | jvm 1    | 2016/04/23 13:20:09 | WrapperManager: Initializing...
INFO   | jvm 1    | 2016/04/23 13:20:09 | [MLog-Init-Reporter] INFO com.mchange.v2.log.MLog - MLog clients using slf4j logging.
INFO   | jvm 1    | 2016/04/23 13:20:09 | [WrapperSimpleAppMain] INFO com.mchange.v2.c3p0.C3P0Registry - Initializing c3p0-0.9.5.2 [built 08-December-2015 22:06:04 -0800; debug? true; trace: 10]
INFO   | jvm 1    | 2016/04/23 13:20:11 | INFO 4/23/16 1:20 PM: liquibase: Clearing database change log checksums
INFO   | jvm 1    | 2016/04/23 13:20:11 | INFO 4/23/16 1:20 PM: liquibase: Successfully acquired change log lock
INFO   | jvm 1    | 2016/04/23 13:20:11 | INFO 4/23/16 1:20 PM: liquibase: Successfully released change log lock
INFO   | jvm 1    | 2016/04/23 13:20:11 | INFO 4/23/16 1:20 PM: liquibase: Successfully acquired change log lock
INFO   | jvm 1    | 2016/04/23 13:20:13 | INFO 4/23/16 1:20 PM: liquibase: Reading from traccar.DATABASECHANGELOG
INFO   | jvm 1    | 2016/04/23 13:20:13 | INFO 4/23/16 1:20 PM: liquibase: Reading from traccar.DATABASECHANGELOG
INFO   | jvm 1    | 2016/04/23 13:20:13 | INFO 4/23/16 1:20 PM: liquibase: Successfully released change log lock
INFO   | jvm 1    | 2016/04/23 13:20:13 | [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 -> 1br9svj9gio0l1k9qre8z|2232a6dc, debugUnreturnedConnectionStackTraces -> false, description -> null, driverClass -> com.mysql.jdbc.Driver, extensions -> {}, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, forceSynchronousCheckins -> false, forceUseNamedDriverClass -> false, identityToken -> 1br9svj9gio0l1k9qre8z|2232a6dc, idleConnectionTestPeriod -> 600, initialPoolSize -> 3, jdbcUrl -> jdbc:mysql://127.0.0.1:3306/traccar?allowMultiQueries=true&autoReconnect=true&useUnicode=yes&characterEncoding=UTF-8&sessionVariables=sql_mode=ANSI_QUOTES, 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 ]
INFO   | jvm 1    | 2016/04/23 13:20:13 | [WrapperSimpleAppMain] INFO org.eclipse.jetty.util.log - Logging initialized @3983ms
INFO   | jvm 1    | 2016/04/23 13:20:14 | [WrapperSimpleAppMain] INFO org.eclipse.jetty.server.Server - jetty-9.2.15.v20160210
INFO   | jvm 1    | 2016/04/23 13:20:15 | [WrapperSimpleAppMain] INFO org.eclipse.jetty.server.handler.ContextHandler - Started o.e.j.s.ServletContextHandler@41f0b28{/api,null,AVAILABLE}
INFO   | jvm 1    | 2016/04/23 13:20:15 | [WrapperSimpleAppMain] WARN org.eclipse.jetty.server.handler.AbstractHandler - No Server set for org.traccar.web.WebServer$1@12157135
INFO   | jvm 1    | 2016/04/23 13:20:15 | [WrapperSimpleAppMain] INFO org.eclipse.jetty.server.ServerConnector - Started ServerConnector@14bd1227{HTTP/1.1}{0.0.0.0:8082}

tracker-server.log

2016-04-23 18:21:08  INFO: [50CC73F1] disconnected
2016-04-23 18:21:08  INFO: [78672E56] disconnected
2016-04-23 18:21:08  INFO: [4A96A11A] disconnected
2016-04-23 18:21:08  INFO: [20493731] disconnected
2016-04-23 18:21:08  INFO: [79DBD587] disconnected
2016-04-23 18:21:08  INFO: [B4FD38B6] disconnected
2016-04-23 18:21:08  INFO: [1A24C08C] disconnected
2016-04-23 18:21:08  INFO: [76A42302] disconnected
2016-04-23 18:21:08  INFO: [BE724CAF] disconnected
2016-04-23 18:21:08  INFO: [2A24FD6B] disconnected
2016-04-23 18:21:08  INFO: [0B771BEE] disconnected
2016-04-23 18:21:08  INFO: [6E395990] disconnected
2016-04-23 18:21:08  INFO: [C3208D64] disconnected
2016-04-23 18:21:08  INFO: [4CFDACF6] disconnected
2016-04-23 18:21:08  INFO: [FD67A382] disconnected
2016-04-23 18:21:08  INFO: [FFF83A91] disconnected
2016-04-23 18:21:08  INFO: [FF2877AC] disconnected
2016-04-23 18:21:08  INFO: [8A844203] disconnected
2016-04-23 18:21:08  INFO: [8B09E353] disconnected
2016-04-23 18:21:08  INFO: [AB2755A9] disconnected
2016-04-23 18:21:08  INFO: [24770D1D] disconnected
2016-04-23 18:21:08  INFO: [214B1DDB] disconnected
2016-04-23 18:21:08  INFO: [EB90DF05] disconnected
2016-04-23 18:21:08  INFO: [EF4AD246] disconnected
2016-04-23 18:21:18  INFO: Operating system name: Linux version: 4.1.17-22.30.amzn1.x86_64 architecture: amd64
2016-04-23 18:21:18  INFO: Java runtime name: OpenJDK 64-Bit Server VM vendor: Oracle Corporation version: 24.95-b01
2016-04-23 18:21:18  INFO: Memory limit heap: 481mb non-heap: 214mb
2016-04-23 18:21:18  INFO: Character encoding: UTF-8 charset: UTF-8
2016-04-23 18:21:18  INFO: Version: 3.4-SNAPSHOT
2016-04-23 18:21:23  INFO: Starting server...
2016-04-23 18:21:47  INFO: [4CBC879A] connected
2016-04-23 18:21:47 DEBUG: [4CBC879A: 5055 < 123.201.89.58] HEX: 474554202f3f69643d3833303337372674696d657374616d703d31343631343135383330266c61743d31382e35313032363532266c6f6e3d37332e383436343637312673706565643d302e302662656172696e673d302e3026616c7469747564653d302e3026626174743d31332e3020485454502f312e310d0a557365722d4167656e743a2044616c76696b2f312e362e3020284c696e75783b20553b20416e64726f696420342e342e343b20585431303232204275696c642f4b584332312e352d3430290d0a486f73743a2035322e33372e3130362e3136323a353035350d0a436f6e6e656374696f6e3a204b6565702d416c6976650d0a4163636570742d456e636f64696e673a20677a69700d0a0d0a
2016-04-23 18:21:47 DEBUG: [4CBC879A: 5055 > 123.201.89.58] HEX: 485454502f312e3120323030204f4b0d0a0d0a
2016-04-23 18:21:47  INFO: [4CBC879A] disconnected
2016-04-23 18:21:47  INFO: [4CBC879A] id: 2, time: 2016-04-23 12:50:30, lat: 18.51027, lon: 73.84647, speed: 0.0, course: 0.0
2016-04-23 18:21:48 DEBUG: [80A0A599: 5055 < 123.201.89.58] HEX: 474554202f3f69643d3833303337372674696d657374616d703d31343631343135383532266c61743d31382e35313032373734266c6f6e3d37332e383436343438322673706565643d302e302662656172696e673d302e3026616c7469747564653d302e3026626174743d31342e3020485454502f312e310d0a557365722d4167656e743a2044616c76696b2f312e362e3020284c696e75783b20553b20416e64726f696420342e342e343b20585431303232204275696c642f4b584332312e352d3430290d0a486f73743a2035322e33372e3130362e3136323a353035350d0a436f6e6e656374696f6e3a204b6565702d416c6976650d0a4163636570742d456e636f64696e673a20677a69700d0a0d0a
2016-04-23 18:21:48 DEBUG: [80A0A599: 5055 > 123.201.89.58] HEX: 485454502f312e3120323030204f4b0d0a0d0a
2016-04-23 18:21:48  INFO: [80A0A599] disconnected
2016-04-23 18:21:48  INFO: [80A0A599] id: 2, time: 2016-04-23 12:50:52, lat: 18.51028, lon: 73.84645, speed: 0.0, course: 0.0
2016-04-23 18:21:59  INFO: [9C63F725] connected
2016-04-23 18:21:59 DEBUG: [9C63F725: 5055 < 123.201.89.58] HEX: 474554202f3f69643d3833303337372674696d657374616d703d31343631343135383733266c61743d31382e35313032353637266c6f6e3d37332e383436343736352673706565643d302e302662656172696e673d302e3026616c7469747564653d302e3026626174743d31342e3020485454502f312e310d0a557365722d4167656e743a2044616c76696b2f312e362e3020284c696e75783b20553b20416e64726f696420342e342e343b20585431303232204275696c642f4b584332312e352d3430290d0a486f73743a2035322e33372e3130362e3136323a353035350d0a436f6e6e656374696f6e3a204b6565702d416c6976650d0a4163636570742d456e636f64696e673a20677a69700d0a0d0a
2016-04-23 18:21:59 DEBUG: [9C63F725: 5055 > 123.201.89.58] HEX: 485454502f312e3120323030204f4b0d0a0d0a
2016-04-23 18:21:59  INFO: [9C63F725] disconnected
2016-04-23 18:21:59  INFO: [9C63F725] id: 2, time: 2016-04-23 12:51:13, lat: 18.51026, lon: 73.84648, speed: 0.0, course: 0.0
2016-04-23 18:22:21  INFO: [85883BFA] connected
2016-04-23 18:22:21 DEBUG: [85883BFA: 5055 < 123.201.89.58] HEX: 474554202f3f69643d3833303337372674696d657374616d703d31343631343135383935266c61743d31382e35313032363533266c6f6e3d37332e3834363436332673706565643d302e302662656172696e673d302e3026616c7469747564653d302e3026626174743d31342e3020485454502f312e310d0a557365722d4167656e743a2044616c76696b2f312e362e3020284c696e75783b20553b20416e64726f696420342e342e343b20585431303232204275696c642f4b584332312e352d3430290d0a486f73743a2035322e33372e3130362e3136323a353035350d0a436f6e6e656374696f6e3a204b6565702d416c6976650d0a4163636570742d456e636f64696e673a20677a69700d0a0d0a
2016-04-23 18:22:21 DEBUG: [85883BFA: 5055 > 123.201.89.58] HEX: 485454502f312e3120323030204f4b0d0a0d0a
2016-04-23 18:22:21  INFO: [85883BFA] disconnected
2016-04-23 18:22:21  INFO: [85883BFA] id: 2, time: 2016-04-23 12:51:35, lat: 18.51027, lon: 73.84646, speed: 0.0, course: 0.0
2016-04-23 18:36:16  INFO: Shutting down server...
2016-04-23 13:07:03  INFO: Operating system name: Linux version: 4.1.17-22.30.amzn1.x86_64 architecture: amd64
2016-04-23 13:07:03  INFO: Java runtime name: OpenJDK 64-Bit Server VM vendor: Oracle Corporation version: 24.95-b01
2016-04-23 13:07:03  INFO: Memory limit heap: 481mb non-heap: 214mb
2016-04-23 13:07:03  INFO: Character encoding: UTF-8 charset: UTF-8
2016-04-23 13:07:03  INFO: Version: 3.4-SNAPSHOT
2016-04-23 13:13:06  INFO: Operating system name: Linux version: 4.1.17-22.30.amzn1.x86_64 architecture: amd64
2016-04-23 13:13:06  INFO: Java runtime name: OpenJDK 64-Bit Server VM vendor: Oracle Corporation version: 24.95-b01
2016-04-23 13:13:06  INFO: Memory limit heap: 481mb non-heap: 214mb
2016-04-23 13:13:06  INFO: Character encoding: UTF-8 charset: UTF-8
2016-04-23 13:13:06  INFO: Version: 3.4-SNAPSHOT
2016-04-23 13:20:09  INFO: Operating system name: Linux version: 4.1.17-22.30.amzn1.x86_64 architecture: amd64
2016-04-23 13:20:09  INFO: Java runtime name: OpenJDK 64-Bit Server VM vendor: Oracle Corporation version: 24.95-b01
2016-04-23 13:20:09  INFO: Memory limit heap: 481mb non-heap: 214mb
2016-04-23 13:20:09  INFO: Character encoding: UTF-8 charset: UTF-8
2016-04-23 13:20:09  INFO: Version: 3.4-SNAPSHOT
2016-04-23 13:20:14  INFO: Starting server.
sachin.terdale9 years ago

IT seems some kind of bug. Here it is like this,

  1. Login from traccar manager happen with any input only message shown as server error but login page is reached.

  2. If login is proper then devices are shown properly but if you put wrong login details and with login and device selection the progress bar keep on continue for unlimited time. even with logout and restarting the application this do not fixed. After some quite time it works back.

Anton Tananaev9 years ago

So you are basically saying that if you put wrong credentials, you get an error message. How is that a bug? What kind of behaviour do you expect?

sachin.terdale9 years ago

What I am saying is that, I am able to login even with wrong credentials.
Once you login with wrong credentials then you do not be able to see the devices even after login with correct credentials. The progress bar keeps on rotating.

Anton Tananaev9 years ago

You are not actually able to login. That's the way it works at the moment. It just doesn't do validation on the login screen.

sachin.terdale9 years ago

Thanks Anton for input.

Do you have the login api developed for hidden app ?

Anton Tananaev9 years ago

Your question doesn't make much sense. Can you please explain what you mean and how it's related to the topic.

sachin.terdale9 years ago

Android developer with whom I am working suggests that login is handled locally in app. So I am just trying to understand do you have the login web service for handling login to the app. Please help me to understand the same.

Anton Tananaev9 years ago

Same web API is used by both web and mobile.