katant / BAS.Tor

Tor network in BAS
4 stars 0 forks source link

Error happening while Kill Tor process #3

Closed muratulashozturk closed 4 years ago

muratulashozturk commented 4 years ago

Hi, sometimes the Kill Tor state is giving an error like this: TypeError: Result of expression 'PROCESS_STANDART_OUTPUT.split('pid=')[1]' [undefined] is not an object. during execution of action Any idea?

muratulashozturk commented 4 years ago

So If it won't fix, How can I Kill Tor?

katant commented 4 years ago

Use kill all tors

katant commented 4 years ago

Fix in 1.5

muratulashozturk commented 4 years ago

Still having issues with it.

 [08:16:32] Thread #1 : Tor pid get error! Check output:
[541142197] [08:16:32] Thread #1 : C:\Users\Administrator\AppData\Roaming\BrowserAutomationStudio\apps\23.1.1>chcp 65001 Active code page: 65001 C:\Users\Administrator\AppData\Roaming\BrowserAutomationStudio\apps\23.1.1>netstat -ao -n 0 | findstr 9060 
[541142197] [08:16:32] Thread #1 : ReferenceError: Can't find variable: PID during execution of action 
katant commented 4 years ago

Do you have any sleep after starting Tor?

muratulashozturk commented 4 years ago

Yeah 1 second delay

katant commented 4 years ago

Use at least 10. Tor can't start in 1 second

muratulashozturk commented 4 years ago

Oh also on my second computer, I updated to version 1.5 but it still looks like in the 1.4. Is there any clear cache option in BAS?

katant commented 4 years ago

You must create all Tor actions from 0

muratulashozturk commented 4 years ago

Thanks! Checking the new version again. Will update here if there is error

muratulashozturk commented 4 years ago

Works like a charm right now.

muratulashozturk commented 4 years ago

Kill Tor is bugging after sometime when running it on multiple threads . It's giving PID Error.

katant commented 4 years ago

It's giving PID Error.

Give full error log

muratulashozturk commented 4 years ago

Log:

~~CUSTOM~LOG~~[.][black][519640800] [15:02:25] Thread #23 : Tor pid get error! Check output:
~~CUSTOM~LOG~~[.][black][519640800] [15:02:25] Thread #23 : 
C:\Users\x\Desktop\x\appslocal\e3b0c442\SID9dee6c31\engine>chcp 65001 
Active code page: 65001

C:\Users\x\Desktop\x\appslocal\e3b0c442\SID9dee6c31\engine>netstat -ao -n 0   | findstr 9133 
  TCP    127.0.0.1:9133         127.0.0.1:51713        TIME_WAIT       0
  TCP    127.0.0.1:9133         127.0.0.1:51818        TIME_WAIT       0
  TCP    127.0.0.1:9133         127.0.0.1:51907        TIME_WAIT       0
  TCP    127.0.0.1:51735        127.0.0.1:9133         TIME_WAIT       0
  TCP    127.0.0.1:51793        127.0.0.1:9133         TIME_WAIT       0
  TCP    127.0.0.1:51849        127.0.0.1:9133         TIME_WAIT       0
  TCP    127.0.0.1:51873        127.0.0.1:9133         TIME_WAIT       0
  TCP    127.0.0.1:52088        127.0.0.1:9133         TIME_WAIT       0
  TCP    127.0.0.1:52129        127.0.0.1:9133         TIME_WAIT       0
  TCP    127.0.0.1:52162        127.0.0.1:9133         TIME_WAIT       0
  TCP    127.0.0.1:52205        127.0.0.1:9133         TIME_WAIT       0
  TCP    127.0.0.1:52206        127.0.0.1:9133         TIME_WAIT       0
  TCP    127.0.0.1:52208        127.0.0.1:9133         TIME_WAIT       0
  TCP    127.0.0.1:52233        127.0.0.1:9133         TIME_WAIT       0
  TCP    127.0.0.1:52234        127.0.0.1:9133         TIME_WAIT       0
  TCP    127.0.0.1:52300        127.0.0.1:9133         TIME_WAIT       0
  TCP    127.0.0.1:52301        127.0.0.1:9133         TIME_WAIT       0
  TCP    127.0.0.1:52333        127.0.0.1:9133         TIME_WAIT       0
  TCP    127.0.0.1:52371        127.0.0.1:9133         TIME_WAIT       0
  TCP    127.0.0.1:52382        127.0.0.1:9133         TIME_WAIT       0
  TCP    127.0.0.1:52431        127.0.0.1:9133         TIME_WAIT       0
  TCP    127.0.0.1:52432        127.0.0.1:9133         TIME_WAIT       0
  TCP    127.0.0.1:52483        127.0.0.1:9133         TIME_WAIT       0
  TCP    127.0.0.1:52493        127.0.0.1:9133         TIME_WAIT       0
  TCP    127.0.0.1:52505        127.0.0.1:9133         TIME_WAIT       0
  TCP    127.0.0.1:52621        127.0.0.1:9133         TIME_WAIT       0
  TCP    127.0.0.1:52622        127.0.0.1:9133         TIME_WAIT       0
  TCP    127.0.0.1:52624        127.0.0.1:9133         TIME_WAIT       0
  TCP    127.0.0.1:52640        127.0.0.1:9133         TIME_WAIT       0
  TCP    127.0.0.1:52649        127.0.0.1:9133         TIME_WAIT       0
  TCP    127.0.0.1:52723        127.0.0.1:9133         TIME_WAIT       0
  TCP    127.0.0.1:52798        127.0.0.1:9133         TIME_WAIT       0
  TCP    127.0.0.1:52805        127.0.0.1:9133         TIME_WAIT       0
  TCP    127.0.0.1:52860        127.0.0.1:9133         TIME_WAIT       0
  TCP    127.0.0.1:52961        127.0.0.1:9133         TIME_WAIT       0
  TCP    127.0.0.1:52962        127.0.0.1:9133         TIME_WAIT       0
  TCP    127.0.0.1:52963        127.0.0.1:9133         TIME_WAIT       0
  TCP    127.0.0.1:53620        127.0.0.1:9133         TIME_WAIT       0
  TCP    127.0.0.1:53662        127.0.0.1:9133         TIME_WAIT       0

looks like you just getting the LISTENING right?

katant commented 4 years ago

Yes, probably better idea is to add circuit fix to killing tor