Python script kiwifax.py [script requires more recent Kiwi server version]
I was able to successfully connect using my browser.
I was trying to execute, kiwifax.py and received this error:
yan@UbuntuYan:~/Downloads/kiwiclient-jks-v0.1$ python2 kiwifax.py -s 192.168.5.1
20171011T1532Z CRITICAL: * * * * * * * *
20171011T1532Z CRITICAL: Logging started
Traceback (most recent call last):
File "kiwifax.py", line 755, in main
recorder.run()
File "/home/yan/Downloads/kiwiclient-jks-v0.1/kiwiclient.py", line 273, in run
received = self._stream.receive_message()
File "/home/yan/Downloads/kiwiclient-jks-v0.1/mod_pywebsocket/_stream_hybi.py", line 751, in receive_message
frame = self._receive_frame_as_frame_object()
File "/home/yan/Downloads/kiwiclient-jks-v0.1/mod_pywebsocket/_stream_hybi.py", line 456, in _receive_frame_as_frame_object
opcode, unmasked_bytes, fin, rsv1, rsv2, rsv3 = self._receive_frame()
File "/home/yan/Downloads/kiwiclient-jks-v0.1/mod_pywebsocket/_stream_hybi.py", line 453, in _receive_frame
unmask_receive=self._options.unmask_receive)
File "/home/yan/Downloads/kiwiclient-jks-v0.1/mod_pywebsocket/_stream_hybi.py", line 192, in parse_frame
received = receive_bytes(2)
File "/home/yan/Downloads/kiwiclient-jks-v0.1/mod_pywebsocket/_stream_hybi.py", line 448, in _receive_bytes
return self.receive_bytes(length)
File "/home/yan/Downloads/kiwiclient-jks-v0.1/mod_pywebsocket/_stream_base.py", line 159, in receive_bytes
new_read_bytes = self._read(length)
File "/home/yan/Downloads/kiwiclient-jks-v0.1/mod_pywebsocket/_stream_base.py", line 119, in _read
(length, (self._request.connection.remote_addr,)))
ConnectionTerminatedException: Receiving 2 byte failed. Peer ((('192.168.5.1', 8073),)) closed connection
Thank you
I was trying to execute, kiwifax.py and received this error:
yan@UbuntuYan:~/Downloads/kiwiclient-jks-v0.1$ python2 kiwifax.py -s 192.168.5.1
20171011T1532Z CRITICAL: * * * * * * * *
20171011T1532Z CRITICAL: Logging started
Traceback (most recent call last):
File "kiwifax.py", line 755, in main
recorder.run()
File "/home/yan/Downloads/kiwiclient-jks-v0.1/kiwiclient.py", line 273, in run
received = self._stream.receive_message()
File "/home/yan/Downloads/kiwiclient-jks-v0.1/mod_pywebsocket/_stream_hybi.py", line 751, in receive_message
frame = self._receive_frame_as_frame_object()
File "/home/yan/Downloads/kiwiclient-jks-v0.1/mod_pywebsocket/_stream_hybi.py", line 456, in _receive_frame_as_frame_object
opcode, unmasked_bytes, fin, rsv1, rsv2, rsv3 = self._receive_frame()
File "/home/yan/Downloads/kiwiclient-jks-v0.1/mod_pywebsocket/_stream_hybi.py", line 453, in _receive_frame
unmask_receive=self._options.unmask_receive)
File "/home/yan/Downloads/kiwiclient-jks-v0.1/mod_pywebsocket/_stream_hybi.py", line 192, in parse_frame
received = receive_bytes(2)
File "/home/yan/Downloads/kiwiclient-jks-v0.1/mod_pywebsocket/_stream_hybi.py", line 448, in _receive_bytes
return self.receive_bytes(length)
File "/home/yan/Downloads/kiwiclient-jks-v0.1/mod_pywebsocket/_stream_base.py", line 159, in receive_bytes
new_read_bytes = self._read(length)
File "/home/yan/Downloads/kiwiclient-jks-v0.1/mod_pywebsocket/_stream_base.py", line 119, in _read
(length, (self._request.connection.remote_addr,)))
ConnectionTerminatedException: Receiving 2 byte failed. Peer ((('192.168.5.1', 8073),)) closed connection
Thank you
Comments
Yes browser works for 192.168.5.1:8073. Using python 2.7. I also tried 2.6.
Thanks!