Titanium JIRA Archive
Appcelerator Community (AC)

[AC-4561] Debugger failed to connect

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionNeeds more info
Resolution Date2016-11-11T15:03:54.000+0000
Affected Version/sn/a
Fix Version/sn/a
Componentsn/a
Labelsn/a
ReporterNilmar Castro
AssigneeShak Hossain
Created2016-10-17T19:59:17.000+0000
Updated2016-11-11T15:03:54.000+0000

Description

Steps to Reproduce

I can´t compile my app´s getting this error. I´m using a Mac with Sierra OS. Studio 4.7.1 and Node v4.6.0 Below a console log: Appcelerator Command-Line Interface, version 5.5.1 Copyright (c) 2014-2016, Appcelerator, Inc. All Rights Reserved. 2016-10-17T19:40:04.120Z | TRACE | set environment to {'registry':'https://software.appcelerator.com','security':'https://security.appcelerator.com','baseurl':'https://platform.appcelerator.com'} 2016-10-17T19:40:04.123Z | TRACE | checking credentials for existing session 2016-10-17T19:40:05.807Z | TRACE | Attempting to load session info from config file 2016-10-17T19:40:05.847Z | TRACE | check if session is invalidated 2016-10-17T19:40:07.659Z | TRACE | registry result 200 application/json undefined undefined false undefined 2016-10-17T19:40:07.726Z | TRACE | registry returned { expiry: 1477338007543 } 2016-10-17T19:40:07.727Z | TRACE | refresh session expiry to: 1477338007543 2016-10-17T19:40:07.759Z | TRACE | session expiry 1477338007543 false 2016-10-17T19:40:07.760Z | TRACE | Arrow Cloud config file: /Users/Usuario/.acs 2016-10-17T19:40:07.792Z | TRACE | found Arrow Cloud login { mid: 'fdefb89dfc069c4430771b3c9f1027fea1b70c0e', publishPort: 443, publishHost: 'https://admin.cloudapp-enterprise.appcelerator.com', username: 'nilmarpublio@gmail.com', cookie: [ 'connect.sid=s%3AHRgi6ZM6odaYMV98kqg5t6qv.jpCRRI8kSORVqAbYCIhcuW9mGHbzuTGNwHGl3Q7zct0; Path=/; Expires=Sat, 29 Oct 2016 14:15:13 GMT; HttpOnly' ], defaultEP: { publishHost: 'https://admin.cloudapp-enterprise.appcelerator.com', publishPort: 443 } } , checking nodeACSEndpoint= https://admin.cloudapp-enterprise.appcelerator.com 2016-10-17T19:40:07.828Z | TRACE | Arrow Cloud cookie expiry [ 1477750513000 ] 2016-10-17T19:40:07.828Z | TRACE | session already loaded in opts.session 2016-10-17T19:40:07.830Z | TRACE | getCredentials() session: { 'ipaddress': '192.168.0.100', 'username': 'nilmarpublio@gmail.com', 'password': '', 'session': '', 'nonce': '', 'environment': { 'name': 'production', 'isProduction': true, 'acsBaseUrl': 'https://api.cloud.appcelerator.com', 'acsAuthBaseUrl': 'https://secure-identity.cloud.appcelerator.com', 'nodeACSEndpoint': 'https://admin.cloudapp-enterprise.appcelerator.com' }, 'token': '', 'fingerprint': 'fdefb89dfc069c4430771b3c9f1027fea1b70c0e', 'fingerprint_description': 'Mac OSX Serial Number: W80432QEDAS', 'org_id': 100001238, 'expiry': 1477338007543 } 2016-10-17T19:40:07.831Z | TRACE | loading plugins for command 'run' 2016-10-17T19:40:08.492Z | TRACE | run search paths: [ '/Users/Usuario/.appcelerator/install/5.5.1/package', '/Users/Usuario/.appcelerator/install/5.5.1/package/node_modules', '/Applications/Appcelerator Studio/AppceleratorStudio.app/Contents/MacOS/node_modules', '/Applications/Appcelerator Studio/AppceleratorStudio.app/Contents/node_modules', '/Applications/Appcelerator Studio/AppceleratorStudio.app/node_modules', '/Applications/Appcelerator Studio/node_modules', '/Applications/node_modules', '/node_modules', '/Users/Usuario/.appcelerator/.npm/lib/node_modules' ] 2016-10-17T19:40:08.494Z | DEBUG | [PLUGIN-LOAD] 1ms /Users/Usuario/.appcelerator/install/5.5.1/package/appc.js 2016-10-17T19:40:11.075Z | DEBUG | [PLUGIN-LOAD] 2491ms /Users/Usuario/.appcelerator/install/5.5.1/package/node_modules/appc-cli-titanium/appc.js 2016-10-17T19:40:11.075Z | DEBUG | run plugin: /Users/Usuario/.appcelerator/install/5.5.1/package/node_modules/appc-cli-titanium 2016-10-17T19:40:11.103Z | DEBUG | [PLUGIN-LOAD] 4ms /Users/Usuario/.appcelerator/install/5.5.1/package/node_modules/arrow/appc.js 2016-10-17T19:40:11.144Z | DEBUG | run plugin: /Users/Usuario/.appcelerator/install/5.5.1/package/node_modules/arrow 2016-10-17T19:40:11.229Z | TRACE | plugin 'arrow' failed its 'when' function check, skipping... 2016-10-17T19:40:11.231Z | TRACE | loading plugin 'titanium' for command 'run' CLI options via function 2016-10-17T19:40:11.242Z | TRACE | loading plugin 'titanium' for command 'run' CLI options via array 2016-10-17T19:40:11.246Z | TRACE | executing command 'run' with the following plugins: ['titanium'] 2016-10-17T19:40:11.257Z | TRACE | Attempting to load session info from config file 2016-10-17T19:40:11.259Z | TRACE | check if session is invalidated 2016-10-17T19:40:12.083Z | TRACE | registry result 200 application/json undefined undefined false undefined 2016-10-17T19:40:12.084Z | TRACE | registry returned { expiry: 1477338011988 } 2016-10-17T19:40:12.084Z | TRACE | refresh session expiry to: 1477338011988 2016-10-17T19:40:12.086Z | TRACE | session expiry 1477338011988 false 2016-10-17T19:40:12.087Z | TRACE | session already loaded in opts.session 2016-10-17T19:40:12.138Z | DEBUG | Titanium Downloads Last Checked: 1476700681393 2016-10-17T19:40:12.666Z | TRACE | No project alloy hook; skipping update to 1.0.0 2016-10-17T19:40:21.522Z | ERROR | An uncaught exception was thrown! Invalid Version: 23.0.0_rc2 2016-10-17T19:40:21.523Z | ERROR | Invalid Version: 23.0.0_rc2 2016-10-17T19:40:21.523Z | TRACE | TypeError: Invalid Version: 23.0.0_rc2 at new SemVer (/Users/Usuario/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/node_modules/node-appc/node_modules/semver/semver.js:293:11) at Range.test (/Users/Usuario/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/node_modules/node-appc/node_modules/semver/semver.js:1047:15) at Function.satisfies (/Users/Usuario/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/node_modules/node-appc/node_modules/semver/semver.js:1096:16) at /Users/Usuario/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/node_modules/node-appc/lib/version.js:156:33 at Array.some (native) at Object.satisfies (/Users/Usuario/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/node_modules/node-appc/lib/version.js:152:34) at findSDK (/Users/Usuario/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/node_modules/titanium-sdk/lib/android.js:827:44) at /Users/Usuario/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/node_modules/titanium-sdk/lib/android.js:205:9 at /Users/Usuario/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/node_modules/titanium-sdk/lib/android.js:158:5 at /Users/Usuario/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/node_modules/async/lib/async.js:983:13 at Object.q.process (/Users/Usuario/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/node_modules/async/lib/async.js:948:25) at /Users/Usuario/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/node_modules/async/lib/async.js:906:19 at /Users/Usuario/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/node_modules/async/lib/async.js:44:16 at /Users/Usuario/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/node_modules/titanium-sdk/lib/android.js:160:7 at /Users/Usuario/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/node_modules/titanium-sdk/lib/android.js:880:97 at /Users/Usuario/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/node_modules/async/lib/async.js:721:13 --------------------------------------------- at Object.run (/Users/Usuario/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/node_modules/node-appc/lib/subprocess.js:59:8) at find (/Users/Usuario/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/node_modules/node-appc/lib/subprocess.js:96:14) at /Users/Usuario/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/node_modules/node-appc/node_modules/async/lib/async.js:945:13 at Immediate.q.process (/Users/Usuario/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/node_modules/node-appc/node_modules/async/lib/async.js:913:25) at processImmediate [as _immediateCallback] (timers.js:383:17) --------------------------------------------- at Object.setImmediate (/Users/Usuario/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/node_modules/node-appc/node_modules/async/lib/async.js:200:9) at _insert (/Users/Usuario/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/node_modules/node-appc/node_modules/async/lib/async.js:861:19) at Object.q.push (/Users/Usuario/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/node_modules/node-appc/node_modules/async/lib/async.js:888:17) at findExecutable (/Users/Usuario/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/node_modules/node-appc/lib/subprocess.js:113:8) at tasks.(anonymous function) (/Users/Usuario/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/node_modules/titanium-sdk/lib/android.js:867:4) at /Users/Usuario/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/node_modules/async/lib/async.js:713:13 at async.forEachOf.async.eachOf (/Users/Usuario/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/node_modules/async/lib/async.js:233:13) at _parallel (/Users/Usuario/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/node_modules/async/lib/async.js:712:9) at Object.async.parallel (/Users/Usuario/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/node_modules/async/lib/async.js:726:9) at findSDK (/Users/Usuario/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/node_modules/titanium-sdk/lib/android.js:876:8) at /Users/Usuario/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/node_modules/titanium-sdk/lib/android.js:205:9 at /Users/Usuario/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/node_modules/titanium-sdk/lib/android.js:158:5 at /Users/Usuario/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/node_modules/async/lib/async.js:983:13 at Object.q.process (/Users/Usuario/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/node_modules/async/lib/async.js:948:25) at /Users/Usuario/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/node_modules/async/lib/async.js:906:19 --------------------------------------------- at Object.run (/Users/Usuario/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/node_modules/node-appc/lib/subprocess.js:59:8) at find (/Users/Usuario/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/node_modules/node-appc/lib/subprocess.js:96:14) at /Users/Usuario/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/node_modules/node-appc/node_modules/async/lib/async.js:945:13 at Immediate.q.process (/Users/Usuario/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/node_modules/node-appc/node_modules/async/lib/async.js:913:25) at processImmediate [as _immediateCallback] (timers.js:383:17) --------------------------------------------- at Object.setImmediate (/Users/Usuario/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/node_modules/node-appc/node_modules/async/lib/async.js:200:9) at _insert (/Users/Usuario/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/node_modules/node-appc/node_modules/async/lib/async.js:861:19) at Object.q.push (/Users/Usuario/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/node_modules/node-appc/node_modules/async/lib/async.js:888:17) at findExecutable (/Users/Usuario/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/node_modules/node-appc/lib/subprocess.js:113:8) at tasks.(anonymous function) (/Users/Usuario/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/node_modules/titanium-sdk/lib/android.js:867:4) at /Users/Usuario/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/node_modules/async/lib/async.js:713:13 at async.forEachOf.async.eachOf (/Users/Usuario/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/node_modules/async/lib/async.js:233:13) at _parallel (/Users/Usuario/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/node_modules/async/lib/async.js:712:9) at Object.async.parallel (/Users/Usuario/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/node_modules/async/lib/async.js:726:9) at findSDK (/Users/Usuario/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/node_modules/titanium-sdk/lib/android.js:876:8) at /Users/Usuario/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/node_modules/titanium-sdk/lib/android.js:205:9 at /Users/Usuario/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/node_modules/titanium-sdk/lib/android.js:158:5 at /Users/Usuario/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/node_modules/async/lib/async.js:983:13 at Object.q.process (/Users/Usuario/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/node_modules/async/lib/async.js:948:25) at /Users/Usuario/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/node_modules/async/lib/async.js:906:19 --------------------------------------------- at Object.run (/Users/Usuario/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/node_modules/node-appc/lib/subprocess.js:59:8) at find (/Users/Usuario/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/node_modules/node-appc/lib/subprocess.js:96:14) at /Users/Usuario/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/node_modules/node-appc/node_modules/async/lib/async.js:945:13 at Immediate.q.process (/Users/Usuario/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/node_modules/node-appc/node_modules/async/lib/async.js:913:25) at processImmediate [as _immediateCallback] (timers.js:383:17) --------------------------------------------- at Object.setImmediate (/Users/Usuario/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/node_modules/node-appc/node_modules/async/lib/async.js:200:9) at _insert (/Users/Usuario/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/node_modules/node-appc/node_modules/async/lib/async.js:861:19) at Object.q.push (/Users/Usuario/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/node_modules/node-appc/node_modules/async/lib/async.js:888:17) at findExecutable (/Users/Usuario/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/node_modules/node-appc/lib/subprocess.js:113:8) at /Users/Usuario/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/node_modules/titanium-sdk/lib/android.js:183:6 at /Users/Usuario/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/node_modules/titanium-sdk/lib/android.js:158:5 at /Users/Usuario/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/node_modules/async/lib/async.js:983:13 at Object.q.process (/Users/Usuario/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/node_modules/async/lib/async.js:948:25) at /Users/Usuario/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/node_modules/async/lib/async.js:906:19 at /Users/Usuario/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/node_modules/async/lib/async.js:44:16 at /Users/Usuario/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/node_modules/titanium-sdk/lib/android.js:160:7 at findNDK (/Users/Usuario/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/node_modules/titanium-sdk/lib/android.js:918:19) at /Users/Usuario/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/node_modules/titanium-sdk/lib/android.js:179:6 at /Users/Usuario/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/node_modules/titanium-sdk/lib/android.js:158:5 at /Users/Usuario/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/node_modules/async/lib/async.js:983:13 --------------------------------------------- at Object.setImmediate (/Users/Usuario/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/node_modules/async/lib/async.js:194:9) at _insert (/Users/Usuario/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/node_modules/async/lib/async.js:885:19) at Object.q.push (/Users/Usuario/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/node_modules/async/lib/async.js:922:17) at async.parallel.ndk (/Users/Usuario/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/node_modules/titanium-sdk/lib/android.js:172:10) at /Users/Usuario/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/node_modules/async/lib/async.js:713:13 at async.forEachOf.async.eachOf (/Users/Usuario/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/node_modules/async/lib/async.js:233:13) at _parallel (/Users/Usuario/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/node_modules/async/lib/async.js:712:9) at Object.async.parallel (/Users/Usuario/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/node_modules/async/lib/async.js:726:9) at detect (/Users/Usuario/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/node_modules/titanium-sdk/lib/android.js:69:8) at /Users/Usuario/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/cli/commands/_build.js:122:5 at /Users/Usuario/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/node_modules/async/lib/async.js:713:13 at iterate (/Users/Usuario/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/node_modules/async/lib/async.js:262:13) at async.forEachOfSeries.async.eachOfSeries (/Users/Usuario/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/node_modules/async/lib/async.js:281:9) at _parallel (/Users/Usuario/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/node_modules/async/lib/async.js:712:9) at Object.async.series (/Users/Usuario/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/node_modules/async/lib/async.js:734:9)

