Validation failed with status code 500
mnisius opened this issue · comments
Bug description
Hi, I just found this project and wanted to try it out. Sadly i was not able to connect to the internet.
I get this Error Message if I use the Test Button
Validation failed with status code 500 reason: Proxy Auto Config javascript file: content not acceptable
We use an PAC file.
With PX Proxy everything working fine out of the box, no config necessary.
To Reproduce
Steps to reproduce the behavior:
- Start winfoom in GUI Mode
- Click autodetect
- Click start
- Click test
Expected behavior
Success message.
Log
I can't attach the log because it contains the full pac file and I don't think I'm allowed to share that.
Context information:
- Application version v4.0.0
- JRE version: adoptopenjdk 11.0.12-7
Additional context
none
Please attach the log file in debug mode
Ok here you go.
I had to remove some stuff. Like I said in the initial post I'm not allowed to share the content of my companies pac file.
Please post the pac file without the IP or domain names. I'm only interested in it's structure.
I'm interested in the lines looking like: PROXY_TYPE IP_LIST_OR_DOMAIN_NAMES. For example return "PROXY 1.2.3.4:8080"
The acceptable values for PROXY_TYPE
are PROXY, HTTP, HTTPS, SOCKS, SOCKS4, SOCKS5, DIRECT
here the file without ips and domains: removed
edit: I removed the file. If you need it again just tell me.
Ok, I found the problem: the line PROXY xxx:8080; PROXY xxx:8080;
has an extra space. I will trim it in the v4.0.1.
Please test it and let me know the result.
It worked! 🎉🎉🎉
Thank you very much for your fast fix!
Did you configure Eclipse to use Winfoom as proxy? I think this is the problem.
Also, please open a separate issue since your problem has nothing to do with the current one.