Tips to troubleshoot device to server connection
This guide gives you some tips to for troubleshooting if you cannot get your tracker to connect to your GpsGate Server installation.
Verify if the ports are open
- Use the Test button
Click on the button for your device listener to make a connection test from the Internet.
If the test completes in green, means that the configuration is correct.
The tester will mark where the problem is in red. In this example, the problem is that the firewall ports are closed for the TCP/IP 12050 which is the port Teltonika uses by default.
- Enable Windows' Firewall ports.
Even if you open your router firewall ports, it could be Windows Firewall blocking your ports at the server level.
You can open Windows Firewall ports directly in the interface as the image shows:
- If the test fails in the Firewall side, you might have to perform the correspondent port-forwarding settings in your firewall or router and try again.
- You also need to open port 80 for your web server.
Check for unknown connections
An unknown connection means that there's a device reporting to the server that it's not identified or has no user associated to it.
If an unknown device reports to the server you will see it highlighted in orange on the Devices tab in Site Admin.
By clicking on you can also filter by these type of devices where you'll see a list that you can export for further analysis.
To remove a device from this list, add the device to an application.
Read how to add an unknown device here.
Diagnose your connectivity using the Terminal
The Terminal feature is very useful for troubleshooting connections between server and tracker. Any incoming traffic will be displayed here.
If there's no traffic in the terminal it could be a sign that the device is not properly set up or there is a firewall misconfiguration.
Read how to use the terminal here.
Verify that your SIM card works
- Verify the device APN settings. Check the APN, APN Username and APN Password with your SIM provider.
- Make sure GPRS is enabled on your SIM card (surprisingly often it is not). The best way to verify this is to test your SIM card in a mobile phone. Use the web browser to verify that GPRS is enabled. You can also test a TCP/IP service, or ask your operator, as some SIM cards only permit HTTP traffic and not TCP/IP.
- If you have a prepaid card, make sure you have enough credit on it.
- Disable the PIN code on the SIM card (or make sure the tracker can handle the PIN code). Put the SIM card in a mobile phone and go to the security settings to disable the PIN code.
More things to consider with SIM cards and GPRS billing.