Portfolio Stream WebSocket Host Not Resolving (NXDOMAIN)

I’m unable to connect with Portfolio Websocket Today
My portfolio-stream WebSocket connection suddenly stopped working on 23rd Feb 2026. It was working correctly till 19th Feb 2026 when I used it last time.

socket.gaierror: [Errno 11001] getaddrinfo failed

The authorize API is returning the following WebSocket host:
wsportfolioupdate-api.upstox.com
However, this hostname does not resolve in public DNS

I have also tried other things to debug on cmd with the help of ai below:
nslookup wsportfolioupdate-api[dot]upstox[dot]com 8.8.8.8

Server:  dns.google
Address:  8.8.8.8

*** dns.google can't find wsportfolioupdate-api.upstox.com: Non-existent domain

nslookup wsportfolioupdate-api[dot]upstox[dot]com 1.1.1.1

Server:  one.one.one.one
Address:  1.1.1.1

*** one.one.one.one can't find wsportfolioupdate-api.upstox.com: Non-existent domain

import socket
socket.gethostbyname(“wsportfolioupdate-api.upstox.com”)
socket.gaierror: [Errno 11001] getaddrinfo failed

I tried this approch too: Streamer Functions | Upstox Developer API
didn’t work..

Thank you.

Still isn’t resolved, been going on since yesterday afternoon.

Thank you for the quick resolution!
The portfolio stream is working perfectly now.
Really appreciate the fast response and turnaround from the team.

1 Like