Distributive-Network/PythonMonkey

Additional requests are made after computation is finished in job-launch.py

philippedistributive opened this issue · 1 comments

Issue type

Bug

How did you install PythonMonkey?

None

OS platform and distribution

No response

Python version (python --version)

No response

PythonMonkey version (pip show pythonmonkey)

No response

Bug Description

with debug xhr:response we get

ob 0xd46015375C4185B7C2CD0c144f88505d62eF47D6 finished
results: [9.0, 12.0, 15.0]
[ 9, 12, 15 ]
xhr:aiohttp creating request for https://scheduler.distributed.computer/pheme/?EIO=4&transport=polling&t=OyRfyGR&sid=WevsiTvV2WgkwzvlABbI
xhr:aiohttp got text/html result
xhr:aiohttp creating request for https://event-router.distributed.computer/events/?EIO=4&transport=polling&t=OyRfyWd&sid=Lhy6IIaKHAPesJvMABAm
xhr:aiohttp got text/html result
xhr:aiohttp got text/plain result
xhr:aiohttp creating request for https://event-router.distributed.computer/events/?EIO=4&transport=polling&t=OyRfyZD&sid=Lhy6IIaKHAPesJvMABAm
xhr:aiohttp got text/plain result
xhr:aiohttp creating request for https://event-router.distributed.computer/events/?EIO=4&transport=polling&t=OyRfybY&sid=Lhy6IIaKHAPesJvMABAm
xhr:aiohttp creating request for https://event-router.distributed.computer/events/?EIO=4&transport=polling&t=OyRfybb&sid=Lhy6IIaKHAPesJvMABAm
xhr:aiohttp got text/html result
xhr:aiohttp creating request for https://event-router.distributed.computer/events/?EIO=4&transport=polling&t=OyRfycX&sid=Lhy6IIaKHAPesJvMABAm
xhr:aiohttp got text/html result
xhr:aiohttp got text/plain result
xhr:aiohttp creating request for https://event-router.distributed.computer/events/?EIO=4&transport=polling&t=OyRfyez&sid=Lhy6IIaKHAPesJvMABAm
xhr:aiohttp got text/plain result
xhr:aiohttp creating request for https://event-router.distributed.computer/events/?EIO=4&transport=polling&t=OyRfyfr&sid=Lhy6IIaKHAPesJvMABAm
xhr:aiohttp creating request for https://event-router.distributed.computer/events/?EIO=4&transport=polling&t=OyRfyfs&sid=Lhy6IIaKHAPesJvMABAm
xhr:aiohttp got text/html result
xhr:aiohttp got text/plain result
xhr:aiohttp got text/plain result
xhr:aiohttp creating request for https://scheduler.distributed.computer/pheme/?EIO=4&transport=polling&t=OyRf-T3&sid=WevsiTvV2WgkwzvlABbI
xhr:aiohttp creating request for https://scheduler.distributed.computer/pheme/?EIO=4&transport=polling&t=OyRf-T4&sid=WevsiTvV2WgkwzvlABbI
xhr:aiohttp got text/html result
xhr:aiohttp creating request for https://scheduler.distributed.computer/pheme/?EIO=4&transport=polling&t=OyRf-ij&sid=WevsiTvV2WgkwzvlABbI
xhr:aiohttp got text/html result
xhr:aiohttp got text/plain result
xhr:aiohttp creating request for https://scheduler.distributed.computer/pheme/?EIO=4&transport=polling&t=OyRf-jg&sid=WevsiTvV2WgkwzvlABbI
xhr:aiohttp got text/plain result
xhr:aiohttp creating request for https://scheduler.distributed.computer/pheme/?EIO=4&transport=polling&t=OyRf-kb&sid=WevsiTvV2WgkwzvlABbI
xhr:aiohttp creating request for https://scheduler.distributed.computer/pheme/?EIO=4&transport=polling&t=OyRf-kb.0&sid=WevsiTvV2WgkwzvlABbI
xhr:aiohttp got text/plain result
xhr:aiohttp got text/html result
xhr:aiohttp creating request for https://scheduler.distributed.computer/pheme/?EIO=4&transport=polling&t=OyRfyGR&sid=WevsiTvV2WgkwzvlABbI
xhr:aiohttp got text/html result
xhr:aiohttp creating request for https://event-router.distributed.computer/events/?EIO=4&transport=polling&t=OyRfyWd&sid=Lhy6IIaKHAPesJvMABAm
xhr:aiohttp got text/html result
xhr:aiohttp got text/plain result
xhr:aiohttp creating request for https://event-router.distributed.computer/events/?EIO=4&transport=polling&t=OyRfyZD&sid=Lhy6IIaKHAPesJvMABAm
xhr:aiohttp got text/plain result
xhr:aiohttp creating request for https://event-router.distributed.computer/events/?EIO=4&transport=polling&t=OyRfybY&sid=Lhy6IIaKHAPesJvMABAm
xhr:aiohttp creating request for https://event-router.distributed.computer/events/?EIO=4&transport=polling&t=OyRfybb&sid=Lhy6IIaKHAPesJvMABAm
xhr:aiohttp got text/html result
xhr:aiohttp creating request for https://event-router.distributed.computer/events/?EIO=4&transport=polling&t=OyRfycX&sid=Lhy6IIaKHAPesJvMABAm
xhr:aiohttp got text/html result
xhr:aiohttp got text/plain result
xhr:aiohttp creating request for https://event-router.distributed.computer/events/?EIO=4&transport=polling&t=OyRfyez&sid=Lhy6IIaKHAPesJvMABAm
xhr:aiohttp got text/plain result
xhr:aiohttp creating request for https://event-router.distributed.computer/events/?EIO=4&transport=polling&t=OyRfyfr&sid=Lhy6IIaKHAPesJvMABAm
xhr:aiohttp creating request for https://event-router.distributed.computer/events/?EIO=4&transport=polling&t=OyRfyfs&sid=Lhy6IIaKHAPesJvMABAm
xhr:aiohttp got text/html result
xhr:aiohttp got text/plain result
xhr:aiohttp got text/plain result
xhr:aiohttp creating request for https://scheduler.distributed.computer/pheme/?EIO=4&transport=polling&t=OyRf-T3&sid=WevsiTvV2WgkwzvlABbI
xhr:aiohttp creating request for https://scheduler.distributed.computer/pheme/?EIO=4&transport=polling&t=OyRf-T4&sid=WevsiTvV2WgkwzvlABbI
xhr:aiohttp got text/html result
xhr:aiohttp creating request for https://scheduler.distributed.computer/pheme/?EIO=4&transport=polling&t=OyRf-ij&sid=WevsiTvV2WgkwzvlABbI
xhr:aiohttp got text/html result
xhr:aiohttp got text/plain result
xhr:aiohttp creating request for https://scheduler.distributed.computer/pheme/?EIO=4&transport=polling&t=OyRf-jg&sid=WevsiTvV2WgkwzvlABbI
xhr:aiohttp got text/plain result
xhr:aiohttp creating request for https://scheduler.distributed.computer/pheme/?EIO=4&transport=polling&t=OyRf-kb&sid=WevsiTvV2WgkwzvlABbI
xhr:aiohttp creating request for https://scheduler.distributed.computer/pheme/?EIO=4&transport=polling&t=OyRf-kb.0&sid=WevsiTvV2WgkwzvlABbI
xhr:aiohttp got text/plain result
xhr:aiohttp got text/html result

turns out these are keepalive:

xhr:response response headers ----
access-control-allow-origin: *
cache-control: no-store
connection: keep-alive
content-encoding: gzip
content-type: text/plain; charset=UTF-8
date: Fri, 26 Apr 2024 18:42:12 GMT
server: nginx/1.18.0 (Ubuntu)
transfer-encoding: chunked
xhr:response recv chunk, 121 bytes (0{"sid":"Mksz6D1ektvgY8N9AANf","upgrades":["websocket"],"pingInterval":10100,"pingTimeout":60010,"ma…)
xhr:response end of body, received 121 bytes

Standalone code to reproduce the issue

No response

Relevant log output or backtrace

No response

Additional info if applicable

No response

What branch of PythonMonkey were you developing on? (If applicable)

No response

All legit, closing down the connections and status