Actual Result

Can´t Compile

Expected Result

Compile and test.

Comments

  1. Sharif AbuDarda 2016-10-18

    Hello, Can you try with SDK 5.5.1.GA? Thanks.
  2. Nilmar Castro 2016-10-26

    I tried it, but now I´m having this error: [INFO] : Installing app on device: GT-I9300 [ERROR] : Failed to install apk on "323007ce34d9109d" My log file says: !ENTRY com.appcelerator.titanium.core 2 0 2016-10-26 17:19:47.299 !MESSAGE (Build 4.7.1.201609100950) [WARNING] No environments returned for org: org_id:100001238,org_name:nilmarpublio@gmail.com,current_users_role:,user_count:0 from 360 API. using default set of development and production !ENTRY com.appcelerator.titanium.android.core 4 0 2016-10-26 17:20:53.724 !MESSAGE Debugger failed to connect !ENTRY com.aptana.editor.common 1 0 2016-10-26 17:23:28.086 !MESSAGE (Build 4.7.1.201609100950) [INFO] GetQuickFixProcessor:org.eclipse.core.runtime.xml !ENTRY com.aptana.editor.common 1 0 2016-10-26 17:23:28.087 !MESSAGE (Build 4.7.1.201609100950) [INFO] lazyload
  3. Sharif AbuDarda 2016-10-28

    Hello, Attach the log of "appc info" in here. Thanks.

JSON Source