473,396 Members | 1,608 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

Error after a few hours when using Apache as a proxy

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 11093
Motoma
3,237 Expert 2GB
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
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 Expert 2GB
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
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 Expert 2GB
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
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
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...
4
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...
2
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...
1
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."...
6
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...
1
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 /...
1
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...
0
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...
0
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...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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...
0
jinu1996
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...
0
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...
0
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...

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.