zerodha/mii-lama

Internal Login Error

Closed this issue · 3 comments

Hi i am getting below error, i have passed login details correctly.

time=2023-09-04T05:12:31.071Z 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"

Hi.

This error is specific to the host and networking environment between the client and remote address, not related to the program.

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

ERROR source=/home/runner/work/mii-lama/mii-lama/internal/nse/nse.go:185 msg="HTTP request failed"