Uploaded image for project: 'OpenAM Agents'
  1. OpenAM Agents
  2. AMAGENTS-3533

Webagent for Varnish returns 500 error on empty PDP request

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.2.0, 5.7.0
    • 4.2.2, 5.7.0
    • Web Agents

    Description

      Install webagent for Varnish server, enable PDP and call protected resource with this CURL command:

      curl -v -X POST http://agent/pdpresource

      Expected:

      pdpresource page (backend) receives empty POST request

       

      Actual:

      agent terminates request with http-500 error and the following error messages in the log file:

      WARNING [0x2ada58ca1700:20525] get_request_body(): missing Content-Length header
      ERROR [0x2ada58ca1700:20525] create_cdsso_or_pdp_redirect_url(): failed to preserve POST data for http://agent/pdpresource
      DEBUG [0x2ada58ca1700:20525][source/varnish/agent.c:834] vmod_authenticate(): exit status: not enough memory (-8)
      DEBUG [0x2ada58ca1700:20525][source/varnish/agent.c:902] vmod_done(): setting response status 500

       

       

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            mareks.malnacs Mareks Malnacs
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: