Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-18160] CLI: Implement cURL connectivity tests from titanium-connection-test in ti setup check

GitHub Issuen/a
TypeImprovement
PriorityMedium
StatusClosed
ResolutionWon't Fix
Resolution Date2015-01-30T19:11:30.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsCLI
Labelsn/a
ReporterTim Poulsen
AssigneeTim Poulsen
Created2014-12-09T17:01:39.000+0000
Updated2017-03-16T22:27:40.000+0000

Description

Add the cURL-based network connectivity tests from the https://github.com/appcelerator/titanium-connection-test project to the ti setup check functions. Connections should be made via the proxy (if any) as configured with the existing CLI network configuration functionality. The solution must account for Windows or other systems on which cURL is not installed. The curl executable must be override-able. If all sites are reachable, output a simple message, like: ✓ cURL connection test If sites are unreachable, output a message for each site that cannot be access, like: ✕ api.appcelerator.net is unreachable via cURL

Comments

  1. Tim Poulsen 2014-12-09

    PR https://github.com/appcelerator/titanium/pull/177 The cURL commands fail on all platforms now because of invalid usernames/passwords. (The same is true of the titanium-connection-test utility, though it's checks mistakenly show the tests as successful because they don't check results sufficiently.) Regardless, if we supply working user credentials for the tests, those usernames and passwords will be in the public titanium repo , instead of being in the private titanium-connection-test repo.
  2. Tim Poulsen 2015-01-30

    This functionality will be implemented in the Appc CLI instead.
  3. Lee Morris 2017-03-16

    Closing ticket as the issue will not fix.

JSON Source