zerodha/mii-lama

stream error: stream ID 1; INTERNAL_ERROR; received from peer

Closed this issue · 2 comments

Hi i am getting below error in mii-lama where i am able to login with the same credentials via postman from same system where mii-lama configured, kindly check and help.

mii-lama application Error :
time=2023-12-21T08:28:48.942Z level=ERROR source=/home/runner/work/mii-lama/mii-lama/cmd/main.go:51 msg="failed to init nse manager" component=mii-lama error="failed to login to NSE API: failed to send HTTP request: Post "https://lama.nseindia.com/api/V1/auth/login\": stream error: stream ID 1; INTERNAL_ERROR; received from peer"

Postman login success
image

hi Karan,

Postman is working on same host where mii-lama is configured and also there is no issue from network end, i have verified the same, if postman is working on the same host then our mii-lama should work.

i have observed in nse.go code we have given http network and http client and http header and the error is ERROR source=/home/runner/work/mii-lama/mii-lama/internal/nse/nse.go:185 msg="HTTP request failed"

noname1
noname