Hi there.
This looks like a good place to get help with a problem I am having:
- We have a c# windows app, which performs an HTTPWebRequest to a IIS box on
Internet to retrieve an XML response.
- In our test + develop environment this works wonderfully. We have it
working through ISA server and also without ISA server.
- At our client site however, the application times out. This appears to be
caused by Keep Alives.
Here's what's happening when we run at our client site:
- if the IIS server (servicing the HTTP GET request) has Keep Alives
enabled, then our application takes as long as the timeout the IIS has
configured to return. Effectively timing out as our timeout for the request
is set at 30 seconds, and the IIS server has 120 seconds for the keepalives.
(If we change our app to time out after 130 seconds, things work fine).
- if the IIS server has Keep Alives disabled, the request processes as we
expect, within a second or two. Wonderful. However, the owner of the IIS
box is not prepared to leave setting off.
- If we configure our app to not use Keep-Alives, we can't connect out
through our client's proxy server (WebMarshal). We get a 407 authentication
required.
- we have tried various proxy settings and I have tested to confirm this is
configured correctly - trouble is it dunna work without keep-alives enabled
in our app.
Help?!
Without changing WebMarshal configuration, and without changing the remote
IIS server configuration, what can we do to make the request work?
Thanks, Mike. 0 1689 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: jj |
last post by:
I've got one database server that works fine when transferring large amounts
of data, but a new one that has been setup seems to want to timeout or drop
the connection after a period of time. I've tried to compare the variables
and they seem to be the same. The versions of MySQL are slightly different
with the good one being 3.23.41 and the one timing out being 3.23.58
Any ideas on what I can check for that would be different or help...
|
by: Terry |
last post by:
Hello,
I am trying to get a response for an .aspx page in my current project (same
virtual directory) by using WebRequest.GetResponse but I keep getting a
exception with "500 Internal server error" in the exception message.
I am able to do this fine with another .aspx page that has no code-behind.
The page that has code-behind throws the exception.
What I am doing is getting the .aspx response, reading the stream, replacing
|
by: Owen |
last post by:
Hello everyone,
I am using VS.NET 2003(Trandition Chinese) Edition, and httpLook
software for checking http requests. I found a problem that the
following programs don't really "POST". These programs can be
successfully compiled. There is no error message shown at running
also. But the httpLook confirms that the program doesn't post.
--
Here is the HTTP request acquired by the software:
---
|
by: WIWA |
last post by:
Hi,
I want to login to a password protected website and fetch the content of the
page behind. I have based my code on
http://weblogs.asp.net/jdennany/archive/2005/04/23/403971.aspx. When I use
tools like ieHTTPHeaders v1.6, and I perform a normal login (using the
normal website), I see that the viewstate is
__VIEWSTATE=dDwxMzU4OTE3NTA2Ozs%2BTK88jS63JXN181X3N8zKivua8co%3D&txt_username=xxx&txt_password=xxxxxx&btn_login=Login.
When I...
|
by: Patrick Fogarty |
last post by:
I am programming what is to be a web service client that will use an
HTTP-POST to request and retrieve data. The remote server (written in java
for what it's worth) requires basic authentication as per RFC 2617
(http://www.faqs.org/rfcs/rfc2617.html). My attempts to authenticate are
failing. The server requires the header to be present with the request.
For security reasons, it will not reply in any way if the header is not
present.
...
| |
by: Jack |
last post by:
I have a WebRequest object that I use to log into a site and then post some
XML. In doing this I set the KeepAlive = true so that it maintains the
connection and does operates undo the initial login.
Is there a way to force this connection to close after I an done with it.
What happens is that I may need to post the XML in several chunks due to
size therefore I cannot set the KeepAlive to False when I post the XML and
the way the code...
|
by: Gina_Marano |
last post by:
Hey All,
I need to download 1 or more files from a secure or unsecure website
folder using HTTP.
Here is what I have so far:
public void GetHTTPImages()
{
WebClient HTTPClient = new WebClient();
|
by: archana |
last post by:
Hi all,
Can anyone tell me how to hide my Pc's IP address while sending
webrequest.
Is there only one way of using proxy to do this? If yes what if proxy
server's IP address is blocked by particular web site.
If there any alterntive for hiding ip address please tell me.
|
by: buccsailor |
last post by:
Hell there,
I tried to post a reply to a message thread created back in July 2006
regarding the override of WebRequest, Closed Conenctions and setting
KeepAlive to false,but it's been over 60 days so I am creating a new
topci in the hopes of an answer to a related issue.
GhostAK suggested some vb.net code that should work to allow the
setting of the Keep Alive property. yes, I am having connection close
errors. The code suggested...
|
by: Morgan Cheng |
last post by:
Days ago, I post a question on how to make SoapHttpClientProtocol
instance make new TCP connection for each web service request. Now, I
found how.
SoapHttpClientProtocol has a protected method GetWebRequest(System.Uri
uri) which returns a WebRequest instance. Though MSDN doesn't make
clear statement. I experiment and prove that SoapHttpClientProtocol
use this method to create HttpWebRequest for HTTP request. So, I
override this...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
| |
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
| |
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |