Hosting WebSocket compatibility test

Upload this folder to shared hosting. Three checks: PHP → Upstox, browser → Upstox, browser → your host.

Setup

Upload this folder as-is to public_html/hosting-ws-test/ — credentials are already inside config.php. Stop any other app using the same Upstox feed token before Test 1.

Loading hosting info…

Test 1 — PHP server → Upstox WebSocket pending

Most important for AutoTrade BOT. PHP on your host must open outbound wss:// to Upstox.

Test 2 — Browser → Upstox WebSocket pending

Checks if your PC/browser can reach Upstox feed (not the same as hosting, but useful).

Test 3 — Browser → this host WebSocket pending

Shared hosting usually fails here (no WS server). Needed for live dashboard ticks unless you use polling or a VPS.

How to read results