Squid doesn't accept https requests

I have a server running Arch i686 and installed squid as a web proxy server. I can connect to it through, say Firefox, and it serves all the pages except SSL'ed ones.
It simply throws a generic Firefox error. What do I need to enable in my squid.conf so that squid will forward the https requests to their intended destinations?

Oh, I see... Avoiding man-in-the-middle attacks is nice and everything, but I still need a way of sending https requests through a proxy. Here's why:
At work, they are using this "websense" content filtering thing and it blocks everything! Not just nsfw stuff, but even some news pages etc. For example, I couldn't access the link you've just posted, because it is blocked under the category "proxy avoidance". See my problem?
Any ideas on what I can do?

Similar Messages

  • How can I tell if my local webserver is configured to accept https requests?

    I have phpMyAdmin on my localhost server.
    How can I tell if the localhost server is configured to accept https requests? Or is that unnecessary on a localhost server?
    Below is the info from the phpMyAdmin home page:
    Server: 127.0.0.1 via TCP/IP
    Server version: 5.0.81
    Protocol version: 10
    Apache/2.2.20 (Unix) mod_ssl/2.2.20 OpenSSL/0.9.8r DAV/2 PHP/5.3.6
    MySQL client version: mysqlnd 5.0.8-dev - 20102224 - $Revision: 308673 $
    PHP extension: mysqli
    phpMyAdmin
    Version information: 3.3.1
    Many thanks for information and advice concerning this.
    Best,
    Sheley

    Well, for one, by definition, localhost can only ever be accessed from the machine itself. It doesn't get any more secure than that.
    However, just because you're hitting the site on localhost that doesn't mean that Apache isn't also listening for connections on other IP addresses. In fact, by default, Apache will listen on all IP addresses configured on the machine.
    Therefore you might want to look a little deeper.
    You can see from the phpMyAdmin output that Apache is configured to support HTTPS, but that only tells you whether apache knows how to speak HTTPS, not whether the current connection/request is using HTTPS.
    The shortest, simplest answer to your question is to try. If you can hit https://localhost/ then, yes, Apache is listening and responding to HTTPS requests. If it doesn't respond then it isn't.
    Or dig through the configuration files, but I'm guessing if you knew how to do that, you wouldn't be asking the question.

  • SPA901 doesn't accept HTTP anymore, only ping

    Hi everybody,
    we bought 2 SPA901 phones about 10 months ago.
    Now, one of them doesn't connect to the VOIP service provider anymore. The red light is flashing constantly.
    Also, I'm unable to access the configuration menu with a browser.
    The phone answers ping messages, but all attempts to connect via a browser (Opera, lynx) get a TCP FIN-RST packet response, so the browser says "Unable to connect to remote host."
    The phone also doesn't react to key "****" presses anymore.
    So. the phone is basically working, doing Ethernet and ping, but the higher application including key presses and Web server seem to hang. Powering off even for hours doesn't help.
    Is there any cure like an internal reset or is it possible to get a new firmware somehow via downlaod or with a new chip?

    We have set up an IP PBX system using an SPA9000 as server and 5 Linksys IP Phones (2 SPA941 and 3 SPA901). Actually we are having problems with 2 SPA 901.
    On the SPA9000, the pbx status shows that all 5 phones are correctly registered. However from time to time, the red light (NOT the status LED) on the SPA901 flashes and we are unable to process calls.
    Sometimes this problem is solved without any intervention from our side. At times we have to reconnect the ethernet cable to the phone for it to stop flashing. And very often the red light does not stop flashing making it impossible to make or receive calls.
    We have checked the datapoints to which the SPA901 phones are connected and there are no problems with them whatsoever.
    Is it possible that the SPA901 have some kind of bug?
    Please advise.

  • Managed Server not accepting HTTP requests

    We restarted our managed server (it had Oracle Identity Analytics deployed) and received an error after the application came up (pasted below). The application seems to be running but when I attempt to access it I'm getting a Page Not Found error. I deleted the OIA deployment altogether and just started the Managed Server and, though it is Running, I'm seeing the same error and still getting Page Not Found.
    I also restarted the AdminServer and now I'm seeing the same symptoms there. At this point the environment is completely inaccessible. Any ideas on what may be wrong or what the solution may be?
    Weblogic 10.3.3 on Solaris 10
    JDK 1.6.0.21
    ####<Jun 11, 2013 11:30:59 AM CDT> <Error> <Socket> <REDACTED> <OIA-Instance01> <ExecuteThread: '2' for queue: 'weblogic.socket.Muxer'> <<WLS Kernel>> <> <> <1370968259909> <BEA-000405> <Uncaught Throwable in processSockets
    java.lang.ClassFormatError: LineNumberTable attribute has wrong length in class file weblogic/servlet/internal/ChunkOutput.
    java.lang.ClassFormatError: LineNumberTable attribute has wrong length in class file weblogic/servlet/internal/ChunkOutput
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:616)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
    at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
    at weblogic.servlet.internal.ServletOutputStreamImpl.<init>(ServletOutputStreamImpl.java:92)
    at weblogic.servlet.internal.ServletResponseImpl.<init>(ServletResponseImpl.java:155)
    at weblogic.servlet.internal.MuxableSocketHTTP.<init>(MuxableSocketHTTP.java:111)
    at weblogic.servlet.internal.ProtocolHandlerHTTP.createSocket(ProtocolHandlerHTTP.java:65)
    at weblogic.socket.MuxableSocketDiscriminator.dispatch(MuxableSocketDiscriminator.java:131)
    at weblogic.socket.SocketMuxer.readReadySocketOnce(SocketMuxer.java:901)
    at weblogic.socket.SocketMuxer.readReadySocket(SocketMuxer.java:840)
    at weblogic.socket.DevPollSocketMuxer.processSockets(DevPollSocketMuxer.java:126)
    at weblogic.socket.SocketReaderRequest.run(SocketReaderRequest.java:29)
    at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:42)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:145)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:117)

    We restarted our managed server (it had Oracle Identity Analytics deployed) and received an error after the application came up (pasted below). The application seems to be running but when I attempt to access it I'm getting a Page Not Found error. I deleted the OIA deployment altogether and just started the Managed Server and, though it is Running, I'm seeing the same error and still getting Page Not Found.
    I also restarted the AdminServer and now I'm seeing the same symptoms there. At this point the environment is completely inaccessible. Any ideas on what may be wrong or what the solution may be?
    Weblogic 10.3.3 on Solaris 10
    JDK 1.6.0.21
    ####<Jun 11, 2013 11:30:59 AM CDT> <Error> <Socket> <REDACTED> <OIA-Instance01> <ExecuteThread: '2' for queue: 'weblogic.socket.Muxer'> <<WLS Kernel>> <> <> <1370968259909> <BEA-000405> <Uncaught Throwable in processSockets
    java.lang.ClassFormatError: LineNumberTable attribute has wrong length in class file weblogic/servlet/internal/ChunkOutput.
    java.lang.ClassFormatError: LineNumberTable attribute has wrong length in class file weblogic/servlet/internal/ChunkOutput
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:616)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
    at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
    at weblogic.servlet.internal.ServletOutputStreamImpl.<init>(ServletOutputStreamImpl.java:92)
    at weblogic.servlet.internal.ServletResponseImpl.<init>(ServletResponseImpl.java:155)
    at weblogic.servlet.internal.MuxableSocketHTTP.<init>(MuxableSocketHTTP.java:111)
    at weblogic.servlet.internal.ProtocolHandlerHTTP.createSocket(ProtocolHandlerHTTP.java:65)
    at weblogic.socket.MuxableSocketDiscriminator.dispatch(MuxableSocketDiscriminator.java:131)
    at weblogic.socket.SocketMuxer.readReadySocketOnce(SocketMuxer.java:901)
    at weblogic.socket.SocketMuxer.readReadySocket(SocketMuxer.java:840)
    at weblogic.socket.DevPollSocketMuxer.processSockets(DevPollSocketMuxer.java:126)
    at weblogic.socket.SocketReaderRequest.run(SocketReaderRequest.java:29)
    at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:42)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:145)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:117)

  • Setup WLS5.1 to accept only HTTPS requests (and not HTTP requests)...

    Greetings,
    Does anyone know how to configure Weblogic Server 5.1 so that the web server will
    only accept HTTPS requests (on port 7002) and not accept HTTP requests (on port
    7001)? I tried commenting out the HTTP ListenPort line in weblogic.properties,
    but WL still served up a page via HTTP. Thanks for any help,
    Steve

    Write a startup class which implements weblogic.security.net.ConnectionFilter
    interface
    Refer our javadocs at
    http://www.weblogic.com/docs51/classdocs/javadocs/index.html
    Also
    http://www.weblogic.com/docs51/classdocs/API_acl.html#filtering
    Kumar
    Steve wrote:
    Greetings,
    Does anyone know how to configure Weblogic Server 5.1 so that the web server will
    only accept HTTPS requests (on port 7002) and not accept HTTP requests (on port
    7001)? I tried commenting out the HTTP ListenPort line in weblogic.properties,
    but WL still served up a page via HTTP. Thanks for any help,
    Steve

  • Creating listener for incoming http requests

    Hi,
    I am trying to create a server for incoming http requests.
    I am using Connector.open("socket://:5555") call to bind to the server socket.
    I have give permission for Connector.socket, as well as Connector.http to this application.
    The server is able to accept connections when the client connects using socket://localhost:5555, but does not accept any incoming connection when the client connects using http://localhost:5555.
    How can I create a service on my mobile which will accept http requests.
    Thanks,
    Debashis

    Allistair,
    One thing that might help you is an understanding of the Oracle database JVM architecture. Here's a DOC which you might find interesting:
    http://otn.oracle.com/products/oracle8i/pdf/Oow_BestPractices.pdf
    Hope this helps,
    -Dan
    http://www.compuware.com/products/devpartner/db/oracle_debug.htm
    Debug PL/SQL and Java in the Oracle Database

  • Sun App Server 9 not accepting HTTP/0.9 requests

    I'm trying to set up the application server to accept HTTP/0.9 requests. I've tried changing the HTTP Protocol version from HTTP/1.1 to HTTP/0.9 but it doesn't seem to do anything.
    I'm running Sun Java System Application Server Platform Edition 9.0_01
    Here is the error that I'm receiving:
    HTTP/1.1 505 HTTP Version Not Supported
    Content-Type: text/html; charset=iso-8859-1
    Date: Tue, 19 Jun 2007 13:07:34 GMT
    Server: Sun Java System Application Server Platform Edition 9.0_01
    Can anyone shed some light on this? Thanks.
    Message was edited by:
    Swendal
    Message was edited by:
    Swendal

    I have the same problem. Suddenly some browsers (IE 5, 6) display the following message at bottom of some html pages; (not all pages)
    HTTP/1.1 505 HTTP Version Not Supported
    Content-Type: text/plain; charset=iso-8859-1
    Date: Fri, 10 Aug 2007 08:31:03 GMT
    Server: Sun Java System Application Server Platform Edition 9.0_01
    Connection: closeOnly html pages has this problem jsp pages works fine without any problem.
    I am using default setting of SJSAS.
    I could not find a solution. Any ideas?
    Thanks,
    Deniz

  • "http request error" - SQL call sometimes works, sometimes doesn't

    Hello everyone,
    A bit of a random question, maybe someone has an idea...
    I have a flex app that queries data from a mySQL service via http service. Overall, things work great! The queries are quick to return a result and without issues. But, when I view the website from my work PC, I get this error "HTTP Request Error", and none of the SQL calls work. Any ideas? I know my work has very tight security regulations, but I would still think it would be able to work.
    I can't get a better security message because I can't set up and run flex to debug the issue, all I get is "HTTP Request Error", so who knows what it could be. I have tested my website from about 15 computers/different networks, and they all work, except my work PC. Any ideas?
    And yes, the flash version is current.
    Thanks!

    it sounds like the work security is blocking it
    can you write a simple html page that fetches the data and displays it?It might give you a better idea what is happening behind flex

  • Invalid request for HTTP request from Java

    I've written the following code to retrieve data from HTTP url:
    byte [] buffer = new byte[1024];
                   URLConnection conn = src.openConnection();
                   //conn.setRequestProperty("Range", "bytes=" + (start + completed) + "-" + end);
                   //System.out.println("bytes=" + (start + completed) + "-" + end);
                   System.out.println("Response: " + ((HttpURLConnection)conn).getResponseCode());
                   BufferedInputStream bin = new BufferedInputStream(conn.getInputStream());
                   byte [] data = new byte[1024];
                   int readLen;
                   manager.addConnected();
                   while((readLen = bin.read(data)) != -1 && canContinue) {
                        dest.seek(start+completed);
                        dest.write(data, 0, readLen);
                        completed += readLen;
                        System.out.println(readLen + "\t" + completed);
                   dest.close();
                   System.out.println("Read: " + readLen);
              } catch(IOException e) {
                   manager.failConnection();
              }However, the response code printed is -1 and the following content is written to the file (dest is a random access file, you can ignore the seek(), it is needed when I start multi-threading).
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <HTML><HEAD><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
    <TITLE>ERROR: The requested URL could not be retrieved</TITLE>
    <STYLE type="text/css"><!--BODY{background-color:#ffffff;font-family:verdana,sans-serif}PRE{font-family:sans-serif}--></STYLE>
    </HEAD><BODY>
    <H1>ERROR</H1>
    <H2>The requested URL could not be retrieved</H2>
    <HR noshade size="1px">
    <P>
    While trying to process the request:
    <PRE>
    GET /ubuntu/pool/main/f/firefox/firefox_2.0.0.2+0dfsg-0ubuntu0.6.10_i386.deb HTTP/1.1
    User-Agent: Java/1.6.0
    Host: security.ubuntu.com
    Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
    Connection: keep-alive
    </PRE>
    <P>
    The following error was encountered:
    <UL>
    <LI>
    <STRONG>
    Invalid Request
    </STRONG>
    </UL>
    <P>
    Some aspect of the HTTP Request is invalid.  Possible problems:
    <UL>
    <LI>Missing or unknown request method
    <LI>Missing URL
    <LI>Missing HTTP Identifier (HTTP/1.0)
    <LI>Request is too large
    <LI>Content-Length missing for POST or PUT requests
    <LI>Illegal character in hostname; underscores are not allowed
    </UL>
    <P>Your cache administrator is <A HREF="mailto:root">root</A>.
    <BR clear="all">
    <HR noshade size="1px">
    <ADDRESS>
    Generated Fri, 16 Mar 2007 11:14:48 GMT by inet (squid/2.6.STABLE3)
    </ADDRESS>
    </BODY></HTML>Where does the problem lie? It failed for other URLs too. Can I establish more than one connection by invoking openURLConnection() on the same URL object?

    Ive run into this issue also. I need a way for a portlet to change to its maximized state for the purposes of user registration. Is there anyway this can be done? I know that sun jsp "Providers" which are shown on their example desktop, have some sort of maximized state that they can go into, but im not sure how to use this in a portlet.
    There seems to be very inconsistent support between the proprietary sun provider api, and the portlet api.

  • Server keeps refusing HTTP request while uploading file

    Hello, I have written an applet that uses sockets to communicate with HTTP server. I use following string to send a HTTP request to a server:
    req = "POST /!pages/upload.php HTTP/1.1\r\n";
        req += "Host: www.austyn.sk\r\nUser-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; sk; rv:1.8.1.6) Gecko/20070725 Firefox/2.0.0.6\r\n";
        req += "Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5\r\n";
        req += "Accept-Language: sk,cs;q=0.8,en-us;q=0.5,en;q=0.3\r\n";
        req += "Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7\r\n";
        req += "Keep-Alive: 300\r\n";
        req += "Connection: keep-alive\r\n";
        req += "Referer: http://www.upnito.sk/\r\n";
        req += "Content-Length: 500\r\n";
        req += "Content-Type: multipart/form-data;boundary=007\r\n";
        req += "--007\r\n";
        req += "Content-Disposition: form-data; name=\"subor\"; filename=\"msvcp80.txt\"\r\n";
        req += "Content-Type: text/plain\r\n\n";
        req += "abcdef\r\n";
        req += "--007--\r\n\r\n";I get response like this:
    HTTP/1.1 400 Bad Request
    Date: Sat, 15 Sep 2007 14:24:42 GMT
    Server: Apache/2.0.55 (Ubuntu) PHP/5.1.2 mod_ssl/2.0.55 OpenSSL/0.9.8a
    Content-Length: 297
    Connection: close
    Content-Type: text/html; charset=iso-8859-1
    <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
    <html><head>
    <title>400 Bad Request</title>
    </head><body>
    <h1>Bad Request</h1>
    <p>Your browser sent a request that this server could not understand.<br />
    Request header field is missing ':' separator.<br />
    <pre>
    --007</pre>
    </p>
    </body></html>I think that my request should be alright. I used the Live HTTP headers extension on Firefox and even a packet sniffer to get the entire communication between server and client during HTTP upload and I wrote the request string according to that. It seems, that the server doesn't like the first boundary --007, which marks the beginning of the form element..
    So what's wrong with that request string?
    Edited by: whitewash on Sep 15, 2007 7:28 AM

    on some other links people are saying to add this line for solving this problem :
    "java -DHTTPClient.log.file=httpclient.log -DHTTPClient.forceHTTP_1.0=true -DHTTPClient.disableKeepAlives=true -DHTTPClient.dontTimeoutRespBody=true"
    does nyone know what to do with this line....where to add this??....
    FYI i am using weblogic server

  • How to construct a faces request from a http request?

    I wonder how FacesServlet.service determines whether it should be calling LifecycleImpl.execute in oppose to calling LifecycleImpl.render?
    Basically, I'm trying to construct a http request that would go through the decode method of my UIComponent. However, it seems that my request has always been treated as a non-faces request, where it goes to the render face directly.
    Does anyone know how do I need to construct my http request so that it'll be recgonized as a faces request?
    Anyone knows where i can download the source code for FacesServlet?
    thanks!

    Sorry, are you saying that FacesServlet ALWAYS call execute before render even if it's the first request?
    What I experienced is that for the first request, execute isn't called, and it goes directly to render.
    And if I use the html form submit on the 2nd request, it does go to execute, then render.
    However, if i construct another http request, it'll act like a first request, where it doesn't go through the execute, but striaght to render.
    This is what I set in web.xml:
    <servlet>
    <servlet-name>Faces Servlet</servlet-name>
    <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
    <load-on-startup> 1 </load-on-startup>
    </servlet>
    <!-- Faces Servlet Mapping -->
    <servlet-mapping>
    <servlet-name>Faces Servlet</servlet-name>
    <url-pattern>/faces/*</url-pattern>
    </servlet-mapping>
    I call my jsp using http://server:8080/faces/my.jsp, and I'm using tomcat 5. Any help would be appreciated.

  • HT3702 Hi there, can somebody help me in showing me how to reset my credit card information on iTunes Store as I have the credit card and it seems like the system doesn't accept my new card.

    Good day, can someone show how to update a new credit card on iTunes Store as I have changed my credit card. It seems like the system doesn't accept the new infos but when investigated with apple store staff members, they said I had a previous purchase to complete for the payment in order to update my new infos. Does Apple have authorization credit card form? So that I can authorize them to finalize the previous purchase payment with a new card.

    iTunes Store Support
    http://www.apple.com/emea/support/itunes/contact.html
    You may want to try gift cards as an alternative.

  • A new socket for every http-request?

    Do I have to make a new socket for every http-request? The code below doesn't work because it is two requests in a row. The first GET works, but the second doesn't. I thought that the purpose of a socket is that you set it up once and then you should be able to do arbitrary communication between the two peers. Maybe that is just the case with sockets only but not if you use sockets to perform http.
    Thank you for your answers! Nice greetings from Austria (not Australia)!
    Stefan :)
    package httptest;
    import javax.net.ssl.*;
    import java.io.*;
    import java.net.*;
    public class Conn2 {
        private PrintWriter out;
        private BufferedReader in;
        private Socket socket;
        public Conn2()
            try {
             socket = new Socket("www.google.at", 80);
             out = new PrintWriter(new BufferedWriter(new OutputStreamWriter(socket.getOutputStream())));         
             if (out.checkError())
              System.out.println("SSLSocketClient:  java.io.PrintWriter error");
             in = new BufferedReader(new InputStreamReader(socket.getInputStream()));
                System.out.println("Connect erfolgreich.");
         } catch (Exception e) {
             System.err.println(e);
        public void test()
            String inputLine;
            // 1. GET
            out.println("GET / HTTP/1.0");
         out.println();
         out.flush();
         try
                while ((inputLine = in.readLine()) != null)
                    System.out.println(inputLine);
            catch(IOException e)
                System.err.println(e);
            // 2. GET
            out.println("GET / HTTP/1.0");
         out.println();
         out.flush();
            try
                while ((inputLine = in.readLine()) != null)
                    System.out.println(inputLine);
            catch(IOException e)
                System.err.println(e);
    }

    Normally in the HTTP protocol, the server will close the connection after every request. So after you do the first GET, the server sends you the result and closes the connection. You have to open a new connection for the second GET.
    You can set specific headers to keep the connection open, which makes things faster if you have to do multiple GET's quickly after another. Lookup the specification of the HTTP protocol on http://www.ietf.org/
    Maybe it's easier to use a HTTP client library like Apache's HTTPClient: http://jakarta.apache.org/commons/httpclient/ so that you don't have to implement all the difficulties of the HTTP protocol yourself.

  • Can CSS route based on cookie info in HTTP request

    Hi
    I am new to CSS and am interested as it might be able to provide a solution to a problem I have seen.
    We currently have 3 Windows Servers running an ASP-based web application with a clustered SQL Server backend. The front end uses windows load balancing to distribute the load. All 3 servers are configured the same and there is only one application.
    The problem lies with the way an the application maintains session state. I am told it uses a non-persistant cookie on the client which corresponds to a session object on the server. This is opposed to maintaining state in central location such as the database. Obviously this means the client needs to be stuck to a particular server for that session. This is currently achieved by setting the Windows NLB to single affinity which places traffic from a particular IP address to the same server. This does work but the clients source IP is changed by a downstream firewall to a NAT overload address meaning all clients appear with the same IP address (different port) and hence always end up on just one server.
    The obvious next step in my mind would be to change the way NAT is done but this is not possible. The next obvious idea would be to change the application so that it maintains state in the database so the affinity of the Windows NLB could be disabled meaning requests would be dealt with using the source IP and port and hence distributed evenly. I am told this cannot be done either :) Joy!
    So I have begain to look at other possible solutions. Apologies for my very limited knowledge on the CSS as I am trying to get my head around how it can be configured. I am thinking that it may be able to help me if I used it instead of Windows NLB. I am interested in the way you can use Layer 5 stickiness. Would it be able to examine the cookie in the HTTP request and route the traffic to the correct server?
    I am aware that this will not alleviate the failover issue. If one of the servers were to fall over then the client would have to login again, however I am under the impression that this is acceptable behaviour. The main driver here is to provide load balancing to improve application performance by using all resources opposed to just one.
    Many many thanks to anyone who can give me advise on this.

    Hi Gilles
    Thanks for the info. Sounds like we are on the right path. Unfortunately I am unable to get much information from the developers. Long story. I did logon to the system whilst doing a network trace. The following is what I found in the HTTP header:
    Hypertext Transfer Protocol
    GET /XXXXX/Includes/style.asp HTTP/1.1\r\n
    Accept: */*\r\n
    Referer:
    http://xxx.xxxxx.xxx/xxxxx/login.asp\r\n
    Accept-Language: en-gb\r\n
    Accept-Encoding: gzip, deflate\r\n
    User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.1.4322)\r\n
    Host: xxxx.xxxxx.xxxxx\r\n
    Connection: Keep-Alive\r\n
    Cookie: ASPSESSIONIDQCBCDSCR=AEHBCJEDDGMMCCBHBICLELGD\r\n
    \r\n
    Why do you configure 2 services? How would I go about this given the cookie in the HTTP request?
    Many thanks
    Gary

  • How to send a document in net.HTTP.request as a POST variable?

    I have read and reread the doc on net.HTTP.request, and it says I can pass an argument of oRequest, but I have not succeeded at passing in the current document, which is what I want to do.
    I've tried app.activeDocs[0], or encoding that to a string, but though it makes the call without error, nothing is sent.
    Should oRequest be simply a document, or a variable made up of name-value pairs? How do we send multiple parameters to a POST otherwise?
    I've succeeded fine with calling using GET, but when I tried to pass the document as a GET variable, I got nothing either.
    I'm sending to a LiveCycle REST end point so either POST or GET is fine.
    Thanks!

    POSTing the current document is straightforward *provided* your script is running outside the document context (i.e. in the console or a folder-level script). There's no access from doc-level scripts for obvious reasons.
    For example, putting this in the JS console will POST the current file to a URL:
    Net.HTTP.request({
      cVerb:'POST',
      cURL: 'http://localhost/submit.php',
      oRequest: Collab.documentToStream(this),
      oHandler: {
        response: function (msg, uri, err) {
           if (err!=undefined) app.alert(msg);
    Your problem with talking to a vanilla webservice is that you cannot send the RFC1867 delimeters (i.e. form a "multipart/form-data" request) as the ReadStream object doesn't have a concatenation method in the Acrobat JSAPI. That's also how you would usually prepend other form fields, but if you're careful with your server-side coding you can send those as GET parameters in cURL. Normally you'd be polite and pass a Context-Type header in the aHeaders array - it won't matter to the transmission process but will allow your webservice to predict what the heck it's been sent.
    Your webservice will then have to read the raw data. In PHP for example, you won't get anything in the $_FILES global but you can grab the PDF by reading everything from the input buffer, with the line:
    $pdf = file_get_contents("php://input");
    If that line was in the server script that the above JS code was aimed at, the variable $pdf will contain an exact binary copy of the currently-open document.

Maybe you are looking for

  • Re conciliation report in SAP BW

    Hi Experts,   We have a Z Report in ECC which we are using to reconcile data in BW reports,Currently we are comparing data in BW report Vs ECC Report manually. Our requirement is to  Re conciliation report in BW which compares Amount in BW with that

  • Configurate the integration engine of an R/3

    hi experts! I need to configurate the integration engine of an R/3  receiver .... ( R3 SENDER>XI-->R3 RECEIVER  )....in order to be able to see aynchronous messages (corrects an incorrects) and asynchronous messages (corrects), and honestly speaking

  • Recently Added folder lost.

    The 'Recently Added' folder has been accidentally deleted... Can I retrieve this folder? Ive tried reinstalling Itunes 7.

  • How / When Does a Device Jump from the 2.4 GHz Network to the 5.0 GHz Network

    I understand -- through another thread that I started -- that the Guest Network will be both 2.4 GHz as well as 5.0 GHz....I would like to understand how / when does a device jump from the 2.4 GHz network to the 5.0 GHz network as I understand that:

  • Config for using 1242 for site survey

    Hello, i'm helping a coworker, we have a 1242 and would like to use it for a site survey, but we are not able to activate the radio using conf t it is in light weight, are we missing something? were can i find a config example to use for this purpose