IBM Support

IT34650: LOGCOLLECT ENDS WITH JAVA.IO.IOEXCEPTION: SERVER RETURNED HTTP RESPONSE CODE: 401 FOR URL: HTTP://LOCALHOST:8082/API/PROGRESS?

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • If the IBM Spectrum Protect Plus user interface (UI) is not
    working, command logcollect needs to be used to collect log
    bundle. When running the following command on the IBM Spectrum
    Protect Plus appliance console to generate log bundle, it fails
    with 401 error:
    
    [serveradmin@SPP-host scripts]$ sudo
    /opt/ECX/tools/logcollect/logcollect
    A log file for this run is
    created at:
     /opt/ECX/tools/logcollect/logs/logcollect_log_2020
    1015T135305.txt
    java.io.IOException: Server returned HTTP
    response code: 401 for URL:
    http://localhost:8082/api/progress?
    
    The 401 error occurs because the log collector is trying to
    access IBM Spectrum Protect Plus endpoints without a session
    ID. When running in command line standalone mode, no such
    session ID exists. The virgo log shows:
    
    [date+timestamp] WARN http-nio-8082-exec-4
    com.syncsort.dp.xsb.api.commons.servletfilter.AuditFilter
    Session ID is missing, request: uri (/api/progress?), method
    (GET)
    [date+timestamp] WARN http-nio-8082-exec-3
    com.syncsort.dp.xsb.api.commons.servletfilter.AuditFilter
    Session ID is missing, request: uri (/api/site?), method
    (GET)
    
    The generated log file, like
    logcollect_log_20201015T135305.txt, does not have useful
    content and can be safely removed.
    
    Versions affected: 10.1.6.*
    

Local fix

  • Manually collect virgo logs in /opt/virgo/serviceability/logs
    for IBM support
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * IBM Spectrum Protect Plus level 10.1.6.                      *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See ERROR DESCRIPTION                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Apply fixing level when available. This problem is currently *
    * projected to be fixed in IBM Spectrum Protect Plus level     *
    * 10.1.7. Note that this is subject to change at the           *
    * discretion of IBM                                            *
    ****************************************************************
    

Problem conclusion

  • IBM Spectrum Protect Plus has fixed the command line interface
    (CLI) log collection tool. Previously, the CLI log collection
    tool did not prompt the user for a username and password which
    caused the log collection process to fail with an HTTP 401
    Unauthorized error. With the latest fix, the CLI now prompts the
    user for a username and password and these credentials are used
    for authenticating with the IBM Spectrum Protect Plus backend
    services.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT34650

  • Reported component name

    SP PLUS

  • Reported component ID

    5737SPLUS

  • Reported release

    A16

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2020-10-23

  • Closed date

    2020-11-30

  • Last modified date

    2020-11-30

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    SP PLUS

  • Fixed component ID

    5737SPLUS

Applicable component levels

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSNQFQ","label":"IBM Spectrum Protect Plus"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"A16","Line of Business":{"code":"LOB26","label":"Storage"}}]

Document Information

Modified date:
31 January 2024