Originally Posted by mlov420
I've been having some strange issues with the latest version. [...]
What version were you using previously, and is it for popups or not (i.e., using CS:GO)?
The script's check for http
is only to check for URLs in the pre-version 3 $PROXY_PAGE/#$URL
format for backwards compatibility reasons; as of version 3 the plugin uses a URL params-style of hash in $PROXY_PAGE/#url=$ENCODED_URL
An HTTP 404 (file not found) on the web portion itself suggests it's an issue with your server stack, which I assume shouldn't be an issue given you've had the proxy page on your site before.
Are you sure it's definitely a 404? If so, make sure your permissions are correct on the file and your server configuration is serving that file correctly; that's outside the scope of this plugin.
To double-check, make sure the page is available by using your normal web browser with the following URL:
Replace the example.com
path with the path to your proxy page, obviously. Any other URL-encoded URL will do, this is the first one I could find that isn't iframe-restricted and renders fine on the black background of the iframe.
If you open up your browser's developer tools (F12 on FF / Chrome) and make the request, you should see something like the following:
A status 200 on your proxy page means it's working just fine, and your issue is likely in one of the sites you're trying to access.
to 1; this will print out the URL the plugin is sending to the client whenever it rewrites a page. Check those URLs in your normal browser.
One thing I can think of since you mentioned forcing HTTPS is that mixed active content (attempting to request an HTTP-only page) will display a warning in the console tab and make no request to the page.
You'll have to replace any hardcoded HTTP requests in your own plugin(s) to HTTPS or set up your site to serve the proxy over HTTP; the browser won't do redirects for you for security reasons (because some malicious person could hijack the insecure connection).
Also, check the URL configuration (configs/vgui_cache_buster_urls.cfg
; some URL prefixes don't work anymore).
If you're still having issues, I'd be happy to check when I have the time; send me a private message with your proxy URL, a URL that it fails on, and a copy of your URL config. Optionally, send me a copy of the plugin's debug output.