Table of Contents

This page provides information on how to set up a proxy connection.


Overview


Cosmos Browser requires internet connection to Chaos services to work correctly. When Cosmos Browser is installed in a network where all requests go through a proxy server, some proxy configuration should be applied. 

By default, the Cosmos Browser detects the proxy connection automatically. On some occasions you might need to specify additional settings, such as proxy type, host, port, username and password. See below how to set the configuration. 

Steps



  1. In the Cosmos Browser installation directory, find the config.json file. By default this file is installed in:

Windows: C:\Program Files\Common Files\ChaosGroup\ChaosCosmos
macOS: /Library/ChaosGroup/ChaosCosmos/

2. Open the config.json file with a text editor and go to section proxy.

Fill in the values of the the proxy related variables: 

type: – Specifies the proxy connection type, can have the following values:

auto – Default value, performs automatic proxy detection.
http – Used to set an http proxy connection type.
none – Used when there is no proxy and also, no need for automatic proxy detection.

host: "" – stores (in the brackets) the proxy host address.

port: 0, – stores the proxy port.

user: "",stores (in the brackets) the user name.

password: ""stores (in the brackets) the password.

3. Save your changes to the config.json file.

4. Restart the Cosmos Browser process. 
In Windows, go to the Start menu and type in Stop Cosmos Browser and then Start Cosmos Browser.

HTTP proxy can pass over HTTPS requests as well.