Web Socket Connection Error

Bhumit Gada7 years ago

Dear Anton Tananaev,

First of all thank you very much for providing such nice software.

I am getting this web notification (Web Socket Connection Error) whenever I refresh. I have checked both the logs I cannot find any thing wrong in those.

wrapper log

WARNING|wrapper|Service traccar|18-01-07 14:23:57|YAJSW: yajsw-stable-12.11
WARNING|wrapper|Service traccar|18-01-07 14:23:57|OS   : Windows 10/10.0/x86
WARNING|wrapper|Service traccar|18-01-07 14:23:57|JVM  : Oracle Corporation/1.8.0_151/C:\Program Files (x86)\Java\jre1.8.0_151/32
INFO|wrapper|Service traccar|18-01-07 14:23:57|start delay: 0
INFO|wrapper|Service traccar|18-01-07 14:23:58|started process with pid 8660
INFO|8660/0|Service traccar|18-01-07 14:24:04|[INFO] StandardFileSystemManager - Using "C:\WINDOWS\TEMP\vfs_cache" as temporary files store.
INFO|8660/0|Service traccar|18-01-07 14:24:07|[main] INFO com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Starting...
INFO|8660/0|Service traccar|18-01-07 14:24:07|[main] INFO com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Start completed.
INFO|8660/0|Service traccar|18-01-07 14:24:08|INFO 1/7/18 2:24 PM: liquibase: Clearing database change log checksums
INFO|8660/0|Service traccar|18-01-07 14:24:08|INFO 1/7/18 2:24 PM: liquibase: Successfully acquired change log lock
INFO|8660/0|Service traccar|18-01-07 14:24:08|INFO 1/7/18 2:24 PM: liquibase: Successfully released change log lock
INFO|8660/0|Service traccar|18-01-07 14:24:09|INFO 1/7/18 2:24 PM: liquibase: Successfully acquired change log lock
INFO|8660/0|Service traccar|18-01-07 14:24:11|INFO 1/7/18 2:24 PM: liquibase: Reading from traccit.DATABASECHANGELOG
INFO|8660/0|Service traccar|18-01-07 14:24:12|INFO 1/7/18 2:24 PM: liquibase: Reading from traccit.DATABASECHANGELOG
INFO|8660/0|Service traccar|18-01-07 14:24:12|INFO 1/7/18 2:24 PM: liquibase: ./schema/changelog-master.xml: changelog-3.8::changelog-3.8-dropuniquetoken::author: Change set changelog-3.8::changelog-3.8-dropuniquetoken::author failed, but failOnError was false.  Error: Can't DROP 'uk_user_token'; check that column/key exists [Failed SQL: ALTER TABLE traccit.users DROP KEY uk_user_token]
INFO|8660/0|Service traccar|18-01-07 14:24:12|INFO 1/7/18 2:24 PM: liquibase: Successfully released change log lock
INFO|8660/0|Service traccar|18-01-07 14:24:13|[main] INFO org.eclipse.jetty.util.log - Logging initialized @15143ms
INFO|8660/0|Service traccar|18-01-07 14:24:16|[main] INFO org.eclipse.jetty.server.Server - jetty-9.2.22.v20170606
INFO|8660/0|Service traccar|18-01-07 14:24:19|[main] INFO org.eclipse.jetty.server.handler.ContextHandler - Started o.e.j.s.ServletContextHandler@be065a{/api,null,AVAILABLE}
INFO|8660/0|Service traccar|18-01-07 14:24:20|[main] INFO org.eclipse.jetty.server.handler.ContextHandler - Started o.t.w.@10a04ec{/,null,AVAILABLE}
INFO|8660/0|Service traccar|18-01-07 14:24:20|[main] INFO org.eclipse.jetty.server.ServerConnector - Started ServerConnector@1f3ff41{HTTP/1.1}{0.0.0.0:8082}
INFO|8660/0|Service traccar|18-01-07 14:24:20|[main] INFO org.eclipse.jetty.server.Server - Started @21772ms

Server Log

2018-01-07 14:24:06  INFO: Operating system name: Windows 10 version: 10.0 architecture: x86
2018-01-07 14:24:06  INFO: Java runtime name: Java HotSpot(TM) Client VM vendor: Oracle Corporation version: 25.151-b12
2018-01-07 14:24:06  INFO: Memory limit heap: 247mb non-heap: 0mb
2018-01-07 14:24:06  INFO: Character encoding: UTF-8 charset: UTF-8
2018-01-07 14:24:06  INFO: Version: 3.15-SNAPSHOT
2018-01-07 14:24:16  INFO: Starting server...
2018-01-07 14:24:17  INFO: [C0E1574A] connected
2018-01-07 14:24:17 DEBUG: [C0E1574A: 5055 < 115.97.241.173] HEX: 504f5354202f3f69643d3834353337372674696d657374616d703d31353135333134383532266c61743d31392e32313434363632266c6f6e3d37332e303937383135312673706565643d302e302662656172696e673d302e3026616c7469747564653d302e302661636375726163793d32332e39303530303036383636343535303826626174743d35392e3020485454502f312e310d0a436f6e74656e742d547970653a206170706c69636174696f6e2f782d7777772d666f726d2d75726c656e636f6465640d0a557365722d4167656e743a2044616c76696b2f322e312e3020284c696e75783b20553b20416e64726f696420372e312e323b2054412d31303231204275696c642f4e3247343748290d0a486f73743a203230322e3137392e38322e31383a353035350d0a436f6e6e656374696f6e3a204b6565702d416c6976650d0a4163636570742d456e636f64696e673a20677a69700d0a436f6e74656e742d4c656e6774683a20300d0a0d0a
2018-01-07 14:24:17 DEBUG: [C0E1574A: 5055 > 115.97.241.173] HEX: 485454502f312e3120323030204f4b0d0a436f6e74656e742d4c656e6774683a20300d0a0d0a
2018-01-07 14:24:19  INFO: [4574C7AA] connected
2018-01-07 14:24:19 DEBUG: [4574C7AA: 5055 < 49.32.157.241] HEX: 504f5354202f3f69643d3732393738362674696d657374616d703d31353135333134373035266c61743d31392e32323030373732266c6f6e3d37332e3130353337372673706565643d302e302662656172696e673d302e3026616c7469747564653d302e302661636375726163793d37322e3930303030313532353837383926626174743d38322e3020485454502f312e310d0a436f6e74656e742d547970653a206170706c69636174696f6e2f782d7777772d666f726d2d75726c656e636f6465640d0a557365722d4167656e743a2044616c76696b2f322e312e3020284c696e75783b20553b20416e64726f696420362e302e313b205265646d69204e6f74652034204d4955492f56382e322e31302e302e4d43464d49444c290d0a486f73743a203230322e3137392e38322e31383a353035350d0a436f6e6e656374696f6e3a204b6565702d416c6976650d0a4163636570742d456e636f64696e673a20677a69700d0a436f6e74656e742d4c656e6774683a20300d0a0d0a
2018-01-07 14:24:19 DEBUG: [4574C7AA: 5055 > 49.32.157.241] HEX: 485454502f312e3120323030204f4b0d0a436f6e74656e742d4c656e6774683a20300d0a0d0a
2018-01-07 14:24:20  INFO: [C0E1574A] id: 845377, time: 2018-01-07 14:17:32, lat: 19.21447, lon: 73.09782, speed: 0.0, course: 0.0
2018-01-07 14:24:20  INFO: [4574C7AA] id: 729786, time: 2018-01-07 14:15:05, lat: 19.22008, lon: 73.10538, speed: 0.0, course: 0.0
2018-01-07 14:25:04  INFO: [C413A93E] connected
2018-01-07 14:25:05 DEBUG: [C413A93E: 5055 < 223.180.11.109] HEX: 504f5354202f3f69643d3132323131322674696d657374616d703d31353135333135333035266c61743d31392e32313435353737266c6f6e3d37332e303937383333362673706565643d302e302662656172696e673d302e3026616c7469747564653d302e302661636375726163793d32362e32303839393936333337383930363226626174743d34342e3020485454502f312e310d0a436f6e74656e742d547970653a206170706c69636174696f6e2f782d7777772d666f726d2d75726c656e636f6465640d0a557365722d4167656e743a2044616c76696b2f322e312e3020284c696e75783b20553b20416e64726f696420372e312e323b2054412d31303231204275696c642f4e3247343748290d0a486f73743a203230322e3137392e38322e31383a353035350d0a436f6e6e656374696f6e3a204b6565702d416c6976650d0a4163636570742d456e636f64696e673a20677a69700d0a436f6e74656e742d4c656e6774683a20300d0a0d0a
2018-01-07 14:25:05 DEBUG: [C413A93E: 5055 > 223.180.11.109] HEX: 485454502f312e3120323030204f4b0d0a436f6e74656e742d4c656e6774683a20300d0a0d0a
2018-01-07 14:25:05  INFO: [C413A93E] id: 122112, time: 2018-01-07 14:25:05, lat: 19.21456, lon: 73.09783, speed: 0.0, course: 0.0
2018-01-07 14:25:56  INFO: [C413A93E] disconnected
2018-01-07 14:27:11 DEBUG: [4574C7AA: 5055 < 49.32.157.241] HEX: 504f5354202f3f69643d3732393738362674696d657374616d703d31353135333135343331266c61743d31392e32313730313835266c6f6e3d37332e313033343235372673706565643d302e302662656172696e673d302e3026616c7469747564653d302e302661636375726163793d313230302e3026626174743d38322e3020485454502f312e310d0a436f6e74656e742d547970653a206170706c69636174696f6e2f782d7777772d666f726d2d75726c656e636f6465640d0a557365722d4167656e743a2044616c76696b2f322e312e3020284c696e75783b20553b20416e64726f696420362e302e313b205265646d69204e6f74652034204d4955492f56382e322e31302e302e4d43464d49444c290d0a486f73743a203230322e3137392e38322e31383a353035350d0a436f6e6e656374696f6e3a204b6565702d416c6976650d0a4163636570742d456e636f64696e673a20677a69700d0a436f6e74656e742d4c656e6774683a20300d0a0d0a
2018-01-07 14:27:11 DEBUG: [4574C7AA: 5055 > 49.32.157.241] HEX: 485454502f312e3120323030204f4b0d0a436f6e74656e742d4c656e6774683a20300d0a0d0a
2018-01-07 14:27:11  WARN: Geocoding failed - Empty address - GeocoderException (JsonGeocoder:69 < *:34 < *:96 < ...)
2018-01-07 14:27:12  INFO: [4574C7AA] id: 729786, time: 2018-01-07 14:27:11, lat: 19.21702, lon: 73.10343, speed: 0.0, course: 0.0
2018-01-07 14:27:12  WARN: Empty address
2018-01-07 14:29:17  INFO: [C0E1574A] disconnected
2018-01-07 14:29:31  INFO: [472F152D] connected
2018-01-07 14:29:31 DEBUG: [472F152D: 5055 < 115.97.241.173] HEX: 504f5354202f3f69643d3834353337372674696d657374616d703d31353135333135353732266c61743d31392e32313434363837266c6f6e3d37332e303937383132382673706565643d302e302662656172696e673d302e3026616c7469747564653d302e302661636375726163793d32302e3026626174743d35382e3020485454502f312e310d0a436f6e74656e742d547970653a206170706c69636174696f6e2f782d7777772d666f726d2d75726c656e636f6465640d0a557365722d4167656e743a2044616c76696b2f322e312e3020284c696e75783b20553b20416e64726f696420372e312e323b2054412d31303231204275696c642f4e3247343748290d0a486f73743a203230322e3137392e38322e31383a353035350d0a436f6e6e656374696f6e3a204b6565702d416c6976650d0a4163636570742d456e636f64696e673a20677a69700d0a436f6e74656e742d4c656e6774683a20300d0a0d0a
2018-01-07 14:29:31 DEBUG: [472F152D: 5055 > 115.97.241.173] HEX: 485454502f312e3120323030204f4b0d0a436f6e74656e742d4c656e6774683a20300d0a0d0a
2018-01-07 14:29:32  INFO: [472F152D] id: 845377, time: 2018-01-07 14:29:32, lat: 19.21447, lon: 73.09781, speed: 0.0, course: 0.0
2018-01-07 14:32:13  WARN: [4574C7AA] error - An existing connection was forcibly closed by the remote host - IOException (...)
2018-01-07 14:32:13  INFO: [4574C7AA] disconnected
2018-01-07 14:34:31  INFO: [472F152D] disconnected
2018-01-07 14:39:39  INFO: [D7A2DC53] connected
2018-01-07 14:39:39 DEBUG: [D7A2DC53: 5055 < 49.32.157.241] HEX: 504f5354202f3f69643d3732393738362674696d657374616d703d31353135333136313738266c61743d31392e32323036393639266c6f6e3d37332e313131393039322673706565643d302e302662656172696e673d302e3026616c7469747564653d302e302661636375726163793d313239392e3939393032333433373526626174743d38312e3020485454502f312e310d0a436f6e74656e742d547970653a206170706c69636174696f6e2f782d7777772d666f726d2d75726c656e636f6465640d0a557365722d4167656e743a2044616c76696b2f322e312e3020284c696e75783b20553b20416e64726f696420362e302e313b205265646d69204e6f74652034204d4955492f56382e322e31302e302e4d43464d49444c290d0a486f73743a203230322e3137392e38322e31383a353035350d0a436f6e6e656374696f6e3a204b6565702d416c6976650d0a4163636570742d456e636f64696e673a20677a69700d0a436f6e74656e742d4c656e6774683a20300d0a0d0a
2018-01-07 14:39:39 DEBUG: [D7A2DC53: 5055 > 49.32.157.241] HEX: 485454502f312e3120323030204f4b0d0a436f6e74656e742d4c656e6774683a20300d0a0d0a
2018-01-07 14:39:40  INFO: [D7A2DC53] id: 729786, time: 2018-01-07 14:39:38, lat: 19.22070, lon: 73.11191, speed: 0.0, course: 0.0
2018-01-07 14:39:59  INFO: [9F5EAB56] connected
2018-01-07 14:39:59 DEBUG: [9F5EAB56: 5055 < 223.180.11.109] HEX: 504f5354202f3f69643d3132323131322674696d657374616d703d31353135333136323030266c61743d31392e323134343537266c6f6e3d37332e303937393630342673706565643d302e302662656172696e673d302e3026616c7469747564653d302e302661636375726163793d33392e35393939393834373431323130393426626174743d34342e3020485454502f312e310d0a436f6e74656e742d547970653a206170706c69636174696f6e2f782d7777772d666f726d2d75726c656e636f6465640d0a557365722d4167656e743a2044616c76696b2f322e312e3020284c696e75783b20553b20416e64726f696420372e312e323b2054412d31303231204275696c642f4e3247343748290d0a486f73743a203230322e3137392e38322e31383a353035350d0a436f6e6e656374696f6e3a204b6565702d416c6976650d0a4163636570742d456e636f64696e673a20677a69700d0a436f6e74656e742d4c656e6774683a20300d0a0d0a
2018-01-07 14:39:59 DEBUG: [9F5EAB56: 5055 > 223.180.11.109] HEX: 485454502f312e3120323030204f4b0d0a436f6e74656e742d4c656e6774683a20300d0a0d0a
2018-01-07 14:40:00  INFO: [9F5EAB56] id: 122112, time: 2018-01-07 14:40:00, lat: 19.21446, lon: 73.09796, speed: 0.0, course: 0.0
2018-01-07 14:40:18  INFO: [9F5EAB56] disconnected
2018-01-07 14:41:51  INFO: [BFD3739E] connected
2018-01-07 14:41:51 DEBUG: [BFD3739E: 5055 < 115.97.241.173] HEX: 504f5354202f3f69643d3834353337372674696d657374616d703d31353135333136333133266c61743d31392e32313434363837266c6f6e3d37332e303937383132382673706565643d302e302662656172696e673d302e3026616c7469747564653d302e302661636375726163793d32302e3026626174743d35362e3020485454502f312e310d0a436f6e74656e742d547970653a206170706c69636174696f6e2f782d7777772d666f726d2d75726c656e636f6465640d0a557365722d4167656e743a2044616c76696b2f322e312e3020284c696e75783b20553b20416e64726f696420372e312e323b2054412d31303231204275696c642f4e3247343748290d0a486f73743a203230322e3137392e38322e31383a353035350d0a436f6e6e656374696f6e3a204b6565702d416c6976650d0a4163636570742d456e636f64696e673a20677a69700d0a436f6e74656e742d4c656e6774683a20300d0a0d0a
2018-01-07 14:41:51 DEBUG: [BFD3739E: 5055 > 115.97.241.173] HEX: 485454502f312e3120323030204f4b0d0a436f6e74656e742d4c656e6774683a20300d0a0d0a
2018-01-07 14:41:52  INFO: [BFD3739E] id: 845377, time: 2018-01-07 14:41:53, lat: 19.21447, lon: 73.09781, speed: 0.0, course: 0.0
2018-01-07 14:44:40  WARN: [D7A2DC53] error - An existing connection was forcibly closed by the remote host - IOException (...)
2018-01-07 14:44:40  INFO: [D7A2DC53] disconnected
2018-01-07 14:46:51  INFO: [BFD3739E] disconnected
2018-01-07 14:52:20  INFO: [1A4ADB91] connected
2018-01-07 14:52:20 DEBUG: [1A4ADB91: 5055 < 223.180.11.109] HEX: 504f5354202f3f69643d3132323131322674696d657374616d703d31353135333136393234266c61743d31392e32313434373037266c6f6e3d37332e303937383136312673706565643d302e302662656172696e673d302e3026616c7469747564653d302e302661636375726163793d32332e38363730303035373938333339383426626174743d34332e3020485454502f312e310d0a436f6e74656e742d547970653a206170706c69636174696f6e2f782d7777772d666f726d2d75726c656e636f6465640d0a557365722d4167656e743a2044616c76696b2f322e312e3020284c696e75783b20553b20416e64726f696420372e312e323b2054412d31303231204275696c642f4e3247343748290d0a486f73743a203230322e3137392e38322e31383a353035350d0a436f6e6e656374696f6e3a204b6565702d416c6976650d0a4163636570742d456e636f64696e673a20677a69700d0a436f6e74656e742d4c656e6774683a20300d0a0d0a
2018-01-07 14:52:20 DEBUG: [1A4ADB91: 5055 > 223.180.11.109] HEX: 485454502f312e3120323030204f4b0d0a436f6e74656e742d4c656e6774683a20300d0a0d0a
2018-01-07 14:52:21  INFO: [1A4ADB91] id: 122112, time: 2018-01-07 14:52:04, lat: 19.21447, lon: 73.09782, speed: 0.0, course: 0.0
2018-01-07 14:52:29  INFO: [1A4ADB91] disconnected
2018-01-07 14:53:03  INFO: [8F650BC1] connected
2018-01-07 14:53:03 DEBUG: [8F650BC1: 5055 < 49.32.157.241] HEX: 504f5354202f3f69643d3732393738362674696d657374616d703d31353135333136393833266c61743d31392e32323033303635266c6f6e3d37332e313035383532382673706565643d302e302662656172696e673d302e3026616c7469747564653d302e302661636375726163793d35302e37393030303039313535323733343426626174743d38302e3020485454502f312e310d0a436f6e74656e742d547970653a206170706c69636174696f6e2f782d7777772d666f726d2d75726c656e636f6465640d0a557365722d4167656e743a2044616c76696b2f322e312e3020284c696e75783b20553b20416e64726f696420362e302e313b205265646d69204e6f74652034204d4955492f56382e322e31302e302e4d43464d49444c290d0a486f73743a203230322e3137392e38322e31383a353035350d0a436f6e6e656374696f6e3a204b6565702d416c6976650d0a4163636570742d456e636f64696e673a20677a69700d0a436f6e74656e742d4c656e6774683a20300d0a0d0a
2018-01-07 14:53:03 DEBUG: [8F650BC1: 5055 > 49.32.157.241] HEX: 485454502f312e3120323030204f4b0d0a436f6e74656e742d4c656e6774683a20300d0a0d0a
2018-01-07 14:53:03  INFO: [8F650BC1] id: 729786, time: 2018-01-07 14:53:03, lat: 19.22031, lon: 73.10585, speed: 0.0, course: 0.0
2018-01-07 14:54:39  INFO: [96DA02FD] connected
2018-01-07 14:54:39 DEBUG: [96DA02FD: 5055 < 115.97.241.173] HEX: 504f5354202f3f69643d3834353337372674696d657374616d703d31353135333137303830266c61743d31392e32313434363837266c6f6e3d37332e303937383132382673706565643d302e302662656172696e673d302e3026616c7469747564653d302e302661636375726163793d32382e31303030303033383134363937323726626174743d35352e3020485454502f312e310d0a436f6e74656e742d547970653a206170706c69636174696f6e2f782d7777772d666f726d2d75726c656e636f6465640d0a557365722d4167656e743a2044616c76696b2f322e312e3020284c696e75783b20553b20416e64726f696420372e312e323b2054412d31303231204275696c642f4e3247343748290d0a486f73743a203230322e3137392e38322e31383a353035350d0a436f6e6e656374696f6e3a204b6565702d416c6976650d0a4163636570742d456e636f64696e673a20677a69700d0a436f6e74656e742d4c656e6774683a20300d0a0d0a
2018-01-07 14:54:39 DEBUG: [96DA02FD: 5055 > 115.97.241.173] HEX: 485454502f312e3120323030204f4b0d0a436f6e74656e742d4c656e6774683a20300d0a0d0a
2018-01-07 14:54:39  INFO: [96DA02FD] id: 845377, time: 2018-01-07 14:54:40, lat: 19.21447, lon: 73.09781, speed: 0.0, course: 0.0

Can you please help find the error.

Regards
Bhumit

Anton Tananaev7 years ago

There are no problems in your logs. The problem is most likely with your network. It blocks WebSockets for some reason.

Bhumit Gada7 years ago

I thought so... Any idea how to resolve it.. ?

Anton Tananaev7 years ago

You need to find what the problem is. If you are on corporate network contact IT department.