firewall

Using Selenium RemoteWebDriver behind corporate proxy (Java)

纵然是瞬间 提交于 2019-12-01 18:57:03
问题 I'm trying to run Selenium tests on a few remote automation services (Sauce Labs, Browserstack, etc) and run into issues hitting their API through my corporate firewall. Just a note, the app I'm trying to test is not behind this firewall, it is publicly accessible. DesiredCapabilities caps = DesiredCapabilities.internetExplorer(); caps.setCapability("platform", "Windows 7"); caps.setCapability("version", "9.0"); caps.setCapability("idleTimeout", "300"); caps.setCapability("name", "Invitation

Symfony 2 - hide the whole website with a HTTP Authentication dialog

断了今生、忘了曾经 提交于 2019-12-01 18:24:31
问题 I am using Symfony 2 for building a website. The work is in progress (therefore I don't want users or search engines to access it) but my client wants to see my progress. I was thinking an easy solution was to protect the whole website with HTTP authentication using the mechanism provided by the Symfony 2 security functionality. I am using FOSUserBundle as the website will have users that need to register and login. This is my security.yml, which works great: security: providers: fos

Symfony 2 - hide the whole website with a HTTP Authentication dialog

南楼画角 提交于 2019-12-01 17:51:25
I am using Symfony 2 for building a website. The work is in progress (therefore I don't want users or search engines to access it) but my client wants to see my progress. I was thinking an easy solution was to protect the whole website with HTTP authentication using the mechanism provided by the Symfony 2 security functionality. I am using FOSUserBundle as the website will have users that need to register and login. This is my security.yml, which works great: security: providers: fos_userbundle: id: fos_user.user_manager encoders: "FOS\UserBundle\Model\UserInterface": sha512 firewalls: main:

How to enable Ping(ICMP) on Azure

久未见 提交于 2019-12-01 01:40:20
问题 In Windows Azure role, I cannot ping out D:\Users\foglight>ping www.google.com Pinging www.l.google.com [209.85.143.104] with 32 bytes of data: Request timed out. Request timed out. Request timed out. Request timed out. Ping statistics for 209.85.143.104: Packets: Sent = 4, Received = 0, Lost = 4 (100% loss), I google it and found some one suggest run below command, but even after run it, I still can not ping out netsh advfirewall firewall add rule name="ICMPv6" dir=in action=allow enable=yes

R parallel makeCluster() hangs infinitely on Mac

你说的曾经没有我的故事 提交于 2019-12-01 01:34:49
I came across some problem when I was trying to use parallel package in R on my Mac. Here is how the parallel package works normally. cl = makeCluster(2) # Using 2-core parallel as an example # Your parallel code stopCluster(cl) When I ran this code, the cl = makeCluster(2) hangs infinitely . I was trying to solve it but failed. I also referred to some other posts. Several potential reasons includes not enough memory, installation error, etc. They do not seems to be the problem here, as I restarted sessions, reinstalled R, but the problem remained. I guess the problem is about the permission

Android: Unable to make httprequest behind firewall

末鹿安然 提交于 2019-12-01 01:24:53
The standard getUrlContent works welll when there is no firewall. But I got exceptions when I try to do it behind a firewall. I've tried to set "http proxy server" in AVD manager, but it didn't work. Any idea how to correctly set it up? and btw: from android documentation "You can use the -verbose-proxy option to diagnose proxy connection problems." -verbose-proxy is not a valid option at all. protected static synchronized String getUrlContent(String url) throws ApiException { if(url.equals("try")){ return "thanks"; } if (sUserAgent == null) { throw new ApiException("User-Agent string must be

WCF Service behind firewall – How to set up port forwarding?

元气小坏坏 提交于 2019-11-30 20:33:29
问题 I'm just getting into WCF programming. I've set up a self-hosted test web service on my work computer, which is behind a firewall; it's at http://localhost:8000/MyTestService . I can access the service page through the browser; all working fine. Now I want to access that service from my home computer, which is on a different network. I have a dynamic dns (call it mydomain.dyndns.org) set up to point to my work router. Have tested, dyndns is pointing to the right address. Now I have installed

Android: Unable to make httprequest behind firewall

我只是一个虾纸丫 提交于 2019-11-30 20:09:30
问题 The standard getUrlContent works welll when there is no firewall. But I got exceptions when I try to do it behind a firewall. I've tried to set "http proxy server" in AVD manager, but it didn't work. Any idea how to correctly set it up? and btw: from android documentation "You can use the -verbose-proxy option to diagnose proxy connection problems." -verbose-proxy is not a valid option at all. protected static synchronized String getUrlContent(String url) throws ApiException { if(url.equals(

what url should I authorize to use pip behind a firewall?

两盒软妹~` 提交于 2019-11-30 19:07:24
I have a server, onto which I want to use Python, that is behind a company firewall. I do not want to mess with it and the only thing I can do is to make a firewall exception for specific URL/domains. I also want to access packages located on PYPI, using pip or easy_install. Therefore, do you know which URL should I ask to be listed in the exception rules for the firewall, except *.pypi.python.org? You need to open up your firewall to the download locations of any package you need to install, or connect to a proxy server that has been given access. Note that the download location is not

WCF service blocked by Windows Firewall

让人想犯罪 __ 提交于 2019-11-30 18:12:50
I've got a WCF service using a HttpBinding. The service is running in a self hosting process (A Windows Service) and this process is inside the Windows Firewall exceptions list. If the Firewall is active and I'm trying to access the service using a C# client or Internet Explorer, the service does not respond. But if the Firewall is disabled the connection works like a charm. Does anyone have expirence with WCF and the Windows Firewall? The problem came up on Windows 7 64bit. I didn't try another OS yet. What am I supposed to do to get this working with an active Firewall? Regards Michael EDIT: