Clarity

Expand all | Collapse all

XOG - Unable to login to PPM

  • 1.  XOG - Unable to login to PPM

    Posted 03-02-2018 03:22 PM

    I am new to XOG. How do I connect to PPM using XOG client?

    Usually I access PPM via https://xxxx.ondemand.ca.com and do not enter any username and password. It is SSO enabled. 

     

    In this case, how do I login via XOG?

    I tried following, but it doesnt work. 

    login <emailaddress>/<AD password>@xxxx.ondemand.ca.com:443

     

    XOG Invoke Failed
    Unexpected end of file from server
    Turn verbose on for more detail.



  • 2.  Re: XOG - Unable to login to PPM

    Broadcom Employee
    Posted 03-02-2018 03:59 PM

    Hi Sateesh,

     

    Have you specified -sslenabled true with your command.

     

    Here is the documentation with the description of the command parameters:

     

    https://docops.ca.com/ca-ppm/14-3/en/reference/xml-open-gateway-xog-development/xog-client-shell-command-line-properties-file-and-soap#XOGClientShell,CommandLine,PropertiesFile,andSOAP-RuntheXOGfromtheCommandLine

     

    You would try something like this:

     

    xog -sslenabled true

    login user/password@servername:port

     

     

    Check existing threads on this too:
    https://communities.ca.com/thread/13752425

     

    Hope this helps -Nika



  • 3.  Re: XOG - Unable to login to PPM

    Posted 03-02-2018 04:26 PM

    Thanks for quick response Nika.

     

    I tried with sslenabled as true. I get following error.

     

    XOG Invoke Failed
    Login Failed
    Turn verbose on for more detail.



  • 4.  Re: XOG - Unable to login to PPM

    Broadcom Employee
    Posted 03-03-2018 09:47 AM

    Uncheck the User External Authentication  and set the password and try using that password for  XOG Login.



  • 5.  Re: XOG - Unable to login to PPM

    Posted 03-05-2018 06:18 AM

    guessing, do you have character @ in the password?

     

    EDIT:

    Can you try this way?

    xog -servername <host> -portnumber <port> -sslenabled true -username <adminuser> -password <password> -input <input_xog_xml> -output <output_xog_xml> 



  • 6.  Re: XOG - Unable to login to PPM

    Broadcom Employee
    Posted 03-05-2018 09:28 AM

    Agree if you doing XOG Login directly in Command prompt then if you have @Character in the Password you will have an issue in login.

     



  • 7.  Re: XOG - Unable to login to PPM

    Posted 03-03-2018 05:19 AM

    Not sure that XOG is supported for SSO (SSL yes of course ; but thats a completely different thing).



  • 8.  Re: XOG - Unable to login to PPM

    Posted 03-03-2018 10:03 AM

    Tend to agree with that. You would need an user ID which does not have external autenthication.



  • 9.  Re: XOG - Unable to login to PPM

    Broadcom Employee
    Posted 03-05-2018 07:19 AM

    Can you please review this KB Article?

     

    'Unexpected end of file from server' error when co - CA Knowledge 

     

    Regards



  • 10.  Re: XOG - Unable to login to PPM

    Posted 03-05-2018 10:34 AM

    So this error "XOG Invoke Failed" points to the inability of the XOG client to log into PPM. 

     

    To validate that if it is your client having problems or the server, I would try an login via SOAPUI.  This will point the problem  to either the server or the client.

     

    The XOG login request looks like this:

     

    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:obj="http://www.niku.com/xog/Object">
       <soapenv:Header/>
       <soapenv:Body>
          <obj:Login>
             <obj:Username>?</obj:Username>
             <!--Optional:-->
             <obj:Password>?</obj:Password>
             <!--Optional:-->
             <obj:TenantID>?</obj:TenantID>
          </obj:Login>
       </soapenv:Body>
    </soapenv:Envelope>

     

    V/r,

    Gene



  • 11.  Re: XOG - Unable to login to PPM

    Posted 03-05-2018 11:09 AM

    Thanks for all the replies.

     

    I have tried with the options suggested above.

     

    1. xog -servername <host> -portnumber <port> -sslenabled true -username <adminuser> -password <password> -input <input_xog_xml> -output <output_xog_xml> 

       XOG Invoke Failed
    Login failed.
    Turn verbose on for more deta

     

    2. Tried with SOAP UI.

    Error in the response : CMN-10011: Please enter a valid User Name and Password. Note that the Password is case-sensitiv

     

    There could be two issues. Either XOG doesn't support SSO as David mentioned or my user id has '@'.  I cant change the username as it is tied with our AD accounts. 

     

    I have raised a ticket with CA. Lets 



  • 12.  Re: XOG - Unable to login to PPM

    Posted 03-05-2018 11:35 AM

    CA has ids containing @ in our OnDemand system.

     

     

    It is most likely the type not being internal.

     

    V/r,

    Gene



  • 13.  Re: XOG - Unable to login to PPM

    Posted 03-05-2018 01:45 PM

    Yeah, if the ID is an email then it has.

    Can those ID's do XOGIng?



  • 14.  Re: XOG - Unable to login to PPM

    Broadcom Employee
    Posted 03-05-2018 02:18 PM

    Username with @ Character will not cause any issues in XOG Login.



  • 15.  Re: XOG - Unable to login to PPM

    Posted 03-05-2018 04:27 PM

    OK thanks, I see it now.

    The password@host is separated from the user ID with an /



  • 16.  Re: XOG - Unable to login to PPM

    Broadcom Employee
    Posted 03-05-2018 05:08 PM

    That's correct.