HTTPS does not works via WebCache

When I try to get request using this code (C#)
class MyTrustPolicy : ICertificatePolicy {
   public bool CheckValidationResult(ServicePoint srvPoint,
                                                 X509Certificate certificate,
                                                 WebRequest request, int certificateProblem) {
        return true;
class Program {
    static void Main(string[] args){
        ServicePointManager.CertificatePolicy = new MyTrustPolicy();
        HttpWebRequest request = (HttpWebRequest)WebRequest.Create("https://my.test.server");
        HttpWebResponse response = (HttpWebResponse)request.GetResponse();
        Stream stream = response.GetResponseStream(); // here it craches.
        int len = 4096;
        byte[] buffer = new byte[len];
        int count = 0;
        do {
            count = stream.Read(buffer, 0, len);
            if (count != 0) {
            Console.WriteLine(Encoding.UTF8.GetString(buffer, 0, count));
        } while (count > 0);
        Console.ReadKey();
    }And I get
Unhandled Exception: System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a send. ---> System.IO.IOException: Received an unexpected EOF or 0 bytes from the transport stream.
When I connect to "https://my.test.server:4444" (directly, not using web cache), - all works ok. Browsers also works fine. How to fetch page?
Thanks.

I've found an answer, the matter was not supporting by .NET cryptoalgorithm, which WebCache uses by default. Metalink 376793.1
Thanks.

Similar Messages

  • I chat does not work via netgear router

    hi there, i have installed a netgear w-lan router in my office, now my i chat account does not work any longer, as well as my colleagues have the same problem. bonjour list is ok but we cannot connect to AIM account. i am using the router via airport or ethernt, makes no difference. any ideas?

    I don't recognise that as Netgear ID.
    Having said that I searched and found it
    http://www.netgear.com/Products/RoutersandGateways/RangeMaxNEXTWirelessRoutersan dGateways/WNDR3300.aspx
    Have you turned Off the DOS or SPi item in the WAN Page and Also Allowed Responses to Pings on the WAN Port ?
    8:14 PM Tuesday; July 1, 2008

  • CFINVOKE HTTPS does not work

    I am trying to acess a secure webservice on a remote server.
    I have imported the certificate into the cacerts keystore and
    verified it was there using -list. However, when I run the
    invocation (with a https: url), via ethereal I see that it is using
    port 80 to try to hit the server, timing out as the server doesn't
    respond to non-ssl traffic.
    Any ideas as to why it is ignoring the certificate and https:
    url in cfinvoke? This has happened on my local standalone dev 7.0.1
    machine, and a development machine running multiserver 7.0.1

    Hi Ellen,
    i had the similar problem...here is my understanding...
    the value of HTTPS_URL_PATTERNS parameter in web.xml will be checked while creating
    the URLs ONLY if you specify "httpsInd=CALCULATE" attribute in createWebflowURL,form,validateForm,createportalPageChangeURL....
    tags.
    but some of the tags in 'jsp' and 'inc' files in the sample stock portal application
    does not specify this attribute so find all the instances of these tags and specify
    the attribute...
    by the way...i used "/" for HTTPS_URL_PATTERNS...even "application/" should be
    okay i guess...
    hope this helps...
    Vijay
    "ellen" <[email protected]> wrote:
    >
    I followed the stockportal example and try to use HTTPS once a used is
    logged in.
    Here is part of my web.xml. I still got http instead of https. Anything
    I missed?
    Also, I tried using /application/* in HTTPS_URL_PATTERNS, it didn't work
    either.
    Thank you for helping!
    Ellen
    <context-param>
              <param-name>P13N_DEFAULT_NAMESPACE</param-name>
              <param-value>admin_login</param-value>
         </context-param>
         <context-param>
              <param-name>P13N_APPLICATION_URL</param-name>
              <param-value>/application</param-value>
         </context-param>
         <context-param>
              <param-name>HTTPS_URL_PATTERNS</param-name>
              <param-value>
    /admin_login//Home.jsp,
    /admin_login//PatientDemo.jsp, /admin_login//errorLogin.jsp,
    /admin_login/LoginFormProcessorIP.inputprocessor,
         /admin_login/AdminLoginPC.pipeline
    </param-value>
         </context-param>
         <context-param>
              <param-name>HTTP_PORT</param-name>
              <param-value>7001</param-value>
         </context-param>
         <context-param>
              <param-name>HTTPS_PORT</param-name>
              <param-value>7002</param-value>
         </context-param>

  • VOIP does not work via E4200 router

    I have a new Polycom Soundpoint IP550 VOIP phone that was not connecting via my old WRT54GS router.  I purchased a new router, the E4200, thinking it was just the age of my original router.  It also will not allow the VOIP traffic through.  I can connect the VOIP phone directly to my CenturyLink modem and it works.  But when I connect it back to the router it stops.  
    I contacted Cisco support and they had me upgrade the firmware to 1.0.02 build 13  May 24, 2011 version.  Also adjusted down the MTU to 1364. That still did not work so they told me to take the router back to the store.  I have not done that yet as I want to ensure that the router is really broken and not that I am missing a setting.  The tech said that I should be able to plug the VOIP phone into the router and make NO additional changes.
    Anyone have any ideas of what I am doing wrong?  Thanks.

    192.168.1.1--->Administration---> and change SIP ALG to enabled. 
    I don't work for Cisco. I'm just here to help.

  • Once awake from sleep, time machine does not work via WIFI

    I use my MacBookPro via WIFI and every time a put my MacBookPro asleep (with MAC OS 10.8.3), once I wake the machine back on, Time machine is not able to connect anymore to the backup NAS on the network.
    I always have to turn OFF and ON again wifi to make it work.
    What's wrong?
    How can I solve this undesirable matter?
    Thank you

    Thanks,
    But i do not have a WIFI problem in general on my Mac, it's just Time Machine that does not reconnect with the backub network drive unit.....
    All the rest is working fine.
    This is what I get:

  • After 10.5.4 update, mac osx system proxy client (HTTPS) does not work!!!

    after 10.5.4 update (some minutes ago) i can't go on https web pages with browser safari and the other applications that uses the system proxy client (for example google notifier). i'm connecting to internet trough my macbook pro cable lan adapter into a LAN with a proxy server (before the update the mac osx system proxy client does work right).
    Help me!!!

    Hello Robert:
    I am sorry to be simplistic, but Apple cannot possibly be responsible for Safari (or any other software product) working in every possible environment. In my business life I used several methods to seamlessly link with my corporate servers from home or on the road. In each case, it was possible, but not without the help of my excellent IT people.
    Barry

  • Web dynpro abap application on Portal does not work via internet access.

    Dear All,
    I have created a web dynpro abap application and deployed the same on Portal.
    The issue I am facing is that the webdynpro application works fine when the end user logs into Portal from Local Network,
    However when the Portal is accessed from outside the local N/W via Internet, Portal is working fine for other applications like ESS
    but the web dynpro application dont work.
    Is this some configuration issue on the portal / abap development or any workaround is possible.
    Regards
    Abhinav Dagar

    Hi
    Please try to use the [HTTP Watch 5.0 Basic |http://www.httpwatch.com/download/] tool to trace that WD Application link from the portal and you can easily find out the problem.
    Regards
    Prakash T

  • External isight does not work via firewire adaptor

    my external iSight camera won't work for any application in mountain lion via the firewire 800 400 adaptor ...
    any ideas?
    many thanks

    elvie wrote: ... any ideas?...
    Apple's http://support.apple.com/kb/HT2090
    Message was edited by: EZ Jim
    Mac OSX 10.8.2

  • SSH to PIX works but HTTP does not work

    Hi
    I can SSH to pix but not HTTP to pix although http is enabled.I am using ACS/RSA for user authentication.I see SSH is allowed in ACS but I do not know How to configure ACS so that I can HTTP to pIX ?I am trying to connect to pIX with Cisco Network Assistant ,it will connect but asks for username and password and when I put in username and password it comes back asking the same

    The WebUI can not use RSA for authentication. As a test try setting it to local.

  • URL Widget with http does not work in cloud portal

    Hi,
    in the cloud portal trial vesion I have integrated an URL widget. It has an address like http://www.sap.com.
    It is not displayed.
    The Chrome debugger tells me was loaded over HTTPS, but ran insecure content from "www.sap.com" this content should also be loaded over HTTPS.
    What can I do ?

    Hi,
    Firstly,recommended is that to use HTTPS-enabled sites whenever possible, to protect users from security risks and HTTP (non secure) sites may be blocked by browsers.
    Also when you use "https://www.sap.com" actually it is taking the URL as
    "http://www.sap.com/index.com",which as an insecured URL.That i why you see the blank widget.
    More over due to security reasons,https://www.sap.com ,http://www.yahoo.com and https://www.google.com ...etc  are not allowed in URL widget.
    If you want see the content in URL widget,just copy & paste any of the cloud portal URL and check.
    BR,Gowrisankar

  • Having start up problems, keyboard light and loudness adjustment via keyboard does not work

    Often if I start my MacBookPro 13" with Lion it starts up and is than blocked. I can not open the finder nor starting any programm. The turning wheel never stops and I have to restart the book by pressing the on/off button for a long time. Sometimes I need to do that several times till it runs stable.
    During this week I experienced in addition that the keyboard light is not working anymore and also the loudspeaker adjustment does not work via keybaord. Only via menu bar.
    Any idea what's going on with my book?

    Read these two links from the Apple support files:
    http://support.apple.com/kb/HT3964
    http://support.apple.com/kb/HT1379
    Good luck.
    Ciao.

  • CoreID Access: Passing obmygroups to HTTP-Headervariable does not work

    Hello,
    we want to pass the group membership of a user via headervariable to a web application. This works on a testing environment when configuring a action (headervar - HTTP_GRP - obmygroups) and the variables in the dads.conf (PlsqlCGIEnvironmentList HTTP_GRP).
    Now I configured the same on an other environment and there all variables gets filled to (like sn, cn, givenname...) but not the HTTP-GRP Variable. I have no idea why this does not work on the second environment. I tried to pass obuniqueid, and this works.
    How can I debug this problem? Does anybode has an idea what goes wrong?
    Regards
    hfr

    Hello,
    we want to pass the group membership of a user via headervariable to a web application. This works on a testing environment when configuring a action (headervar - HTTP_GRP - obmygroups) and the variables in the dads.conf (PlsqlCGIEnvironmentList HTTP_GRP).
    Now I configured the same on an other environment and there all variables gets filled to (like sn, cn, givenname...) but not the HTTP-GRP Variable. I have no idea why this does not work on the second environment. I tried to pass obuniqueid, and this works.
    How can I debug this problem? Does anybode has an idea what goes wrong?
    Regards
    hfr

  • I get this error when I go to imovie, I have instalerat on via appstore, but it does not work. The QuickTime components necessary to view, edit, import and export various types of films are not installed. The components included in the iMovie installer. R

    I get this error when I go to imovie, I have instalerat on via appstore, but it does not work.
    The QuickTime components necessary to view, edit, import and export varioustypes of films are not installed. The components included in the iMovie installer.Reinstalling iMovie.

    I get this error when I go to imovie, I have instalerat on via appstore, but it does not work.
    The QuickTime components necessary to view, edit, import and export varioustypes of films are not installed. The components included in the iMovie installer.Reinstalling iMovie.

  • Ipad airplay (mirroring) via apple tv on samsung tv does not work at all

    I try to mirror my ipad (version 3) with the latest IOS via apple tv (version 2, latest IOS) on to a samsung tv. It doens't work. Although i'm able to select airplay on my ipad it won't show on the samsung tv. Apple TV is working, i can watch movies etc. I tried all the things i found on google, like renaming the HDMI Input to PC etc.
    Any suggestions?

    doesn't solve my problem. As i mentioned, i have IPAD Vers. 2 with the latest IOS, Apple TV 2 with the latest IOS. Apple TV is working just fine on the samsung TV, IPAD shows Airplay sign, which i can select, but there is neither sound nor video ( it doesn't matter if i start playback before i select Airplay or not...does not work) Note: i have as well a beamer at home, when i connect apple tv with the amplifier, everything works just fine, Airplay with IPAD, IPHONE, MacBook....Just not with the freaking Samsung TV...

  • My iphone 6 connects to the car via bluetooth, the music works good, but the phone calles does not work.  It looks like it is working but doesn't.  I have tried in my Hyundai and a Dodge rent car and get the same results.  I updated the last 8.0.2.

    My iphone 6 connects to the car via bluetooth, the music works good, but the phone calls does not work.  It looks like it is working but doesn't.  I have tried in my Hyundai Sonata and a Dodge Dart rent car and get the same results.  I updated the last 8.0.2.  It worked the first day i had the phone, and then i updated to Ios 8.0.2 and it quit working.
    Now when i get in the car, it acts like it is connected and makes the same call it was on after syncing to bluetooth, but it really isn't on a call.  This is happening on both cars.
    Does anyone know if this is the phone and i need to take it to Apple or if there is an issue that Apple is working on getting a fix for?
    My son in law has the exact same phone as me, we both got the on 10/6, he had a Dodge Dart and his is working via bluetooth.
    Someone HELP please, as i consider this a safety issue by not having my calls go to bluetooth.

    We had the same problem, but figure out the solution.
    You MUST have at least 1 song added to your ITUNE!  After you add a free song, then everything else should work as normal!
    Hope this helps!

Maybe you are looking for