Hello,
I don't know why you have such issues. But this does not look related to the github issue that you pointed out.
Rgds
Le lun. 28 sept. 2020 à 10:08, Larry Shen larry.shen@nxp.com a écrit :
Hi, Remi,
I just found this: https://github.com/aio-libs/aiohttp/issues/2687#issuecomment-580158992 , looks similar to our issue.
Is aiohttp used here? If possible this caused by lava choose “apache proxy to gunicorn” not “nginx proxy to gunicorn”?
*From:* Larry Shen *Sent:* Monday, September 28, 2020 3:58 PM *To:* Remi Duraffort remi.duraffort@linaro.org *Cc:* Milosz Wasilewski milosz.wasilewski@linaro.org; lava-users@lists.lavasoftware.org *Subject:* RE: [Lava-users] [EXT] Re: Issues about XMLRPC & lavacli.
Hi, Remi, our issue happen again even we reduce the RPC call.
Also, I notice when use “eventlet”, when we download a 8M log from web, the chrome will reported “network error”, and the server log reported: {"log":"[Mon Sep 28 06:56:27.101163 2020] [proxy_http:error] [pid 189:tid 140256774096640] (70008)Partial results are valid but processing is incomplete: [client 10.192.244.206:56938] AH01110: error reading response,
Looks above similar to our job submit issue?
Then, I switch to use “sync” mode, and find now I can download the 8M log completely.
If possible this be an environment issue or? Yes, we have apache to proxy the request to gunicorn, but looks this is setup by lava release? (We use docker solution)
*From:* Remi Duraffort remi.duraffort@linaro.org *Sent:* Friday, September 25, 2020 3:28 PM *To:* Larry Shen larry.shen@nxp.com *Cc:* Milosz Wasilewski milosz.wasilewski@linaro.org; lava-users@lists.lavasoftware.org *Subject:* Re: [Lava-users] [EXT] Re: Issues about XMLRPC & lavacli.
*Caution: *EXT Email
Le ven. 25 sept. 2020 à 03:50, Larry Shen larry.shen@nxp.com a écrit :
Hi, Remi, thanks.
- the zmq event stream is still available.
Q: This means still a zeromq for lava-publisher, and only for lava-publisher?
zmq is still used internally to send messages from lava-scheduler and lava-server-gunicorn to lava-publisher. lava-publisher will then publish events via zmq or websockets.
- It's also possible to use web sockets to get the event stream.
Q: Any documentation we can refer to so that we could had a try for this later?
See lavacli source code. Using python3-aiohttp that fairly simple:
https://git.lavasoftware.org/lava/lavacli/-/blob/master/lavacli/commands/eve... https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgit.lavasoftware.org%2Flava%2Flavacli%2F-%2Fblob%2Fmaster%2Flavacli%2Fcommands%2Fevents.py%23L235&data=02%7C01%7Clarry.shen%40nxp.com%7Cd0780e8458864dd1298a08d861248557%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C637366156768873646&sdata=R4EL6ZQtdRTfj4YYF%2BQqxbB8vl4Rv0dx5UgzYPw66Wc%3D&reserved=0
Rgds
--
Rémi Duraffort
LAVA Architect
Linaro