Skip to main content

Proxy Configuration Format

Please note that Oculus Proxies currently supports proxy configurations only in the host:ip format. The commonly used ip:port format is not supported and will result in connection errors. Ensure you use the server’s hostname followed by its IP address for proper integration.

HTTP Header Fields

The following fields are returned upon and HTTP or HTTPS requests:

Getting HTTP header fields

Testing from command line

To view and test your settings, or restoring an issue, you can run a curl command from your shell prompt and add the option flag -v or i. These flags will run curl in verbose mode and print out the header fields, including the custom error code and message.
To see a more compact view with the header fields response only use the -i option for curl:

curl Command snippet

curl command snippet, with all required zone parameters is available in the Overview tab in Oculus Proxies control panel for the zone you are working on.

Via Programming Languages

These HTTP headers can be accessed in any programming language in the same way you would handle standard HTTP headers.

Error Codes Explained

HTTP Error 400 – Bad Request

HTTP Error 401 – Unauthorized

HTTP Error 403 – Forbidden

HTTP Error 407 – Proxy Authentication Required

HTTP Error 429 – Too Many Requests