iWS 6.1 reverse proxy plugin

Hi folks,

I did a reverse proxy from iWS 6.0 to IIS and it works for web1 but not web2

Everything works fine for web1 server:

/agent1 -> web1 (iWS) -> reverse proxy -> https://155.31.36.136 (IIS) - Success

/agent2 -> web1 (iWS) -> reverse proxy -> https://155.31.36.137 (IIS) - Success

When tested in web2 server, it did not work for https://155.31.36.136:

/agent1 -> web2 (iWS) -> reverse proxy -> https://155.31.36.136 (IIS) - Fail

/agent2 -> web2 (iWS) -> reverse proxy -> https://155.31.36.137 (IIS) - Success

I'm really out of idea. Anyone hit this problem before? I have included the error log for web2 instance and hope that someone can tell me the reason of the failure be it of network, firewall or IIS. Thanks.

[10/Jul/2006:20:08:29] verbose ( 8298): for host 155.25.30.146 trying to GET /agent1, service-passthrough reports: PASS1022: passing request to https://155.31.36.136

[10/Jul/2006:20:08:29] failure ( 8298): service-passthrough reports: PASS1010: error connecting to https://155.31.36.136 (End of file)

[10/Jul/2006:20:08:29] verbose ( 8298): for host 155.25.30.146 trying to GET /agent1, service-passthrough reports: PASS1026: failed to pass request to https://155.31.36.136

[10/Jul/2006:20:08:29] verbose ( 8298): for host 155.25.30.146 trying to GET /agent1, service-passthrough reports: PASS1023: passing request to https://155.31.36.136 (retry 1)

[10/Jul/2006:20:08:29] verbose ( 8298): service-passthrough reports: PASS1010: error connecting to https://155.31.36.136 (End of file)

[10/Jul/2006:20:08:29] verbose ( 8298): for host 155.25.30.146 trying to GET /agent1, service-passthrough reports: PASS1027: failed to pass request to https://155.31.36.136 (retry 1)

[10/Jul/2006:20:08:29] verbose ( 8298): for host 155.25.30.146 trying to GET /agent1, service-passthrough reports: PASS1023: passing request to https://155.31.36.136 (retry 2)

[10/Jul/2006:20:08:29] verbose ( 8298): service-passthrough reports: PASS1010: error connecting to https://155.31.36.136 (End of file)

[10/Jul/2006:20:08:29] verbose ( 8298): for host 155.25.30.146 trying to GET /agent1, service-passthrough reports: PASS1027: failed to pass request to https://155.31.36.136 (retry 2)

[10/Jul/2006:20:08:29] warning ( 8298): for host 155.25.30.146 trying to GET /opt/iplanet/docs/badgateway.html, send-file reports: can't find /opt/iplanet/docs/opt/iplanet/docs/badgateway.html (File not found)

[10/Jul/2006:20:08:29] config ( 8298): for host 155.25.30.146 trying to GET /agent1, send-error reports: missing parameter (path)

[10/Jul/2006:20:08:35] verbose ( 8298): service-passthrough reports: PASS1010: error connecting to https://155.31.36.136 (End of file)

[10/Jul/2006:20:08:54] verbose ( 8298): for host 155.25.30.146 trying to GET /agent2, service-passthrough reports: PASS1022: passing request to https://155.31.36.137

[10/Jul/2006:20:08:54] verbose ( 8298): for host 155.25.30.146 trying to GET /agent2, service-passthrough reports: PASS1037: not rewriting "Location: https://www.asia.net.my/agent2/" from https://155.31.36.137

[10/Jul/2006:20:08:54] verbose ( 8298): for host 155.25.30.146 trying to GET /agent2/, service-passthrough reports: PASS1022: passing request to https://155.31.36.137

[10/Jul/2006:20:08:54] verbose ( 8298): for host 155.25.30.146 trying to GET /agent2/, service-passthrough reports: PASS1034: https://155.31.36.137 returned error code 403

[10/Jul/2006:20:09:03] verbose ( 8298): for host 155.25.30.146 trying to GET /agent1, service-passthrough reports: PASS1022: passing request to https://155.31.36.136

[10/Jul/2006:20:09:03] verbose ( 8298): service-passthrough reports: PASS1010: error connecting to https://155.31.36.136 (End of file)

[10/Jul/2006:20:09:03] verbose ( 8298): for host 155.25.30.146 trying to GET /agent1, service-passthrough reports: PASS1026: failed to pass request to https://155.31.36.136

[10/Jul/2006:20:09:03] verbose ( 8298): for host 155.25.30.146 trying to GET /agent1, service-passthrough reports: PASS1023: passing request to https://155.31.36.136 (retry 1)

[10/Jul/2006:20:09:03] verbose ( 8298): service-passthrough reports: PASS1010: error connecting to https://155.31.36.136 (End of file)

[10/Jul/2006:20:09:03] verbose ( 8298): for host 155.25.30.146 trying to GET /agent1, service-passthrough reports: PASS1027: failed to pass request to https://155.31.36.136 (retry 1)

[10/Jul/2006:20:09:03] verbose ( 8298): for host 155.25.30.146 trying to GET /agent1, service-passthrough reports: PASS1023: passing request to https://155.31.36.136 (retry 2)

[10/Jul/2006:20:09:03] verbose ( 8298): service-passthrough reports: PASS1010: error connecting to https://155.31.36.136 (End of file)

[10/Jul/2006:20:09:03] verbose ( 8298): for host 155.25.30.146 trying to GET /agent1, service-passthrough reports: PASS1027: failed to pass request to https://155.31.36.136 (retry 2)

[10/Jul/2006:20:09:03] warning ( 8298): for host 155.25.30.146 trying to GET /opt/iplanet/docs/badgateway.html, send-file reports: can't find /opt/iplanet/docs/opt/iplanet/docs/badgateway.html (File not found)

