Uploaded image for project: 'Appcelerator CLI'
  1. Appcelerator CLI
  2. CLI-1173

Error: Error attempting to login to Arrow Cloud

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: appc-cli 6.2.0-master.25
    • Fix Version/s: Release 6.2.0
    • Component/s: Core
    • Labels:
      None
    • Story Points:
      3
    • Sprint:
      2017 Sprint 07 Tooling

      Description

      Logging in via the appc-cli, we get the following:

      2017-03-21T16:52:44.561Z | DEBUG  | Choose organization...
      2017-03-21T16:52:44.561Z | DEBUG  | Loading organization list...
        Appc:sdk fetching https://dashboard.cloudapp-1.appctest.com/api/v1/auth/findSession sid= s:N8K75fOM8SG7bWjUNct7TYVTs-oaJNZZ.c11XzVsy9dkn1bST1xFZb6str41MctUykDfNL0B0y/8 userAgent= Appcelerator/2.0.2 (Macintosh; Intel Mac OS X 16_4_0; en_US) nodejs/4.3.0 Version/2.0.2 Safari/0.0.0 appcelerator/6.2.0-master.25 +21ms
        Appc:sdk api response, err=null, body='{"success":true,"result":{"cookie":{"originalMaxAge":false,"expires":false,"secure":null,"httpOnly":true,"domain":".cloudapp-1.appctest.com","path":"/","sameSite":null},"sessionID":"N8K75fOM8SG7bWjUNct7TYVTs-oaJNZZ","from":"cli","username":"admin@dashboard.local","userHash":"8852ee1098812f87ad6244a0250d0978","token":"Y2+eySETeOW/1uR5PKGh2piqBfk=","guid":"17bddb9a-b87b-42cc-aceb-c61c7ca08d58","sid":"e6a59b96f522301e0b9f98abb160e6c2","org_id":985549229695766,"org":{"_id":"58d09dfed95b7d001c0162b3","org_id":985549229695766,"guid":"8e45e404-4cc0-4e20-8f82-1598c7eb149e","name":"My Organization","admins":["17bddb9a-b87b-42cc-aceb-c61c7ca08d58"],"users":[],"limit_users":-1,"active":true,"creator":"17bddb9a-b87b-42cc-aceb-c61c7ca08d58","created":"2017-03-21T03:29:02.319Z","package":"enterprise","entitlements":{"id":"54d8e4abce78815d81104cb4","name":"Enterprise","apiRateMonth":100000000,"pushRateMonth":100000000,"storageFilesGB":1000,"storageDatabaseGB":100,"containerPoints":9999,"arrowPublish":true,"eventRateMonth":100000000,"daysDataRetained":731,"allowProduction":true,"appDesigner":true,"appPreview":true,"hyperloop":true,"nativeSDK":true,"premiumModules":true,"paid":true,"paidSupport":true,"collaboration":true,"allowChildOrgs":true,"enterpriseEula":true,"partners":["acs","analytics"],"_version":1,"_token":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpZCI6IjU0ZDhlNGFiY2U3ODgxNWQ4MTEwNGNiNCIsIm5hbWUiOiJFbnRlcnByaXNlIiwiYXBpUmF0ZU1vbnRoIjoxMDAwMDAwMDAsInB1c2hSYXRlTW9udGgiOjEwMDAwMDAwMCwic3RvcmFnZUZpbGVzR0IiOjEwMDAsInN0b3JhZ2VEYXRhYmFzZUdCIjoxMDAsImNvbnRhaW5lclBvaW50cyI6OTk5OSwiYXJyb3dQdWJsaXNoIjp0cnVlLCJldmVudFJhdGVNb250aCI6MTAwMDAwMDAwLCJkYXlzRGF0YVJldGFpbmVkIjo3MzEsImFsbG93UHJvZHVjdGlvbiI6dHJ1ZSwiYXBwRGVzaWduZXIiOnRydWUsImFwcFByZXZpZXciOnRydWUsImh5cGVybG9vcCI6dHJ1ZSwibmF0aXZlU0RLIjp0cnVlLCJwcmVtaXVtTW9kdWxlcyI6dHJ1ZSwicGFpZCI6dHJ1ZSwicGFpZFN1cHBvcnQiOnRydWUsImNvbGxhYm9yYXRpb24iOnRydWUsImFsbG93Q2hpbGRPcmdzIjp0cnVlLCJlbnRlcnByaXNlRXVsYSI6dHJ1ZSwicGFydG5lcnMiOlsiYWNzIiwiYW5hbHl0aWNzIl0sIl92ZXJzaW9uIjoxfQ.UKJJtdCZT4-cNFRvIlfgf2rigeO-AJWlTY6Co1PQ1Kk"},"packageId":"54d8e4abce78815d81104cb4"},"invalidated":false,"enterpriseEula":true,"eulaRequired":true,"user":{"_id":"58d09dfed95b7d001c0162b2","email":"admin@dashboard.local","firstname":"Administrator","lastname":"User","is_staff":true,"active":true,"activated":true,"guid":"17bddb9a-b87b-42cc-aceb-c61c7ca08d58","disable_2fa":true,"created":"2017-03-21T03:29:02.294Z","updated":"2017-03-21T16:04:25.733Z","keepMeSignedIn":false,"last_logged":"2017-03-21T16:04:25.731Z","logged_in_count":4,"last_logged_in_org":985549229695766,"last_browser_language":"en","metadata":{},"logged_in_from_cli":true,"is_support":false},"role":"admin","nodeacs":false,"osFamily":"Mac OS X","_stoked":1490115164740,"os":"mac os x","client_cert_required":false}}' +275ms
      2017-03-21T16:52:44.848Z | TRACE  | setting org: My Organization
      2017-03-21T16:52:44.849Z | DEBUG  | Login to Arrow Cloud/ACS...
        appc:cli Arrow cloud login request: https://admin.cloudapp-1.appctest.com/login +4ms
        appc:cli Arrow cloud login response:  { code: 401, message: 'Unauthorized' } {"success":false,"errcode":123,"message":"Please provide Appcelerator 360 Session ID or username and password to login!","clusterVersion":"1.6.0"} +290ms
      2017-03-21T16:52:45.140Z | TRACE  | 401 '{"success":false,"errcode":123,"message":"Please provide Appcelerator 360 Session ID or username and password to login!","clusterVersion":"1.6.0"}'
      2017-03-21T16:52:45.141Z | TRACE  | getCredentials() session:
      {}
      2017-03-21T16:52:45.142Z | ERROR  | Error: Error attempting to login to Arrow Cloud.
          at Request._callback (/Users/ingo/.appcelerator/install/6.2.0-master.25/package/lib/commands/login.js:354:19)
          at Request.self.callback (/Users/ingo/.appcelerator/install/6.2.0-master.25/package/node_modules/request/request.js:188:22)
          at emitTwo (events.js:87:13)
          at Request.emit (events.js:172:7)
          at Request.<anonymous> (/Users/ingo/.appcelerator/install/6.2.0-master.25/package/node_modules/request/request.js:1171:10)
          at emitOne (events.js:77:13)
          at Request.emit (events.js:169:7)
          at IncomingMessage.<anonymous> (/Users/ingo/.appcelerator/install/6.2.0-master.25/package/node_modules/request/request.js:1091:12)
          at IncomingMessage.g (events.js:260:16)
          at emitNone (events.js:72:20)
        appc:run signal received +44s exit sending to ChildProcess {
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              ingo Ingo Muschenetz
            • Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Git Source Code