Re: webHttpRequest doesn't like my netgear router



Thus wrote dl,

I'm trying to create a program to auto-reboot my netgear router when
my wireless connection goes down. I have no control over the
webserver installed on this machine (which is apparently violating the
HTTP protocol standard). I cannot snoop packets on this HTTP
connection because it forces an SSL-encrypted connection. I have
already made the config file change useUnsafeHeaderParsing="true",
which does not change the error message. (I also tried changing other
things in the config file to make sure it was being read).

Basically, I try to connect and I get the message "The underlying
connection was closed: The server commit
ted an HTTP protocol violation." What is odd is that I can connect
and pull down the main index page fine, but when I try to access the
login page, I get the error.
If anyone has any other thoughts besides the useUnsafeHeaderParsing
option, it would be greatly appreciated.

It would be interesting to see an actual HTTP message to understand what causes the protocol violation.

Note that you can always code your own dirty litte HTTP client using Sockets or TcpClient.

Cheers,
--
Joerg Jooss
news-reply@xxxxxxxxxxxxx


.



Relevant Pages

  • RE: RPC Over HTTP
    ... Normally running the CEICW (configure e-mail and internet connection ... wizard) and allowing RPC over HTTP option on the ... Web services configuration page should configur your server to allow RPC ... Verify that the certificate is installed by going to ...
    (microsoft.public.windows.server.sbs)
  • RE: Cannot connect via http but https works?
    ... Only one computer of three on my adhoc workgroup reports this error. ... only HTTP won't work. ... regsvr32 SOFTPUB.DLL ... computer and try to establish a connection and try the link, ...
    (microsoft.public.windowsxp.network_web)
  • Re: RPC over HTTP problem for some users only
    ... This will cause the Exchange ... The default connection methodology for Outlook 2003 when RPC/HTTP is ... Fast - TCP/IP then HTTP ...
    (microsoft.public.outlook.installation)
  • RE: Yet another thread on the legality of port scanning
    ... Authorized users are told they are authorized users. ... is an acceptable connection in the absence of explicit permission? ... expected to be a public http server. ...
    (Security-Basics)
  • Re: RPCoHTTP always has 4 failures
    ... ON fast networks, connect using HTTP first, then connect using TCP/IP ... Outlook doesn't even prompt me to log in, it just says the server is ... Warning If you use Registry Editor incorrectly, ... It always shows HTTPS as the protocol in the connection ...
    (microsoft.public.exchange.admin)