1.1X Rescale CLI FAQ

Rescale CLI defaults to the US platform platform.rescale.com. If you are a user on any of the other global platforms (EU, JP, KR, ITAR), please specify your regional platform using the -X flag in your CLI command. For example:

EUrescale-cli -X https://eu.rescale.com submit -p <api-token> -i <input-script>
Japanrescale-cli -X https://platform.rescale.jp submit -p <api-token> -i <input-script>
Korearescale-cli -X https://kr.rescale.com submit -p <api-token> -i <input-script>
ITARrescale-cli -X https://itar.rescale.com submit -p <api-token> -i <input-script>

During the uploading, after each file is successfully uploaded there will be a standard output indicating so. So the user can also redirect the output into a log file so all the successful uploads will be recorded.

rescale-cli upload -p <api-token> -f <file1> ... <fileN> > upload.log

By default, the upload command will return a limited set of metadata for the uploaded file. To see an extended set of metadata, use the -e flag in the upload call:

rescale-cli upload -p <api-token> -f <file1> ... <fileN> -e

Finally, if the CLI is being embedded in a larger script, then it is useful to use the --quiet flag to suppress non-json output from the command. This makes the parsing the response easier:

rescale-cli --quiet upload -p <api-token> -f <file1> ... <fileN> -e

There are a few advanced Java system properties that can be specified:

rescale.loglevel (TRACE, DEBUG, INFO, WARNING, ERROR, OFF)https.proxyHosthttps.proxyPorthttps.proxyUserhttps.proxyPassword

By default all arguments are passed directly to the CLI, but you can submit arguments intended for the JVM by prefixing them with -J.

These arguments would be -D (define) flags to Java, so with the rescale-cli wrapper they are passed with -J-D.

For example, to run with DEBUG logging turned on and use proxy.com:8888 as a proxy server, the following command can be used:

rescale-cli -J-Drescale.loglevel=DEBUG -J-Dhttps.proxyHost=proxy.com -J-Dhttps.proxyPort=8888 status -p <api-token> -j <job-id>

Note: There is no spacing between the -J-D and the name of the system property.

If the proxy requires Windows authentication, the https.proxyUser and https.proxyPassword system properties can be set. The https.proxyUser value should be set to DOMAIN\username. The https.proxyPassword property can be set to the Windows password for the user. If you do not want to embed the password in the command line, this property can be omitted and the CLI will prompt you to enter your password in the console when it launches.

In order for the Rescale CLI to work properly, your device needs to have access to the following URLs:


And additionally, the following CSP-specific URLs: