r/JavaFX • • Feb 10 '25

I made this! HTTP/HTTPS Proxy tool built with GraalVM + JavaFX: Wk-Proxy

https://github.com/catas-w/WK-Proxy

Hi everyone, I'm a 996-working developer from China and want to share a desktop application built with JavaFX and GraalVm. Hope to get some suggestions and feedbacks!

9 Upvotes

9 comments sorted by

View all comments

Show parent comment

1

u/catas-w Feb 12 '25 edited Feb 12 '25

Sorry it seems I misunderstood that 🤣. Do you mean your application cannot use system proxy settings when a auto configuration file (like .pac file) is applied? If it is I guess you should make sure weather your http client supports auto configuration file. Most java based http clients seems not supports PAC.

1

u/No_Cap3049 Feb 13 '25

This might be my issue. I never found an option to apply the pac file. I tried a few http clients. Have you tried this? In that case which http client did you use?

2

u/catas-w Feb 13 '25

PAC file is written in JavaScript, thus maybe you need to parse it to apply auto proxy config. Graal may be an option since it supports running JavaScript.