Open SoftologyPro opened 2 weeks ago
OK, I got a little further. The initial errors were due to my microphone security settings disabling mic access. So for anyone else with those errors, check microphone security settings in WIndows. Now that that is turned on (and I confirmed record works in other apps) it gets a little further, but still has this error when the client starts (and I press enter for defaults)
Enter the index of the input device or press enter for default:
Enter the index of the output device or press enter for default:
Traceback (most recent call last):
File "D:\Tests\Hertz-Dev\hertz-dev\inference_client.py", line 159, in <module>
client.start()
File "D:\Tests\Hertz-Dev\hertz-dev\inference_client.py", line 132, in start
asyncio.run(self.process_audio())
File "D:\Python\lib\asyncio\runners.py", line 44, in run
return loop.run_until_complete(main)
File "D:\Python\lib\asyncio\base_events.py", line 649, in run_until_complete
return future.result()
File "D:\Tests\Hertz-Dev\hertz-dev\inference_client.py", line 69, in process_audio
async with websockets.connect(self.server_url) as ws:
File "D:\Tests\Hertz-Dev\hertz-dev\venv\lib\site-packages\websockets\legacy\client.py", line 635, in __aenter__
return await self
File "D:\Tests\Hertz-Dev\hertz-dev\venv\lib\site-packages\websockets\legacy\client.py", line 654, in __await_impl__
_transport, protocol = await self._create_connection()
File "D:\Python\lib\asyncio\base_events.py", line 1081, in create_connection
raise exceptions[0]
File "D:\Python\lib\asyncio\base_events.py", line 1060, in create_connection
sock = await self._connect_sock(
File "D:\Python\lib\asyncio\base_events.py", line 969, in _connect_sock
await self.sock_connect(sock, address)
File "D:\Python\lib\asyncio\proactor_events.py", line 709, in sock_connect
return await self._proactor.connect(sock, address)
File "D:\Python\lib\asyncio\windows_events.py", line 826, in _poll
value = callback(transferred, key, ov)
File "D:\Python\lib\asyncio\windows_events.py", line 613, in finish_connect
ov.getresult()
ConnectionRefusedError: [WinError 1225] The remote computer refused the network connection
Server refused connection? Am I running these the right way? ie server in one cmd.exe window, client in another cmd.exe window.
windows is untested atm, my guess is something with the firewall. we'll have a chance to test soon, till then please let us know if you find a solution
This is Windows. Server started in it's own command prompt. Shows "Using device CUDA" Clent started in a separate command prompt. I press enter for defaults. Gives this error...
If I specify input and output device IDs for my headset I get
This is the defaults it selects and all options.
Any ideas to get this working?