proxy

Java applet behind proxy experiences temporary freezes when instantiating new classes

故事扮演 提交于 2020-01-24 10:07:34
问题 Introduction We have some problems with our Java applet at our customer's office. The applet is intended for recording the screen by taking screenshots at regular intervals. It's signed and it should run with elevated privileges. The problems we encounter are: The Java applet may sometimes not start at all. If the Java console shows up, it may disappear soon. It feels as if the whole JVM just crashes. If the Java applet starts, it sometimes crashes something like 10 seconds after startup. If

Java applet behind proxy experiences temporary freezes when instantiating new classes

时光毁灭记忆、已成空白 提交于 2020-01-24 10:07:20
问题 Introduction We have some problems with our Java applet at our customer's office. The applet is intended for recording the screen by taking screenshots at regular intervals. It's signed and it should run with elevated privileges. The problems we encounter are: The Java applet may sometimes not start at all. If the Java console shows up, it may disappear soon. It feels as if the whole JVM just crashes. If the Java applet starts, it sometimes crashes something like 10 seconds after startup. If

How to use fsockopen (or compatible) with SOCKS proxies in PHP?

和自甴很熟 提交于 2020-01-24 09:55:12
问题 I've coded a non-evil, non-spammy IRC bot in PHP, using fsockopen and related functions. It works. However, the problem is that I need to support proxies (preferably SOCKS5, but HTTP is also OK if that is somehow easier, which I doubt). This is not supported by fsockopen . I've gone through all search results for "PHP fsockopen proxy" and related queries. I know of all the things that don't work, so please don't link to one of them. The PHP manual page for fsockopen mentions the function

Java SOCKS proxy

五迷三道 提交于 2020-01-24 09:25:09
问题 Does the socksProxyHost property require an IP address? System.setProperty("socksProxyHost", preferences.getProxyHost() ); Setting it like above, if I provide 127.0.0.1, I get connected to the proxy on my localhost. But if I provide localhost, it does not connect it. I have no other machines on the LAN I can use to this. So does anyone know if it works with hosts names or do I have to resolve the host and pass in an IP? 回答1: System properties are just a dumb map. There are no observers to be

How can i set proxy server with symfony/panther

半世苍凉 提交于 2020-01-24 09:12:16
问题 I found two way of setting proxy server one is through chrome web driver capabilities and the other one is directly setting while creating chrome client $this->client = Client::createChromeClient(null, [ '--proxy-server=socks://196.14.52.63:35048', '--headless', "--disable-gpu", ]); but after setting proxy IP and port I get following error: Curl error thrown for http POST to /session/cce06908d68a1e96bc6d1cb3b798aa14/url with params: {"url":"https:\/\/some-site\/login"}\n Operation timed out

How can i set proxy server with symfony/panther

非 Y 不嫁゛ 提交于 2020-01-24 09:12:07
问题 I found two way of setting proxy server one is through chrome web driver capabilities and the other one is directly setting while creating chrome client $this->client = Client::createChromeClient(null, [ '--proxy-server=socks://196.14.52.63:35048', '--headless', "--disable-gpu", ]); but after setting proxy IP and port I get following error: Curl error thrown for http POST to /session/cce06908d68a1e96bc6d1cb3b798aa14/url with params: {"url":"https:\/\/some-site\/login"}\n Operation timed out

The server committed a protocol violation. Section=ResponseStatusLine when using a tor proxy

大憨熊 提交于 2020-01-24 03:05:23
问题 I'm trying to send an httpwebrequest using a tor proxy with my asp.net application and I receive this error message when calling the webresponse.GetResponse() method: The server committed a protocol violation. Section=ResponseStatusLine I've tried searching for a solution on the web and I found 3 main solutions for this error: Add to Web.config. <system.net> <settings> <httpWebRequest useUnsafeHeaderParsing="true"/> </settings> </system.net>` Add the line: webRequest.ProtocolVersion =

Using mongoose and mlab behind a proxy

天大地大妈咪最大 提交于 2020-01-24 02:45:37
问题 Can't connect to my mlab database if I'm behind a proxy. Any idea how to achieve this? I've already googled and found no answer... Here is my connection: mongoose.connect(config.db.URI); var db = mongoose.connection; db.on('error', function(){ throw new Error('unable to connect to database at ' + config.db.URI); }); 来源: https://stackoverflow.com/questions/38197407/using-mongoose-and-mlab-behind-a-proxy

How can I write a simple HTTP proxy in Perl?

女生的网名这么多〃 提交于 2020-01-23 17:29:27
问题 I don't want to use the HTTP::Proxy package because I want to dump out a couple requests. My one liner looks like this, but breaks on trying to pass the header in: perl -MData::Dumper -MHTTP::Daemon -MHTTP::Status -MLWP::UserAgent -e 'my $ua = LWP::UserAgent->new;my $d=new HTTP::Daemon(LocalPort=>1999);print "Please contact me at: <", $d->url, ">\n";while (my $c = $d->accept) {while (my $r = $c->get_request) {if ($r->method eq 'GET' and $r->url->path eq "/uploader") {$c->send_response(

How can I write a simple HTTP proxy in Perl?

假装没事ソ 提交于 2020-01-23 17:29:07
问题 I don't want to use the HTTP::Proxy package because I want to dump out a couple requests. My one liner looks like this, but breaks on trying to pass the header in: perl -MData::Dumper -MHTTP::Daemon -MHTTP::Status -MLWP::UserAgent -e 'my $ua = LWP::UserAgent->new;my $d=new HTTP::Daemon(LocalPort=>1999);print "Please contact me at: <", $d->url, ">\n";while (my $c = $d->accept) {while (my $r = $c->get_request) {if ($r->method eq 'GET' and $r->url->path eq "/uploader") {$c->send_response(