Files
Sven laptop e169e37b5e
Build and Push Docker Images / detect-changes (push) Successful in 20s
Build and Push Docker Images / build-auth-api (push) Successful in 2m2s
Build and Push Docker Images / build-employee-api (push) Successful in 2m2s
Build and Push Docker Images / build-transit-api (push) Successful in 2m8s
Build and Push Docker Images / build-error-log-api (push) Successful in 1m58s
Build and Push Docker Images / build-monitoring-ui (push) Has been cancelled
Build and Push Docker Images / build-admin-ui (push) Has been cancelled
Build and Push Docker Images / deploy-test-node (push) Has been cancelled
Refactored all api endpoints to /bus/xxxxx
2026-09-24 20:20:43 +02:00

1.5 KiB

Transit Driver XP

Native Win32 driver client targeting Windows XP-era systems.

Project-wide setup and service documentation is maintained in ../PROJECT_GUIDE.md. The operational monitoring dashboard is documented in ../MONITORING_UI.md.

For Windows XP compatibility, the client temporarily uses the LAN services:

  • Login: http://192.168.68.66:5000/login
  • Assigned schedules: http://192.168.68.66:5001/driver/schedules/daily
  • Route stops: http://192.168.68.66:5001/bus-lines/:busLineId/stops

This HTTP fallback avoids the TLS 1.2/certificate limitations of Windows XP.

Schedules are assigned through "transit.bus".shifts; the client does not expect a driver_id, bus_id, or weekdays column on "transit.bus".schedules.

Build

make clean && make

Distribution

Build the installer with:

makensis installer.nsi

Distribute TransitDriverXPSetup.exe. It detects an existing installation, stops the previous client, and replaces it in the same directory.

Login diagnostics

If the app shows Driver service unreachable, open driver_xp.log in the same folder as the installed driver_xp.exe and inspect the latest entries. The log records the failing stage and WinHTTP or HTTP status code, but never writes the password or JWT token.

Common codes:

  • 12007: hostname could not be resolved (DNS)
  • 12029: connection to the server failed
  • 12175: HTTPS certificate or TLS validation failed
  • 401 or 403: the server responded, but authentication was rejected