ITADN
meganz/sdk/Issues

login with timeout was reached

#2754Openbaiwfg2 创建于 2026-01-15
question
B
baiwfg2commented
Env: ubuntu 24.04, tag 10.3.0 ```$ ./examples/megacli/megacli MEGAcli> debug -verbose -console MEGAcli> login my@gmail.com "xxxx!" Initiated login attempt... 19:52:05.183 (Req#0) [HttpReq::HttpReq] CONSTRUCTOR CALL [this = 0x60b56bb08510] 19:52:05.183 Req command counts: us0:1 19:52:05.183 (Req#0) cs POST target URL: https://g.api.mega.co.nz/cs?id=kpvewuyhur&v=3 19:52:05.183 (Req#0) cs Sending 40: [{"a":"us0","user":"my@gmail.com"}] (at ds: 315940) 19:52:05.184 Adding curl socket 13 to 1 19:52:05.197 Removing socket 13 19:52:05.498 Adding curl socket 14 to 2 19:52:17.210 Removing socket 13 19:52:17.210 Removing socket 14 19:52:17.210 (Req#0) cs CURLMSG_DONE with error 28: Timeout was reached 19:52:17.210 (Req#0) cs CURLMSG_DONE with HTTP status: 0 from g.api.mega.co.nz - 19:52:17.210 (Req#0) cs REQ_FAILURE. Status: 0 CURLcode: 28 Content-Length: -1 buffer? 0 bufferSize: 0 19:52:17.210 (Req#0) cs [HttpReq::~HttpReq] DESTRUCTOR CALL [this = 0x60b56bb08510] API request failed, retrying in 100 ms - Use 'retry' to retry immediately... ``` It looks like megacli didn't capture what I've set for `http_proxy` and `https_proxy` at the commandline and I should set a proxy ? But when I tried to set proxy like this: ``` MEGAcli> proxy set -uri http://127.0.0.1:10809 19:59:13.811 CurlHttpIO::setproxy: Invalid arguments. type: 1 url: http://127.0.0.1:10809 Invalidating inflight proxy changes ``` How should I do this right ?
1 条评论