472,374 Members | 1,336 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,374 software developers and data experts.

"Connection closed by remote server" error in Opera

I have a web site (www.on-the-matrix.com) that displays photos in a "slide
show" format on ASPX pages that run in an inline frame on an ASP page (or in
a separate pop-up window). The ASPX pages use a hidden form to transmit
information back to the server so it will know which is the next photo to
load. All of this works as intended in modern versions of Internet
Explorer, Netscape and Mozilla.

With Opera, however, users receive a "Connection closed by remote server"
error. This error occurs even in Opera 7.11, the most recent version.

From the folks at Opera, I received the explanation listed below (which,
frankly, is over my head).

My question to the group is: Is there some way through ASP.NET, or through
some META tag, that I can solve this problem? (I am on a shared hosting
service so I do not have direct access to server settings.)

All help most appreciated,

The reason for this problem is that the serverside script that handles the
request is submitted as a form and returns a malformed HTTP chunked encoding

What the server sent in the case I looked at was:

------------start of response
<0x23c6 bytes of data (9158 bytes>
------------end of response/connection shut down

What Opera expected was this:

------------start of response
<0x23c6 bytes of data (9158 bytes>
------------end of response/connection shut down

Please notice the line with the zero length.

For more information about chunked encoding see RFC 2616, sec. 3.6.1
http://www.w3.org/Protocols/rfc2616/....html#sec3.6.1 .

In this case Opera believes that there was a transmission error, which
caused the response to be truncated.

Under normal circumstances Opera would have resubmitted the request in order
to verify the length, or get the rest of the data. As this request is
submitted as a forms request, however, that approach is not possible. There
could be undesirable side effects when a form is submitted twice (Oh, you
didn't order those two cars? Then why are there two orders from you in our

Because Opera did not receive the end of body indication, Opera has to
assume that it didn't receive the entire document, and as it cannot verify
the length by refetching it informs the user that there was a problem and
that the result may not be what the user expected by displaying a
"Connection closed by remote server" message.

The problem can be solved by inserting a "<CRLF>0" sequence between the end
of the body and the two last <CRLF>'s .

BTW: On a normal request, if Opera is not able to determine the correct size
of the document because the size is varying erratically, Opera will say that
multiple attempts to load the document failed.

Nov 17 '05 #1
0 18332

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

by: Sam | last post by:
Guys facing a strange problem any clue would really rescue me.. i am using a ASP application with following things Server : Intel Xeon (TM) CPU 2GHz, 2GB RAM, 136GB HDD OS : Windows 2000...
by: Dave | last post by:
These code generates the error: WebRequest request = WebRequest.Create("http://www.yahoo.com"); WebResponse response = request.GetResponse(); Here is the stack trace for the error: ...
by: Peter Rilling | last post by:
I have some COM+ components that seem to be throwing some exceptions. However, IIS to just displays the "insernal server error" message. How can I get the actual error to display?
by: Lauchlan M | last post by:
I get the following error. Apart from the fact that it does not make any grammatical sense, what would be likely to be causing it? The background is that nxCmdDeleteErrorLogItem is a delete...
by: Lauchlan M | last post by:
I get the following error. Apart from the fact that it does not make any grammatical sense, what would be likely to be causing it? I have a command component 'nxCmdDeleteErrorLogItem' with the...
by: ADavidson | last post by:
I'm getting a {"Parser Error: The Runat attribute must have the value Server." } error when I try to get the Server.GetlastError() in the Global.asax codebehind. Why am I getting this? I...
by: Haxan | last post by:
Hi, Im testing a web service from my windows app in C#. I create a soap body and pass to the HttpWebRequest and then get the response as below. private void TestService() { string quotes =...
by: Tito Meinrath | last post by:
Hi, I'm really going mad about this! Currently I'm designing a student course on web services. Because I want them to understand what's really going on when web services correspond with each...
by: ticfranca | last post by:
Hi, I'm getting this error in the code below: sub Pega_recorde { $database = 'bundinha'; $host = 'localhost'; $usuario = 'myhumoradm'; $senha = 'my8xr2d2'; ...
by: Kemmylinns12 | last post by:
Blockchain technology has emerged as a transformative force in the business world, offering unprecedented opportunities for innovation and efficiency. While initially associated with cryptocurrencies...
by: Oralloy | last post by:
Hello Folks, I am trying to hook up a CPU which I designed using SystemC to I/O pins on an FPGA. My problem (spelled failure) is with the synthesis of my design into a bitstream, not the C++...
by: Carina712 | last post by:
Setting background colors for Excel documents can help to improve the visual appeal of the document and make it easier to read and understand. Background colors can be used to highlight important...
by: BLUEPANDA | last post by:
At BluePanda Dev, we're passionate about building high-quality software and sharing our knowledge with the community. That's why we've created a SaaS starter kit that's not only easy to use but also...
by: Rahul1995seven | last post by:
Introduction: In the realm of programming languages, Python has emerged as a powerhouse. With its simplicity, versatility, and robustness, Python has gained popularity among beginners and experts...
by: ezappsrUS | last post by:
Hi, I wonder if someone knows where I am going wrong below. I have a continuous form and two labels where only one would be visible depending on the checkbox being checked or not. Below is the...
by: jack2019x | last post by:
hello, Is there code or static lib for hook swapchain present? I wanna hook dxgi swapchain present for dx11 and dx9.
by: DizelArs | last post by:
Hi all) Faced with a problem, element.click() event doesn't work in Safari browser. Tried various tricks like emulating touch event through a function: let clickEvent = new Event('click', {...
by: F22F35 | last post by:
I am a newbie to Access (most programming for that matter). I need help in creating an Access database that keeps the history of each user in a database. For example, a user might have lesson 1 sent...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.