[ FEDORA 19 ]
I am trying to configure mozilla firefox to use tor network.
I downloaded tor client, it seems to run and be active on port 9050. But proxy server in firefox rejects connection.
Any ideas ? :C I am new to all this.
Here is screenshot of my screen and terminal output:
screen CLICK
Related
I tried to install firefox on my redhat 8 machine.but I get
" running firefox as root in a regular user's session is not supported. ($xauthority is /run/user/1001/gdm/xauthority which is owned by user.) "
Then I try it as normal user then it shows another error.
" Failed to open connection to "session" message bus: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
Running without a11y support! "
How to install firefox in Rhel8 (AWS EC2)? Is this possible?
I assume you are connecting via ssh (text mode). Firefox needs a graphical environment to run, which is not available in EC2. You will need a text-only browser.
It seems to me that you need something like WorkSpaces, not ec2 with ssh.
https://docs.aws.amazon.com/workspaces/index.html
The minimum you also need to install with firefox would be the xauth package. This should let you run firefox both as a normal user and while su to root. As root you will need set the XAUTHORITY env variable to point to your .Xauthority file, e.g.
# export XAUTHORITY=/home/sbaby/.Xauthority
This assumes, of course, that you ssh to your server with a X11 server listening for connections. Refer to your ssh client for documentation on how to set that up.
I am trying to run a Jmeter test on remote machine ( macOS sierraO).
I configured jp#gc - Chrome Driver Config and I can connect to the slave machine. However, whenever I try to run it I get
Starting ChromeDriver 73.0.3683.20 (XXXXXXX) on port XXXX
Only local connections are allowed.
Please protect ports used by ChromeDriver and related test frameworks to prevent access by malicious code.
Mar 08, 2019 12:12:35 PM org.openqa.selenium.remote.ProtocolHandshake createSession
INFO: Detected dialect: OSS
Using local port: XXXXXX
2019-03-08 13:04:39.171 java[10402:23852395] IMKInputSession [0x7f8bcbaaf740 presentFunctionRowItemTextInputViewWithEndpoint:completionHandler:] : [self textInputContext]=0x7f8bcbb578f0 *NO* NSRemoteViewController to client, NSError=Error Domain=NSCocoaErrorDomain Code=4099 "The connection from pid 0 was invalidated from this process." UserInfo={NSDebugDescription=The connection from pid 0 was invalidated from this process.}, com.apple.inputmethod.EmojiFunctionRowItem
I know this is related to the security consideration, but I couldn't find a way to solve for my use case.
My use case is:
I am running jmeter test using:
Run remote server directly from Jmeter 5.1
Run using java-maven-plugin project.
Any thoughts how to configure chromeDriver to run on remote server would be appreciated.
lease protect ports used by ChromeDriver and related test frameworks to prevent access by malicious code.
Solution:
Get your Chrome Browser version and download the ChromeDriver for specific to that version.
Open your Chrome browser > Click on 3 vertical dots (top right corner) > Help > About Google Chrome
Verify the Chrome Version (such as 73 or 74 or other ..)
goto Selenium browser driver download portal and download the Chrome Driver of that version
https://sites.google.com/a/chromium.org/chromedriver/downloads
I could not pass any parameters to chromedriver from p#gc - Chrome Driver Config directly, my config looks like:
where my chromedriver.dir was chromedirver.dir=vu.chromedriver.dir=/path/to/chromedriver
However, I was able to work around it by adding:
workaround.sh for macOS
#!/usr/bin/env bash
/path/to/chromedriver --whitelist-ip $*
workaround.bat for Windows
\\src\\path\\to\\chromedriver.exe --whitelist-ip %*
And that solved my issue for making chromedriver to accept remote connections.
I had the same issue. I fixed by changing to Chromedriver version 80.0.3987.106
I am following this tutorial on using docker images, and I am at the stage to run the example docker image like follows:
docker run -p 4000:80 friendlyhello
On the command line it seems ok:
>docker run -p 4000:80 friendlyhello
* Running on http://0.0.0.0:80/ (Press CTRL+C to quit)
but when I try to open the page http://localhost:4000 on a web browser, it seems to be unable to connect (Safari and Firefox). On Firefox the error message is
Unable to connect
Firefox can't establish a connection to the server at localhost:4000.
The site could be temporarily unavailable or too busy. Try again in a few moments.
If you are unable to load any pages, check your computer's network connection.
If your computer or network is protected by a firewall or proxy, make sure that Firefox is permitted to access the Web.
I also checked the file /etc/hosts and it contains the following entry
127.0.0.1 localhost
So what could be the problem?
I found this solution and tried the following command:
docker run -p 127.0.0.1:4000:80 friendlyhello
which still leads to the same problem. I also tried to open
`http://localhost:80`
again without success.
I've been searching for a while but can't figure it out. Is there a way to do this ?
Tor is socks5 proxy not normal proxy and it can work with casperjs , but you have to open tor first and make sure connection to tor network is done
Then from command line use:
casperjs --proxy=127.0.0.1:9150 --proxy-type=socks5 test.js
If you closed tor application it's will lost the socks connection
Tonight , I found my apache server cannot been open in chrome.
when I enter "localhost",It returns "No data received ERR_EMPTY_RESPONSE".
But when I enter "localhost" in safari , It works.
So I don't know how to fix it,I can ping it In terminal,and I try to restart apache and my mac.but it doesn't work.