Skip to Content

error performing xs login

I'm installing Smart DATA streaming .

In step 'Ensure that Smart Data Streaming works with web ide' and verify whether the streaming service broker is already on your system running the command

xs marketplace I receive error message

No API endpoint targeted. Use 'xs login' or 'xs api' to target an endpoint .

Using the command

xs login -u XSA_ADMIN -s SAP I got

API_URL>

inserting http://hostname:30030 I got

FAILED: Could not connect to controller

errno: 111 (Connection refused), error: Connection refused

So as I'm very new in this installation could you help me if somthing is missing or what I have to do to solve the problem ?

thanks nad regards

Giovanni

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Jun 08, 2017 at 04:12 PM

    Hello Giovanni,

    I am afraid your API_URL is not correct. You are using HTTP but it requires HTTPS. Otherwise, if you instance number was 00, then you should be fine. Otherwise, like in my example with instance number 90. you would have to adopt the URL accordingly:

    Microsoft Windows [Version 10.0.14393]
    (c) 2016 Microsoft Corporation. All rights reserved.
    C:\Users\Frank>cd \XS_CLIENT00P_46-70001792\bin
    C:\XS_CLIENT00P_46-70001792\bin>xs login
    API_URL: https://hxehost:39030
    The authenticity of host 'hxehost' is not validated!
    USERNAME: xsa_admin
    PASSWORD>
    Authenticating...
    ORG: HANAExpress
    SPACE: SAP
    API endpoint:   https://hxehost:39030 (API version: 1)
    User:           xsa_admin
    Org:            HANAExpress
    Space:          SAP
    C:\XS_CLIENT00P_46-70001792\bin>
    

    Best regards

    Frank

    Add comment
    10|10000 characters needed characters exceeded