GPS Diagnostic Server

Deploy on Railway to see ALL incoming GPS requests live

📡 Real Tracker🖥️ Demo Tracker⚡ Real-time Logs🔧 Zero Config

What this diagnostic server does:

✅ Logs every HTTP request that arrives — IMEI, lat, lon, speed, battery
✅ Shows a live dashboard at its Railway URL (auto-refreshes every 3s)
✅ Works for both the Demo Tracker test page AND your real GT06 tracker (OsmAnd HTTP)
✅ Responds with 200 OK so tracker thinks it connected successfully
ℹ️ Deploy it alongside Traccar as a separate Railway service — both can run at the same time
📡 Real/Demo Tracker
🔍 Diag Server (this)
Railway service 1
🚂 Traccar Server
Railway service 2
🗄️ Base44 App
1Download the 2 files

server.js

The diagnostic server

package.json

Node.js project config

2Deploy on Railway (separate service)
⚠️ Deploy this as a NEW separate service in Railway — not inside your existing Traccar service
  1. 1Create a new GitHub repo (e.g. gps-diagnostic)
  2. 2Upload server.js and package.json to that repo
  3. 3In Railway → your project → New Service → GitHub Repo → select the diag repo
  4. 4Railway auto-detects Node.js and deploys it
  5. 5Settings → Networking → Generate Domain (to get a public URL)
  6. 6✅ Visit that URL — you'll see the live diagnostic dashboard!
3Point your tracker at the diagnostic server

Temporarily change your tracker / Demo Tracker to send to the diagnostic server instead of Traccar:

For the Demo Tracker test page:

In the GPS Demo Tracker page, set Railway HTTPS Domain to your diagnostic server URL (without https://).

For your real GT06 tracker (OsmAnd HTTP mode):

The GT06 supports OsmAnd HTTP via SMS. Send this command (replace with your diag URL):

SERVER,1,[diag-server-domain],80,0

Port 80 = HTTP. Railway routes HTTP on the domain automatically.

4View live logs right here

Or open https://your-diag-server.up.railway.app directly in your browser to see the built-in dashboard.