Git Product home page Git Product logo

titanium-connection-test's Introduction

titanium-connection-test

Runs a series of tests that attempts to connect to TLS secured web locations used by Appcelerator products to test if proxies or other networking systems are interfering with connections to Appcelerator's endpoints.

Installing

To install the script:

npm install -g git://github.com/appcelerator/titanium-connection-test.git

You may need to run this command as sudo on POSIX systems

Running

To run the script:

titanium-connection-test

Specifying a proxy

To specify an explicit proxy:

titanium-connection-test -p [proxy url]

The proxy url should be of the form "http://my.proxy.net:8080"

Specifying a root certificate

If your proxy is SSL secured, you may need to specify a root CA certificate if the proxy's certificate is not trusted:

titanium-connection-test -c [path/to/certificate]

Certificates should be pem encoded

Lenient handling of SSL errors

If you are still getting SSL certificate errors after specyfing a proxy and/or root certificate, then you may need to disable SSL certificate errors entirely:

titanium-connection-test -l

This will ignore ALL SSL errors and is not recommended unless there is no other option

Interpreting the results

The script will report if there were any issues connecting to the endpoints using various connection techniques. For reference, the Titanium CLI uses the request module for its connections. If all endpoints are failing, this indicates that there is probably a problem with the CLI configuration. If some endpoints are failing, but not others, this probably indicates an issue with the proxy configuration. Consult your proxy documentation and configuration for details.

License

This project is open source and provided under the Apache Public License (version 2). Please make sure you see the LICENSE file included in this distribution for more details on the license. Also, please take notice of the privacy notice at the end of the file.

(C) Copyright 2013, Appcelerator Inc. All Rights Reserved.

titanium-connection-test's People

Contributors

ingo avatar nebrius avatar sgtcoolguy avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.