I want to configure metabase to configure proxy outbound strategy, where can I configure it, and look forward to your reply

I want to configure metabase to configure proxy outbound strategy, where can I configure it, and look forward to your reply

Hi @weifeng.tang
Metabase is a Java application, so you will have to set the Java parameters for that.
Example:

java -Dhttps.proxyHost=[your proxy's hostname] -Dhttps.proxyPort=[your proxy's port] -jar metabase.jar

Yes, I have tried this configuration, but the result is not working

@weifeng.tang
Post “Diagnostic Info” from Admin > Troubleshooting.
If you are trying to connect to http-only, then you also need to add -Dhttp.proxyHost=[your proxy's hostname] -Dhttp.proxyPort

@flamber 【java -Dhttps.proxyHost=zt-public-proxy.swiftpassinside.local -Dhttps.proxyPort=3128 -Dlog4j.configurationFile=conf/log4j2.xml -jar metabase.jar 】 Try to configure this way, but the mail sending timed out. The troubleshooting is that the proxy service is not used to connect to the mail server

@weifeng.tang It would help if you started with saying that you were having problems with email. The parameters are for http/https protocols.
You would need to try SOCKS, or use a relay: https://stackoverflow.com/questions/12093242/sending-java-mail-from-with-in-a-proxy-server