Titanium JIRA Archive
Appcelerator Community (AC)

[AC-198] appc setup issue

GitHub Issuen/a
TypeBug
Priorityn/a
StatusResolved
ResolutionInvalid
Resolution Date2015-11-07T17:34:51.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsStudio
Labelsandroid, ios
ReporterPSD
AssigneeShak Hossain
Created2015-07-04T14:43:37.000+0000
Updated2015-11-07T17:34:51.000+0000

Description

I am trying to set up my Appcelerator Studio 4.0.1. I am not able to set IOS SDK and Android SDK. Latest version installed shows "unknown". In Studio preferances it shows "[Android SDK Home] No Android SDKs were found under the specified SDK location". I tried command appc setup and below message gets displayed Finding latest version ...| {color:red}Server responded with unexpected error: Error connecting to download server at software.appcelerator.com (not found). Make sure you are online.. Please re-try your install again. If you continue to have this problem, please contact Appcelerator Support at support@appcelerator.com.{color} $ DEBUG=* appc setup appc:bin install bin is 'install/4.0.1/package/bin/appc' +0ms appc:bin main subcommand setup +2ms appc:bin main setup found +0ms appc:bin main - !installBin or couldn't find it null +0ms appc:install preflight checks, is this windows? 0 +1ms appc:install home directory located at /Users/gepadmin +0ms appc:install install, wantVersion: , url: https://software.appcelerator.com/api/appc/install/, bin: +90ms appc:download download start, quiet 0, banner 1 +1ms appc:download download called with arguments: { '0': false, '1': false, '2': '', '3': '/var/folders/7h/lvxb9v5j7mg872wgzz1g3mnw0000gn/T/appc-1436019550567.tar.gz', '4': { _writableState: { highWaterMark: 16384, objectMode: false, needDrain: false, ending: false, ended: false, finished: false, decodeStrings: true, defaultEncoding: 'utf8', length: 0, writing: false, sync: true, bufferProcessing: false, onwrite: [Function], writecb: null, writelen: 0, buffer: [], errorEmitted: false }, writable: true, domain: null, _events: { finish: [Object] }, _maxListeners: 10, path: '/var/folders/7h/lvxb9v5j7mg872wgzz1g3mnw0000gn/T/appc-1436019550567.tar.gz', fd: null, flags: 'w', mode: 438, start: undefined, pos: undefined, bytesWritten: 0 }, '5': 'https://software.appcelerator.com/api/appc/install/', '6': [Function], '7': false } +1ms Finding latest version ... appc:util request {"url":{"protocol":"https:","slashes":true,"auth":null,"host":"software.appcelerator.com","port":443,"hostname":"software.appcelerator.com","hash":null,"search":null,"query":null,"pathname":"/api/appc/install/","path":"/api/appc/install/","href":"https://software.appcelerator.com/api/appc/install/"},"headers":{"user-agent":"Appcelerator CLI/4.0.1 (darwin)","host":"software.appcelerator.com"}} +142ms - appc:util request error +22ms { [Error: getaddrinfo ENOTFOUND] code: 'ENOTFOUND', errno: 'ENOTFOUND', syscall: 'getaddrinfo' } appc:download error from download was: { [Error: Error connecting to download server at software.appcelerator.com (not found). Make sure you are online.] code: 'ENOTFOUND' } +1ms appc:error creating AppCError Server responded with unexpected error: Error connecting to download server at software.appcelerator.com (not found). Make sure you are online.. Please re-try your install again. If you continue to have this problem, please contact Appcelerator Support at support@appcelerator.com., com.appcelerator.install.download.server.response.error +0ms appc:util fail { [AppCError: Server responded with unexpected error: Error connecting to download server at software.appcelerator.com (not found). Make sure you are online.. Please re-try your install again. If you continue to have this problem, please contact Appcelerator Support at support@appcelerator.com.] id: 'com.appcelerator.install.download.server.response.error', name: 'AppCError', message: 'Server responded with unexpected error: Error connecting to download server at software.appcelerator.com (not found). Make sure you are online.. Please re-try your install again. If you continue to have this problem, please contact Appcelerator Support at support@appcelerator.com.' } +13ms AppCError: Server responded with unexpected error: Error connecting to download server at software.appcelerator.com (not found). Make sure you are online.. Please re-try your install again. If you continue to have this problem, please contact Appcelerator Support at support@appcelerator.com. at Object.exports.createError (/usr/local/lib/node_modules/appcelerator/lib/error.js:142:10) at /usr/local/lib/node_modules/appcelerator/lib/download.js:46:29 at Request. (/usr/local/lib/node_modules/appcelerator/lib/util.js:510:11) at Request.emit (events.js:95:17) at Request.onRequestError (/usr/local/lib/node_modules/appcelerator/node_modules/request/request.js:1025:8) at ClientRequest.emit (events.js:95:17) at CleartextStream.socketErrorListener (http.js:1548:9) at CleartextStream.emit (events.js:95:17) at Socket.onerror (tls.js:1456:17) at Socket.emit (events.js:117:20) Server responded with unexpected error: Error connecting to download server at software.appcelerator.com (not found). Make sure you are online.. Please re-try your install again. If you continue to have this problem, please contact Appcelerator Support at support@appcelerator.com.

Comments

  1. Hans Knöchel 2015-07-04

    Have you posted your issue in the [Q&A community](https://developer.appcelerator.com/questions/)? I think the chance to get an answer from the community is better there.
  2. Aminul Islam 2015-11-06

    Hi , I tested the issue you reported. It looks like the feature "appc setup" in Appcelerator Studio is working fine for me. I tested this using the studio build: 4.3.3 Ensure that you have latest Node.JS installed:  node --version .if not installed then you can download it from [here](https://web.appcelerator.com/product/cli). I suggest you to check your network connection and proxy settings also. I also recommend you upgrade studio to the latest build and let us know if you get the error again. Thanks

JSON Source