Welcome! Log In Create A New Profile

Advanced

HTTP 411 Length Required Errors

October 27, 2010 02:03PM
Greetings, we'd like to use nginx to balance for multiple instances of core grid services for the Atlanta Clinical & Translational Science Biomedical Informatics Grid. We've used nginx successfully on several other projects, but this time we're seeing the errors below when accessing from grid clients. Note that these registration requests succeed when pointed directly to the JBoss container hosting the back-end grid services but not when pointed to nginx. These clients are based on caGrid (cancer research grid) and Globus grid foundation. This is the first time we've used nginx in conjunction with these types of clients, so we suspect it has something to do with these clients, but we noticed this previous nginx thread http://www.ruby-forum.com/topic/162976 and wondered if others have had and solved this problem recently either with nginx configuration or by modifying client behavior. Any help or suggestions would be greatly appreciated...thanks!

--Steve

2010/10/27 12:54:40 [notice] 12501#0: nginx/0.8.53
2010/10/27 12:54:40 [notice] 12501#0: built by gcc 4.4.4 20100630 (Red Hat 4.4.4-10) (GCC)
2010/10/27 12:54:40 [notice] 12501#0: OS: Linux 2.6.32.16-linode28

----------------------------------------------------------------------------------------------------
caGrid Dorian Service Error contacting the IndexService balanced by nginx:
----------------------------------------------------------------------------------------------------
13:31:02,796 WARN [ServiceGroupRegistrationClient] Warning: Could not register https://grid.poc.actsi.org:9443/wsrf/services/cagrid/Dorian to servicegroup at http://index.poc.actsi.org/wsrf/services/DefaultIndexService -- check the URL and that the remote service is up. Remote exception was (411)Length Required
13:31:02,796 ERROR [AdvertisementClient] Got exception from status callback:(411)Length Required
AxisFault
faultCode: {http://xml.apache.org/axis/}HTTP
faultSubcode:
faultString: (411)Length Required
faultActor:
faultNode:
faultDetail:
{}:return code: 411

-----------------------
nginx access.log:
-----------------------
74.207.227.154 - - [27/Oct/2010:13:31:02 -0400] "POST /wsrf/services/DefaultIndexService HTTP/1.1" 411 181 "-" "Axis/1.2RC2"

-----------------------
nginx error.log:
-----------------------

2010/10/27 13:31:02 [info] 12549#0: *3 client sent "Transfer-Encoding: chunked" header while reading client request headers, client: 74.207.227.154, server: grid.poc.actsi.org, request: "POST /wsrf/services/DefaultIndexService HTTP/1.1", host: "index.poc.actsi.org"
Subject Author Posted

HTTP 411 Length Required Errors

swheat October 27, 2010 02:03PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 230
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready