Hi Muhammad,
not a great programmer here, but seems that the target machine is the problem.
IMO two possibilities, I see you are on a WIndows machine:

- firewall issues ( on the target AND/OR on the source machine)
- wrong settings in the sockets ( port mismatch ?)

In my experience the XMLRPC scenario it's simple and well documented, but not 
so 'responsive'. Switching to ZMQ socket ( in this specific case the PUSH/PULL 
pair seems adeguate) I found that everything works much better.
My 1 eurocent :-)

Vittorio

fingerprint: fb5f492a54e016c632c933d3ee4b7e38203c79ca

Inviato con l'email sicura [Proton Mail](https://proton.me/mail/home).

lunedì 13 gennaio 2025 11:27, Muhammad Anas <anasg8...@gmail.com> ha scritto:

> Dear GNU Radio Community,
>
> How to resolve this issue?
> Traceback (most recent call last):
> File "D:\GRC\Lib\site-packages\gnuradio\qtgui\range.py", line 198, in changed
> self.notifyChanged(self.rangeType(val))
> File "D:\GRC\Lib\site-packages\gnuradio\qtgui\range.py", line 302, in 
> sliderChanged
> self.notifyChanged(self.rangeType(value))
> File "D:\OneDrive - GNU\Desktop\siggen_controller_xmlrcp_client.py", line 96, 
> in set_freq
> self.xmlrpc_client_0.set_rmt_freq(self.freq)
> File "D:\GRC\Lib\xmlrpc\client.py", line 1122, in _call_
> return self._send(self._name, args)
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File "D:\GRC\Lib\xmlrpc\client.py", line 1464, in __request
> response = self.__transport.request(
> ^^^^^^^^^^^^^^^^^^^^^^^^^
> File "D:\GRC\Lib\xmlrpc\client.py", line 1166, in request
> return self.single_request(host, handler, request_body, verbose)
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File "D:\GRC\Lib\xmlrpc\client.py", line 1178, in single_request
> http_conn = self.send_request(host, handler, request_body, verbose)
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File "D:\GRC\Lib\xmlrpc\client.py", line 1291, in send_request
> self.send_content(connection, request_body)
> File "D:\GRC\Lib\xmlrpc\client.py", line 1321, in send_content
> connection.endheaders(request_body)
> File "D:\GRC\Lib\http\client.py", line 1298, in endheaders
> self._send_output(message_body, encode_chunked=encode_chunked)
> File "D:\GRC\Lib\http\client.py", line 1058, in _send_output
> self.send(msg)
> File "D:\GRC\Lib\http\client.py", line 996, in send
> self.connect()
> File "D:\GRC\Lib\http\client.py", line 962, in connect
> self.sock = self._create_connection(
> ^^^^^^^^^^^^^^^^^^^^^^^^
> File "D:\GRC\Lib\socket.py", line 851, in create_connection
> raise exceptions[0]
> File "D:\GRC\Lib\socket.py", line 836, in create_connection
> sock.connect(sa)
> ConnectionRefusedError: [WinError 10061] No connection could be made because 
> the target machine actively refused it
>
>>>> Done (return code 3221226505)
>
> Regards
> Muhammad Anas

Reply via email to