473,836 Members | 2,304 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Error after a few hours when using Apache as a proxy

54 New Member
Hi,

I`m using Apache as a proxy using ProxyPass (I didn`t set ProxyTimeout),
I have two test clients sending and receiving xml messages using xmlhttprequest to a jeti server through the Apache proxy server.

I sometime get an error in the Apache logs without being able to reproduce it.
The error is:
[
Expand|Select|Wrap|Line Numbers
  1. Sat Oct 06 14:46:51 2007] [error] (OS 10060)A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.  : proxy: prefetch request body failed to 127.0.0.1:8080 (localhost) from 173.129.343.565 ()
  2. [Sat Oct 06 14:46:51 2007] [error] [client 173.129.343.565 ] Handler for proxy-server returned invalid result code 730060, referer: http://www.example.com/test.html
Can someone explain me the error?

Thanks
Oct 6 '07 #1
6 11159
Motoma
3,237 Recognized Expert Specialist
Hi,

I`m using Apache as a proxy using ProxyPass (I didn`t set ProxyTimeout),
I have two test clients sending and receiving xml messages using xmlhttprequest to a jeti server through the Apache proxy server.

I sometime get an error in the Apache logs without being able to reproduce it.
The error is:
[
Expand|Select|Wrap|Line Numbers
  1. Sat Oct 06 14:46:51 2007] [error] (OS 10060)A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.  : proxy: prefetch request body failed to 127.0.0.1:8080 (localhost) from 173.129.343.565 ()
  2. [Sat Oct 06 14:46:51 2007] [error] [client 173.129.343.565 ] Handler for proxy-server returned invalid result code 730060, referer: http://www.example.com/test.html
Can someone explain me the error?

Thanks
Hi dolittle,
Could you give a little more information on the system? Describe in as much detail as possible the arrangement of servers and clients, what services/tools you are using, and what you are trying to accomplish, as well as any other information you think would be useful (ports, SSL, etc...)
Thanks,
Motoma
Oct 9 '07 #2
dolittle
54 New Member
Hi dolittle,
Could you give a little more information on the system? Describe in as much detail as possible the arrangement of servers and clients, what services/tools you are using, and what you are trying to accomplish, as well as any other information you think would be useful (ports, SSL, etc...)
Thanks,
Motoma
,
Hi Motoma,

I`m building a javascript xmpp(jabber) client. The xmpp server is openfire which is written in Java and build on Jeti. My javascript client exchange xml messages with the server and have to be on the same domain because of javascript cross domain security issues. I use Apache to serve the javascript files and to serve as a proxy to solve this issue. Both Apache and openfire sits on the same machine. Openfire listen on port 8080. The proxy config is:
Expand|Select|Wrap|Line Numbers
  1. NameVirtualHost *:80
  2.  
  3. <VirtualHost *:80>
  4.     ServerName localhost
  5.     DocumentRoot "C:\Program Files\xampp\htdocs"
  6. </VirtualHost>
  7.  
  8. <VirtualHost *:80>
  9.     ServerName example.com.com
  10.     ServerAlias *.example.com
  11.     DocumentRoot "C:\Program Files\xampp\htdocs\messenger"
  12.     ProxyRequests Off
  13.     ProxyPass /http-bind/ http://localhost:8080/http-bind/
  14. </VirtualHost>
Is there anything else I can tell about my system?

Thanks
Oct 10 '07 #3
Motoma
3,237 Recognized Expert Specialist
I'm not familiar with the way Jabber works, but is there any communication being sent from the server to the client? Or is all interaction based on client requests?
Oct 12 '07 #4
dolittle
54 New Member
I'm not familiar with the way Jabber works, but is there any communication being sent from the server to the client? Or is all interaction based on client requests?
The client sends xmlhttprequest with xml messages and the server respond with xml messages. The client has to ask the server for new stuff because the server can`t PUSH data to the client.
Oct 14 '07 #5
Motoma
3,237 Recognized Expert Specialist
The client sends xmlhttprequest with xml messages and the server respond with xml messages. The client has to ask the server for new stuff because the server can`t PUSH data to the client.
Have you tried debugging your proxy by using a traditional jabber client pointed at your Apache server?

This will help you know if your proxy setup is incorrect, or if your client is making an invalid request.
Oct 15 '07 #6
dolittle
54 New Member
I`ll try it.
Thanks
Oct 25 '07 #7

