Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Validation failed with status code 500 #4

Closed
mnisius opened this issue Dec 15, 2021 · 12 comments
Closed

Validation failed with status code 500 #4

mnisius opened this issue Dec 15, 2021 · 12 comments
Assignees
Labels
bug Something isn't working status:fixed The issue has been fixed

Comments

@mnisius
Copy link

mnisius commented Dec 15, 2021

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:

  1. Start winfoom in GUI Mode
  2. Click autodetect
  3. Click start
  4. 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.

Screenshots
Screenshot 2021-12-15 101029

Context information:

  • Application version v4.0.0
  • JRE version: adoptopenjdk 11.0.12-7

Additional context
none

@ecovaci
Copy link
Owner

ecovaci commented Dec 15, 2021

Please attach the log file in debug mode

@mnisius
Copy link
Author

mnisius commented Dec 15, 2021

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.

winfoom.log

@ecovaci
Copy link
Owner

ecovaci commented Dec 15, 2021

Please post the pac file without the IP or domain names. I'm only interested in it's structure.

@ecovaci
Copy link
Owner

ecovaci commented Dec 15, 2021

I'm interested in the lines looking like: PROXY_TYPE IP_LIST_OR_DOMAIN_NAMES. For example return "PROXY 1.2.3.4:8080"

@ecovaci
Copy link
Owner

ecovaci commented Dec 15, 2021

The acceptable values for PROXY_TYPE are PROXY, HTTP, HTTPS, SOCKS, SOCKS4, SOCKS5, DIRECT

@mnisius
Copy link
Author

mnisius commented Dec 15, 2021

here the file without ips and domains: removed

edit: I removed the file. If you need it again just tell me.

@ecovaci
Copy link
Owner

ecovaci commented Dec 15, 2021

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.

@ecovaci ecovaci closed this as completed Dec 15, 2021
ecovaci added a commit that referenced this issue Dec 15, 2021
@ecovaci
Copy link
Owner

ecovaci commented Dec 15, 2021

Please test it and let me know the result.

@ecovaci ecovaci self-assigned this Dec 15, 2021
@ecovaci ecovaci added the bug Something isn't working label Dec 15, 2021
@mnisius
Copy link
Author

mnisius commented Dec 15, 2021

It worked! 🎉🎉🎉
Thank you very much for your fast fix!

@ecovaci ecovaci added the status:fixed The issue has been fixed label Jan 20, 2022
@NukeAttokurov
Copy link

Good afternoon.
Please help me, I am using the latest version of WinFoom I have a problem with internet access. Installed KNIME, Eclipse, DBeaver all these programs still have problems with Internet access. Please tell me what could be the problem?
image

@ecovaci
Copy link
Owner

ecovaci commented Jan 31, 2023

Did you configure Eclipse to use Winfoom as proxy? I think this is the problem.

@ecovaci
Copy link
Owner

ecovaci commented Jan 31, 2023

Also, please open a separate issue since your problem has nothing to do with the current one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working status:fixed The issue has been fixed
Projects
None yet
Development

No branches or pull requests

3 participants