PHP Classes
Icontem

Subject: Excellent work, sir - this has saved a huge amount of effort.


  Search   All class groups All class groups   Latest entries Latest entries   Top 10 charts Top 10 charts   Newsletter Newsletter   Blog Blog   Forums Forums   Help FAQ Help FAQ  
  Login   Register  
Recommend this page to a friend!

      HTTP protocol client   All threads   Excellent work, sir - this has saved a huge amount of effort.   (Un) Subscribe thread alerts  
Subject:Excellent work, sir - this has saved a huge amount of effort.
Summary:Package rating comment
Messages:7
Author:Ken
Date:2008-09-08 13:53:46
Update:2008-09-09 03:10:16
 

Ken rated this package as follows:

Utility: Good
Consistency: Good
Examples: Good
Unit tests: Good

  1. Excellent work, sir - this has saved a huge amount of effort.   Reply  
Picture of Ken
Ken
2008-09-08 13:53:47
Excellent work, sir - this has saved a huge amount of effort.

The only inconsistency I have found is that it seems to work well on "normal" http port, but cannot connect on 8080 for a Tomcat server. Am I missing something obvious?

  2. Re: Excellent work, sir - this has saved a huge amount of effort   Reply  
Picture of Manuel Lemos
Manuel Lemos
2008-09-08 14:22:55
If it cannot connect to that server, something is preventing it. Maybe it is a firewall in the middle. Without seeing the error that it is returning, it is hard to tell what can be the problem.

  3. Re: Excellent work, sir - this has saved a huge amount of effort   Reply  
Picture of Ken
Ken
2008-09-08 19:14:52
That's my assumption, as well. I just wanted to be sure that there was no "oh, yeah, do X to talk to 8080" solution :)

the post call returns a standard 110 "could not connect". When a file is sent from a test form to the same address, it completes.

Also tried altering the user-agent string to a Mozilla string and the referrer to a url on the same server.

When submitted to a test application on several other servers at port 80 (apache), works perfectly.

Thanks for your help

  4. Re: Excellent work, sir - this has saved a huge amount of effort   Reply  
Picture of Manuel Lemos
Manuel Lemos
2008-09-08 22:31:56
That seems to be a connection timeout usually cause by a firewall discarding connection request packets. So, you should not be able to connect to that port while the firewall is blocking it.

  5. Re: Excellent work, sir - this has saved a huge amount of effort   Reply  
Picture of Ken
Ken
2008-09-08 23:32:38
I have been telling them that for quite a while, but since this simplistic application does not involve at least 2 frameworks, 40 extraneous XML files and 100 compilation/deployment-steps, why would anyone believe the obvious? :)

  6. Re: Excellent work, sir - this has saved a huge amount of effort   Reply  
Picture of Manuel Lemos
Manuel Lemos
2008-09-09 02:00:47
BTW, I am not familiar with Tomcat, but are you sure it takes requests via HTTP protocol? If not, it does not make sense to use this class and they could explain why the server would not respond and connections time out.

  7. Re: Excellent work, sir - this has saved a huge amount of effort   Reply  
Picture of Ken
Ken
2008-09-09 03:10:16
Jakarta/Tomcat is the Java-Sever-Page version of "real" Apache - an abomination, imho..

BTW - the receiving app was moved to a new server, without ancient legacy firewall security policies in place, and *amazingly* it worked first time.. Thank you again for your help :)

 
  Advertise on this site Advertise on this site   Site map Site map   Statistics Statistics   Site tips Site tips   Privacy policy Privacy policy   Contact Contact  

For more information send a message to :
info at phpclasses dot org.
Copyright (c) Icontem 1999-2008 PHP Classes - PHP Class Scripts
  PHP Book Reviews - Reviews of books and other products