Sign in to post your reply or Sign up for a free account.

Similar topics

1
5043
by: Wayno | last post by:
My php logs are coming up empty. I have done all I can think of, and all that made sense to me. Can someone take a look at my php.ini please and tell me what you think may be the problem. I double-checked the path to my error log. It is in /var/www/logs/php_error_log Thanks. :) -Wayne Stevenson
4
15347
by: gc | last post by:
I'm a PHP and MySQL newbie. I have a feeling a lot of you may have seen this before. I'm teaching myself PHP/MySQL and trying to setup a guestbook. I'm running latest versions of Apache, PHP and MySql on WIN 2000. PHP is installed from the zip file. When serving php docs (code snippets below) I get the messages: "Fatal error: Call to undefined function mysql_connect() " "Fatal error: Call to undefined function mysql_pconnect() "
2
11000
by: raymond | last post by:
Hi, Is it possible to create a proxy client class or a web service method by VS.NET without using wsdl? My stupid client is using a xml schema (.xsd) to describe all their web service methods (and my webmethods) by Java (Apache toolkit) instead of using WSDL. What should I do? Thanks a lot! Raymond
1
2179
by: SrDhUS | last post by:
I get the following error when I try to add a web reference using Web Reference Dialog (VS .Net 2003) Error "The proxy settings on this computer are not configured correctly for web discovery." MSDN says: "The proxy settings on this computer are not configured correctly for Web discovery.
6
32023
by: jasn | last post by:
Hello I am getting the following error message when I try and send an XML sting to a web service, I read somewhere that most web services prefer ascii and some throw errors when using unicode so I have changed the encoding but still cant get rid of the error. System.Xml.XmlException: '', hexadecimal value 0x00, is an invalid character. Line 6, position 124. at System.Xml.XmlScanner.ScanHexEntity() at...
1
1797
by: manfred | last post by:
Hi Together, I tried to build a webservice proxy using a wsdl, generated in the sun/java world. I used the .Net 2003 Version, choosing there VC++. The steps I did: 1. Visual C++ Projekte / "Konsoleanwendung (.Net)" 2. Projekt / Webverweis hinzufügen / lokal I chose the wsdl, which were generated before within a WSAD environment (style: RPC encoded). For me the wsdl looks like ok:
1
4380
by: kommaraju | last post by:
iam a starter to db2 & jdbc.i have a servlet program which connects to ibm db2 using jdbc.when i run this using apache tomcat 4.1.34 , it is showing a error message of HTTP STATUS 500 my jdbc program is as follows import java.sql.*; import java.lang.*; import java.io.*; import java.util.*;
0
1782
by: logic0 | last post by:
I am tryn to upgrade apache from 2.0.47 and following steps i got it from apache site Downloaded new binaries from apache for 2.0.55 and go to new downloaded directory and Run The Configuration File ./config.nice Run The Make File make Run The Install Make File
0
2615
by: dolittle | last post by:
Hi, I`m using apache as a proxy to solve cross domain security restriction of javascript. The client sends AJAX requests to a JAVA based jabber server and the Apache serves as a proxy so the javascript and the jabber server will think they are in the same domain. The jabber server works as follows (http-binding): It gets an 'update' AJAX request from the client but keep the connection open until it has a new message for the client. Then...
0
9810
marktang
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...
0
9656
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,...
0
10821
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10241
tracyyun
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...
0
9358
agi2029
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...
0
6973
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
4443
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
2
4001
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3102
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.