Hello!
We are getting an error others have discussed on this forum, but none of the solutions have worked for us.
We have v2.0 hardware and artiq 7.8176.6fbfa12.
The error we are getting is:
artiq.dashboard.moninj:failed to connect to moninj. Is aqctl_moninj_proxy running?
Traceback (most recent call last):
File "C:\Users\iontrap\anaconda3\envs\artiq\lib\site-packages\artiq\dashboard\moninj.py", line 724, in mi_connector
await new_mi_connection.connect(self.mi_addr, self.mi_port)
File "C:\Users\iontrap\anaconda3\envs\artiq\lib\site-packages\artiq\coredevice\comm_moninj.py", line 32, in connect
self._reader, self._writer = await async_open_connection(
File "C:\Users\iontrap\anaconda3\envs\artiq\lib\site-packages\sipyco\keepalive.py", line 80, in async_open_connection
reader, writer = await asyncio.open_connection(host, port, *args, **kwargs)
File "C:\Users\iontrap\anaconda3\envs\artiq\lib\asyncio\streams.py", line 52, in open_connection
transport, _ = await loop.create_connection(
File "C:\Users\iontrap\anaconda3\envs\artiq\lib\asyncio\base_events.py", line 1025, in create_connection
raise exceptions[0]
File "C:\Users\iontrap\anaconda3\envs\artiq\lib\asyncio\base_events.py", line 1010, in create_connection
sock = await self._connect_sock(
File "C:\Users\iontrap\anaconda3\envs\artiq\lib\asyncio\base_events.py", line 924, in _connect_sock
await self.sock_connect(sock, address)
File "C:\Users\iontrap\anaconda3\envs\artiq\lib\asyncio\proactor_events.py", line 702, in sock_connect
return await self._proactor.connect(sock, address)
File "C:\Users\iontrap\anaconda3\envs\artiq\lib\site-packages\qasync\_windows.py", line 43, in _process_events
value = callback(transferred, key, ov)
File "C:\Users\iontrap\anaconda3\envs\artiq\lib\asyncio\windows_events.py", line 599, in finish_connect
ov.getresult()
ConnectionRefusedError: [WinError 1225] The remote computer refused the network connection
If we can successfully ping the Kasli. We are confident it's the correct IP address because when we unplug the ethernet cable, the ping fails. This Kasli was working last year, but we haven't used it much since then. We tried to bring it up online recently, but we get the above error. We did have to reinstall anaconda and artiq, so that might be part of it, but so far it doesn't seem directly related to the error message we are seeing.
The steps we've taken based on various forum discussions are to downgrade python to 3.8.2. Tried the rv32ima
and ``rv32g``` target, and power cycled the Kasli many times. We get the same error repeating every few seconds on the dashboard. What's stranger still is we can run an experiment that outputs voltages on the zotino.
I feel a bit lost in debugging this situation in the first place because I don't know how to confirm if aqctl_moninj_proxy is running or why it would not be running by default.