Unable to start serwer on Windows 10

Michal Kuzdro5 years ago

I realize that the problem can be trivial.
I'm trying to start Traccar server on windows 10 for five days right now. I have client installed on android phone it communicates ok with traccar demo server perfectly.
When I'm trying to communicate it with the server on my computer, it doesn't work...
Firewall turned off, ip correct....
Any ideas?

El puerto de conexión es el correcto?

Michal Kuzdro5 years ago

Yes, 5055. As I said clients are working ok on demo servers. They are offline when configured with my windows server. I even restored my laptop to factory defaults....

Log file:

...
2019-10-10 08:16:14  INFO: INSERT INTO PUBLIC.DATABASECHANGELOG (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('changelog-4.0-renaming', 'author', 'changelog-4.0', NOW(), 27, '8:90aedfa378aa717f8d8ae541f97b87b2', 'renameTable newTableName=tc_attributes, oldTableName=attributes; renameTable newTableName=tc_calendars, oldTableName=calendars; renameTable newTableName=tc_commands, oldTableName=commands; renameTable newTableName=tc_device_attribute, oldTableName...', '', 'MARK_RAN', NULL, NULL, '3.8.0', '0688173565')
2019-10-10 08:16:14  INFO: Marking ChangeSet: changelog-4.1::changelog-4.1-mssql::author ran despite precondition failure due to onFail='MARK_RAN': 
          ./schema/changelog-master.xml : DBMS Precondition failed: expected mssql, got h2

2019-10-10 08:16:14  INFO: INSERT INTO PUBLIC.DATABASECHANGELOG (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('changelog-4.1-mssql', 'author', 'changelog-4.1', NOW(), 28, '8:b148f52efe9c6a3e74a56e33e257a3e2', 'sql; sql; sql; sql', '', 'MARK_RAN', NULL, NULL, '3.8.0', '0688173565')
2019-10-10 08:16:14  INFO: Successfully released change log lock
2019-10-10 08:16:14  INFO: Logging initialized @5593ms to org.eclipse.jetty.util.log.Slf4jLog
2019-10-10 08:16:14  INFO: Your platform does not provide complete low-level API for accessing direct buffers reliably. Unless explicitly requested, heap buffer will always be preferred to avoid potential system instability.
2019-10-10 08:16:15  INFO: Operating system name: Windows 10 version: 10.0 architecture: amd64
2019-10-10 08:16:15  INFO: Java runtime name: OpenJDK 64-Bit Server VM vendor: Oracle Corporation version: 11.0.4-ojdkbuild+11-LTS
2019-10-10 08:16:15  INFO: Memory limit heap: 2020mb non-heap: 0mb
2019-10-10 08:16:15  INFO: Character encoding: Cp1250 charset: windows-1250
2019-10-10 08:16:15  INFO: Version: 4.6
2019-10-10 08:16:15  INFO: Starting server...
2019-10-10 08:16:15  INFO: jetty-9.4.20.v20190813; built: 2019-08-13T21:28:18.144Z; git: 84700530e645e812b336747464d6fbbf370c9a20; jvm 11.0.4-ojdkbuild+11-LTS
2019-10-10 08:16:15  INFO: Started o.t.w.@2277d102{/,null,AVAILABLE}
2019-10-10 08:16:15  INFO: DefaultSessionIdManager workerName=node0
2019-10-10 08:16:15  INFO: No SessionScavenger set, using defaults
2019-10-10 08:16:15  INFO: node0 Scavenging every 600000ms
2019-10-10 08:16:17  INFO: Started o.e.j.s.ServletContextHandler@3d0cf0f6{/,null,AVAILABLE}
2019-10-10 08:16:17  INFO: Started ServerConnector@2fec2e34{HTTP/1.1,[http/1.1]}{0.0.0.0:8082}
2019-10-10 08:16:17  INFO: Started @8388ms
2019-10-10 08:16:48  INFO: user: 1, action: login
2019-10-10 08:17:02  INFO: user: 1, action: create, object: device, id: 1
2019-10-10 08:17:02  INFO: user: 1, action: link, owner: user, id: 1, property: device, id: 1
2019-10-10 08:21:06  INFO: user: 1, action: login

Me refiero al puerto que por defecto se inicia traccar, no la configuracion del dispositivo, seria buscar en el navegador ipservidor:8082 ejemplo 192.168.60.181:8082

Michal Kuzdro5 years ago

I'm logging via web interface as showed in the quick start guide. I'm able to log in add clients but they stay offline. As I've mentioned before, windows defender is turned off. Server's ip is correct.

Michal Kuzdro5 years ago

To be exact. I've installed traccar server, and I'm able to log in to it. The problem is all the clients are offline, no ports isses as far as I can see in log file...
Any ideas?

Diego Marchesini5 years ago

Port fowarding in the router to the internal laptop ip and port?