A-Unix / YoutubeViewer

A python script to get views on your youtube videos for free.
GNU General Public License v3.0
3 stars 0 forks source link

An error occurred: unable to use the control socket #1

Open Youngplaskon opened 3 months ago

Youngplaskon commented 3 months ago

Checking if Tor is already running or not!
An error occurred: unable to use the control socket
Starting Tor service...
Traceback (most recent call last):
File "/usr/local/lib/python3.11/dist-packages/stem/connection.py", line 534, in authenticate
protocolinfo_response = get_protocolinfo(controller)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/stem/connection.py", line 1025, in get_protocolinfo
protocolinfo_response = _msg(controller, 'PROTOCOLINFO 1')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/stem/connection.py", line 1043, in _msg
return controller.msg(message)
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/stem/control.py", line 669, in msg
raise response
File "/usr/local/lib/python3.11/dist-packages/stem/control.py", line 948, in _reader_loop
control_message = self._socket.recv()
^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/stem/socket.py", line 474, in recv
return self._recv(lambda s, sf: recv_message(sf))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/stem/socket.py", line 274, in _recv
return handler(my_socket, my_socket_file)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/stem/socket.py", line 474, in
return self._recv(lambda s, sf: recv_message(sf))
^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/stem/socket.py", line 706, in recv_message
raise stem.ProtocolError('Badly formatted reply line: beginning is malformed')
stem.ProtocolError: Badly formatted reply line: beginning is malformed

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/home/kali/Downloads/YoutubeViewer/main.py", line 171, in
main()
File "/home/kali/Downloads/YoutubeViewer/main.py", line 125, in main
controller.authenticate()
File "/usr/local/lib/python3.11/dist-packages/stem/control.py", line 1112, in authenticate
stem.connection.authenticate(self, *args, **kwargs)
File "/usr/local/lib/python3.11/dist-packages/stem/connection.py", line 536, in authenticate
raise IncorrectSocketType('unable to use the control socket')
stem.connection.IncorrectSocketType: unable to use the control socket

A-Unix commented 3 months ago

Run this command in your terminal:- service --status-all Check if Tor service is running or not, take screenshot of your terminal screen where you can show that you have Tor service on your Kali and post the screenshot here.