proxy

how to use proxy with JSON

I have a php page called 'dataFetch.php' which sits on one webserver. On another webserver, I have a JS file which issues JSON calls to dataFetch. dataFetch connects to a database, retrieves data and puts it in a JSON format which is fed back to the calling program. In IE, this works fine. In other browsers it does not because of the cr...

How to add proxy support to c# socket connection?

I have a socket app that needs to have support for SOCKS 4 and 5 proxy connections, since my users may be behind firewalls. I am using WPF and C# 3.5 SP1. I see no options in the default Socket class for proxys, do I have to roll my own? I'd prefer not to use 3rd party libs if possible - how difficult is it to enable proxy support with...

python multiprocessing proxy

I have a 2 processes: the first process is manager.py starts in backgroung: from multiprocessing.managers import SyncManager, BaseProxy from CompositeDict import * class CompositeDictProxy(BaseProxy): _exposed_ = ('addChild', 'setName') def addChild(self, child): return self._callmethod('addChild', [child]) def ...

ASP.Net Debugging, proxy path to seperate domain?

Right now I have a rather annoying framework that requires a set of php/asp pages and a CGI executable to run. This thing is annoying enough to set up (licensing server, persistent processes, IIS configuration hell, etc) that it isn't practical to setup a local IIS server. I am wondering if there is an easy way to proxy all requests of...

how to configure a http proxy for svn

Hi Guys, I want to check code from the repository http://code.sixapart.com/svn/perlbal/ . I can only access the the repository url by setting a proxy . I guess if i want to get the code from the same url by svn I need to configure a proxy too . so does anyone of you could tell me how to configure a http proxy in svn ? by the way, I ...

.Net Internet Proxy

How to declare a network proxy for all windows programs to use? ...

Failed web service unit tests behind a proxy in Eclipse

I have a problem executing unit tests in Eclipse behind a proxy, as the classes used by the unit tests call some web services, which are behind a proxy. In Tomcat I can of course specify a proxy to be used, but when I run unit tests directly from Eclipse, the proxy configuration of Eclipse seems to be ignored. How can I configure my unit...

Non server specific proxy ?

I have a widget that is added to random websites. The widget needs to fill an iframe with content. I need the iframe source to be from the same domain as the website it is embedded in. To do this I want to ask the site owners to put a file in their root folder that will be used as a proxy to my server. My question is -how can I impleme...

Tunnel outbound HTTP over inbound socket connection

** This question might belong on SF except for one of the constraints below (not having admin rights on one machine) ** At my work I have two machines, A and B. Machine A is my primary development machine. It is completely disconnected from the corporate network. Machine B is connected and is used primarily for email and web access. ...

How do I configure proxy settings for Java in Solaris?

I would like to configure Java proxy settings on Solaris to use a proxy script. I have found instructions for making the settings on a Windows machine using the Java control panel, but am having trouble finding where/how to make the same setting changes on a Solaris Java install. I would like to use the proxy script, rather than manu...

Why is my WebBrowser component using IE proxy settings despite changing the DefaultWebProxy?

In the program I am maintaining, the user can set their own proxy settings, in which case the DefaultWebProxy is set to a new proxy with those settings, in the case that they don't DefaultWebProxy is set to null. However, if I set duff proxy settings in internet explorer, the WebBrowser stops working, sending any navigation requests to ...

How I used a proxy with Fink

After setting the proxy in "fink configure", it still did not work in Leopard. Running "env" showed that the http_proxy & friends were indeed set. Eventually I did "sudo -s", then "env", thus noticing that those variables apparently did not carry over to sudo. Apparently sudo has some sort of whitelist in /etc/sudoers, to which I added ...

How do a send an HTTPS request through a proxy in Java?

I am trying to send a request to a server using the HttpsUrlConnection class. The server has certificate issues, so I set up a TrustManager that trusts everything, as well as a hostname verifier that is equally lenient. This manager works just fine when I make my request directly, but it doesn't seem to be used at all when I send the r...

Enable proxy by editing registry in real time in c#

This is the code that I use to enable the proxy. It has worked fine on all versions of windows up until Server 2008 R2 (Windows 7 Kernal). Now it only works the fist time. I start my application and enable the proxy and that works fine. I then try disabling it using code similar to the code below. It never gets disabled. If I manua...

Visual Studio News Channel When Using Proxy

Does anyone know how to force Visual Studio to use a proxy? My VS install never shows any news on the front page as the company I work for uses a proxy Any ideas?? This did not work - The XML addition was not correct and VS complained. What am I doing wrong? ...

Can a corporate proxy cache whole pages?

We are seeing some odd errors when our customers test our ASP.NET web apps. There is a cart counter on the top of every page that tells you how many items are in the shopping cart. She reports that this number is changing as she moves from one page to the next. We cannot recreate this. Is it possible that her corporate proxy server is c...

407 Proxy Authentication Required

I am working on a website, in which I am retrieving XML data from an external URL, using the following code WebRequest req = WebRequest.Create("External server url"); req.Proxy = new System.Net.WebProxy("proxyUrl:8080", true); req.Proxy.Credentials = CredentialCache.DefaultCredentials; WebResponse resp = req.GetResponse(); StreamReader...

Proxying imported schema but not SOAP requests with suds

I'm writing a SOAP client to talk to servers on our local network but our provider's WSDL references but doesn't import the SOAP encoding schema. We can fix this up with suds' ImportDoctor but doing so requires access to the internet to fetch the schema. Our internet access is via an HTTP proxy. If I set the $http_proxy environment varia...

proxy option with in my app

I wrote a small app that downloads YouTube videos but like most company's they don't allow you to view YouTube so i would like to incorporate a proxy option into my app to download the YouTube videos through a supplied proxy ip and port. ...

Java: Validating and testing proxy servers from list

How do I validate a list of proxy servers, then checking whether the proxy is HTTP or SOCKS and whether the proxy transparent or anonymous? the input are only hostname and the proxy port. ...