xiaomi redmi 2

Anton Tananaev9 years ago

You definitely need to forward port 5055. If you want to access web interface remotely, you need to forward 8082 as well.

cypsele9 years ago

now with http://www.tananaev.com/port.html
with my IP public
port 5055
i get port open

but on the log in the appli traccar client on the smartphone i read send localisation failed

Anton Tananaev9 years ago

Check tracker-server.log file on the server side.

cypsele9 years ago

Hox can i Check tracker-server.log file on the server side ?
Do i check like this :
on the mac in browser with http://www.tananaev.com/port.html
adress ip public
port 8082
?

Anton Tananaev9 years ago

You can't check it via web interface. If you are using Mac on the server it should be in /opt/traccar/logs.

cypsele9 years ago

I found this :

2016-01-29 09:49:10  INFO: [8C7C91A4] connected
2016-01-29 09:49:10 DEBUG: [8C7C91A4: 5055 < 119.147.146.189] HEX: 474554202f20485454502f312e310d0a486f73743a203231372e3132382e3137312e3137343a353035350d0a6163636570742d6c616e67756167653a207a682c7a682d434e3b713d302e382c7a682d54573b713d302e362c656e3b713d302e340d0a6163636570742d656e636f64696e673a20677a69702c6465666c6174652c736463680d0a6163636570743a20746578742f68746d6c2c6170706c69636174696f6e2f7868746d6c2b786d6c2c6170706c69636174696f6e2f786d6c3b713d302e392c696d6167652f776562702c2a2f2a3b713d302e380d0a757365722d6167656e743a204d6f7a696c6c612f352e30202857696e646f7773204e5420362e313b20574f57363429204170706c655765624b69742f3533372e333620284b48544d4c2c206c696b65204765636b6f29204368726f6d652f33392e302e323137312e393520205361666172692f3533372e33360d0a6163636570742d636861727365743a205554462d382c2a3b713d302e350d0a636f6f6b69653a2041535053455353494f4e494451415342514452433d484a4e43454944444f4f4b494a45434a4f44494a454b4d443b41535053455353494f4e494451534343544144423d414344424a414f43474e4d4d494142454e494c4f45454e463b0d0a0d0a
2016-01-29 09:49:11 DEBUG: [8C7C91A4: 5055 > 119.147.146.189] HEX: 485454502f312e3120323030204f4b0d0a0d0a
2016-01-29 09:49:11  INFO: [8C7C91A4] disconnected
2016-01-29 09:49:12  WARN: Referential integrity constraint violation: "FK_POSITION_DEVICEID: PUBLIC.POSITIONS FOREIGN KEY(DEVICEID) REFERENCES PUBLIC.DEVICES(ID) (0)"; SQL statement:
INSERT INTO positions (deviceId, protocol, serverTime, deviceTime, fixTime, valid, latitude, longitude, altitude, speed, course, address, attributes)
        VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?); [23506-190] - JdbcSQLException (... < QueryBuilder:431 < DataManager:307 < DefaultDataHandler:27 < ...)
2016-01-29 09:49:12  INFO: [8C7C91A4] id: 0, time: 2016-01-29 09:49:11, lat: 0.00000, lon: 0.00000, speed: 0.0, course: 0.0
2016-01-29 09:54:51  INFO: [4BDFF04C] connected
2016-01-29 09:54:51  INFO: [4BDFF04C] disconnected
2016-01-29 10:23:06  INFO: [3281209C] connected
2016-01-29 10:23:06  INFO: [3281209C] disconnected
Anton Tananaev9 years ago

It's not from your device. If there is nothing else, it means devices hasn't been able to connect to the server.

cypsele9 years ago

And have you an idea to connect the device to the server now, after I did setting like this ?
Another question : is traccar can connect to the device and the device to the server whitout internet connexion or cellular connexion ? I mean with GPS only after the first settings with IP and port i did (in the supposition it work !)

Anton Tananaev9 years ago

There must be some problem network-related problem I guess.

As for connection without internet, no, it's not possible. GPS is one way communication.