This repository was archived by the owner on Jul 9, 2023. It is now read-only.

Description
Hello,
So I have the following code found here: https://pastebin.com/hAwUuwS6
Most of the code is just copy and paste from the example posted on the readme. What it currently does is launch a Chrome web driver (from selenium) instance and points it to the proxy created by titanium web proxy. The cmd window then accepts a ip address and port number and after pressing enter it sets the upstream proxy with the inputs specified by the user. This program was created only for testing purposes.
The upstream proxy works, it is able to connect to the proxy just fine but ~95% of the proxies I tried resulted in an error when attempting to browse to a website. The proxies return a "Invalid URL" error. Such as the error shown in the image bellow.

This is not an issue with the proxy itself since if I connect to it directly (without the titanium proxy), I am able to browse websites just fine.
I'm not an expert in C#, I could have possibly missed something very obvious, so please bear with me.
Thanks.