[10/Jul/2006:20:09:03] config ( 8298): for host 155.25.30.146 trying to GET /agent1, send-error reports: missing parameter (path)

[10/Jul/2006:20:09:05] verbose ( 8298): service-passthrough reports: PASS1010: error connecting to https://155.31.36.136 (End of file)

[10/Jul/2006:20:09:12] verbose ( 8298): for host 155.25.30.146 trying to GET /agent2, service-passthrough reports: PASS1022: passing request to https://155.31.36.137

[10/Jul/2006:20:09:12] verbose ( 8298): for host 155.25.30.146 trying to GET /agent2, service-passthrough reports: PASS1037: not rewriting "Location: https://www.asia.net.my/agent2/" from https://155.31.36.137

[10/Jul/2006:20:09:12] verbose ( 8298): for host 155.25.30.146 trying to GET /agent2/, service-passthrough reports: PASS1022: passing request to https://155.31.36.137

[10/Jul/2006:20:09:12] verbose ( 8298): for host 155.25.30.146 trying to GET /agent2/, service-passthrough reports: PASS1034: https://155.31.36.137 returned error code 403

[10/Jul/2006:20:09:35] verbose ( 8298): service-passthrough reports: PASS1010: error connecting to https://155.31.36.136 (End of file)

[10/Jul/2006:20:10:05] verbose ( 8298): service-passthrough reports: PASS1010: error connecting to https://155.31.36.136 (End of file)

[10/Jul/2006:20:10:35] verbose ( 8298): service-passthrough reports: PASS1010: error connecting to https://155.31.36.136 (End of file)

[10/Jul/2006:20:11:05] verbose ( 8298): service-passthrough reports: PASS1010: error connecting to https://155.31.36.136 (End of file)

[10/Jul/2006:20:11:13] verbose ( 8298): signal_handler_thread: received signal 15

[10/Jul/2006:20:11:13] verbose ( 8298): Worker process received termination signal 15.

[10/Jul/2006:20:11:13] verbose ( 8298): DaemonProcessor::Terminate set fTerminating flag

[10/Jul/2006:20:11:13] verbose ( 8298): DaemonProcessor::Terminated KeepAlives

[10/Jul/2006:20:11:13] verbose ( 8298): Waiting 30 seconds for 48 sessions to terminate

[10/Jul/2006:20:11:14] verbose ( 8298): DaemonProcessor::Run sessions all cleaned up

[10/Jul/2006:20:11:14] verbose ( 8298): Child process admin thread is shutting down

[10/Jul/2006:20:11:14] verbose ( 8297): signal_handler_thread: received signal 15

[10/Jul/2006:20:11:14] verbose ( 8297): Primordial process received termination signal

[10/Jul/2006:20:11:14] verbose ( 8297): Unlinking of /tmp/https-asianet-3b90a480/.cgistub_8297 returned -1

[10/Jul/2006:20:11:14] verbose ( 8297): Sending SIGTERM to child 0: 8298

[10/Jul/2006:20:11:15] verbose ( 8298): Unlinking of /tmp/https-asianet-3b90a480/.cgistub_8298 returned -1

[10/Jul/2006:20:11:15] verbose ( 8298): Before calling restart functions

[10/Jul/2006:20:11:15] info ( 8298): vs(https-asianet)Closing the web applications

[10/Jul/2006:20:11:15] verbose ( 8298): After calling restart functions

[10/Jul/2006:20:11:15] verbose ( 8298): signal_handler_thread: received signal 15

[10/Jul/2006:20:11:15] verbose ( 8297): Unlinking of /tmp/https-asianet-3b90a480/.cgistub_8297 returned -1

[10/Jul/2006:20:11:15] verbose ( 8297): Unlinking /tmp/https-asianet-3b90a480/iwsadmin.8297

[8541 byte] By [uoa] at [2007-11-26 9:39:16]
# 1

First, you appear to be using the Reverse Proxy Plugin with iPlanet Web Server 6.0. However, the Reverse Proxy Plugin license only allows you to use the Reverse Proxy Plugin with Sun ONE Web Server 6.1. If you're going to use software contrary to its license terms, perhaps you shouldn't tell everyone... :)

In any event, the following error message indicates that the server at 155.31.36.136 on port 443 is closing the reverse proxy server's connections as soon as they're initiated:[10/Jul/2006:20:08:29] failure ( 8298): service-passthrough reports: PASS1010: error connecting to https://155.31.36.136 (End of file)The server at 155.31.36.136 may be configured to refuse connections from the reverse proxy server's IP. What happens when you try to connect to 155.31.36.136 by running a web browser on the reverse proxy server?

elving at 2007-7-7 0:35:09 > top of Java-index,Web & Directory Servers,Web Servers...
# 2
Oppss .. Will get a license for that. Thanks for the info.Dont really get what you mean by connecting to 155.31.36.136 by running browser on the reverse proxy server?There is no proxy server in place. Are you saying to connect 155.31.36.136 using a browser on the web2
uoa at 2007-7-7 0:35:09 > top of Java-index,Web & Directory Servers,Web Servers...
# 3
I'm confused. Why do you say you don't have a reverse proxy server? Isn't web2 acting as a reverse proxy? If so, that is your reverse proxy server.
elving at 2007-7-7 0:35:09 > top of Java-index,Web & Directory Servers,Web Servers...
# 4
Yeah, you're absolutely correct, web2 is acting as a reverse proxy. Earlier, I thought you are speaking of another sun product call web proxy server.Will do some investigation on that ;) Thanks.
uoa at 2007-7-7 0:35:09 > top of Java-index,Web & Directory Servers,Web Servers...