Guest User

Untitled

a guest
Jun 7th, 2023
37
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.71 KB | None | 0 0
  1. PS D:\Projects\workspace> python .\test.py
  2. Traceback (most recent call last):
  3. File "D:\Projects\workspace\test.py", line 26, in <module>
  4. asyncio.run(run_request('hello world', 'output.raw'))
  5. File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.3056.0_x64__qbz5n2kfra8p0\lib\asyncio\runners.py", line 44, in run
  6. return loop.run_until_complete(main)
  7. File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.3056.0_x64__qbz5n2kfra8p0\lib\asyncio\base_events.py", line 649, in run_until_complete
  8. return future.result()
  9. File "D:\Projects\workspace\test.py", line 9, in run_request
  10. async with websockets.connect("ws://localhost:3333") as websocket:
  11. File "C:\Users\DeadS\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\websockets\legacy\client.py",
  12. line 637, in __aenter__
  13. return await self
  14. File "C:\Users\DeadS\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\websockets\legacy\client.py",
  15. line 655, in __await_impl_timeout__
  16. return await self.__await_impl__()
  17. File "C:\Users\DeadS\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\websockets\legacy\client.py",
  18. line 659, in __await_impl__
  19. _transport, _protocol = await self._create_connection()
  20. File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.3056.0_x64__qbz5n2kfra8p0\lib\asyncio\base_events.py", line 1081, in create_connection
  21. raise exceptions[0]
  22. File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.3056.0_x64__qbz5n2kfra8p0\lib\asyncio\base_events.py", line 1060, in create_connection
  23. sock = await self._connect_sock(
  24. File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.3056.0_x64__qbz5n2kfra8p0\lib\asyncio\base_events.py", line 969, in _connect_sock
  25. await self.sock_connect(sock, address)
  26. File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.3056.0_x64__qbz5n2kfra8p0\lib\asyncio\proactor_events.py", line 709, in sock_connect
  27. return await self._proactor.connect(sock, address)
  28. File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.3056.0_x64__qbz5n2kfra8p0\lib\asyncio\windows_events.py", line 826, in _poll
  29. value = callback(transferred, key, ov)
  30. File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.3056.0_x64__qbz5n2kfra8p0\lib\asyncio\windows_events.py", line 613, in finish_connect
  31. ov.getresult()
  32. ConnectionRefusedError: [WinError 1225] The remote computer refused the network connection
Advertisement
Add Comment
Please, Sign In to add comment