Search Through Proxy
Search Through Proxy
Well, In my campus browsing is through proxy..so i want to know how to add proxy settings in filebot so that its able to search
Re: Search Through Proxy
Set up the Proxy through Java Settings panel and it'll work with all Java applications including FileBot.
Please read the FAQ and How to Request Help.
Re: Search Through Proxy
I did the settings but filebot is still not connecting..Says connection reset
Re: Search Through Proxy
If the Java Control Panel proxy settings don't work you can try setting the proxy specifically for FileBot via Java properties.
filebot.launcher.l4j.ini
Add those lines to the .l4j.ini GUI launcher settings.
filebot.launcher.l4j.ini
Code: Select all
-Dhttp.proxyHost=localhost
-Dhttp.proxyPort=8888
Please read the FAQ and How to Request Help.
Re: Search Through Proxy
It appears that neither method is working for me. I tried both. If I disable my proxy, I can still connect. Shouldn't the connection time out if the proxy is disabled?
I want all FileBot traffic to use the proxy and fail if the proxy is down. Is this not achievable?
I do not want to make all Java traffic use the proxy. Are there any other lines in filebot.launcher.l4j.ini that need to be edited other than adding the following:
I want all FileBot traffic to use the proxy and fail if the proxy is down. Is this not achievable?
I do not want to make all Java traffic use the proxy. Are there any other lines in filebot.launcher.l4j.ini that need to be edited other than adding the following:
Code: Select all
-Dhttp.proxyHost=localhost
-Dhttp.proxyPort=8888
Re: Search Through Proxy
It'll auto-detect your system proxy by default. So none of this is necessary as long as you've set your proxy in the Windows settings.
All network options for your reference:
http://docs.oracle.com/javase/7/docs/ap ... rties.html
I don't think there is any options that would make it fail if the proxy is down. It'll default to your default gateway.
All network options for your reference:
http://docs.oracle.com/javase/7/docs/ap ... rties.html
I don't think there is any options that would make it fail if the proxy is down. It'll default to your default gateway.
Please read the FAQ and How to Request Help.
-
- Posts: 2
- Joined: 02 Oct 2016, 04:43
Re: Search Through Proxy
Hello rednoah
I have the exact problem of using Internet through a proxy in Filebot. I use Ubuntu linux and I installed filebot_4.7.2_amd64.deb from http://filebot.net. It works fine except that I can't force it to use my proxy.
Because it is Ubuntu (not Windows), there is no filebot.launcher.l4j.ini file available to insert -Dhttp parameters in it. But I found Filebot starting script in Ubuntu located in /usr/share/filebot/bin/filebot.sh. I edited 'filebot.sh' to look like script below, but even then it doesn't load themoviedb.org (which is filtered in my network and can be accessed with my proxy):
What is the problem? (I suspect that Filebot doesn't use my proxy at all).
What can I do to solve it or at least diagnose more accurately?
Regards,
-- Sina Momken
I have the exact problem of using Internet through a proxy in Filebot. I use Ubuntu linux and I installed filebot_4.7.2_amd64.deb from http://filebot.net. It works fine except that I can't force it to use my proxy.
Because it is Ubuntu (not Windows), there is no filebot.launcher.l4j.ini file available to insert -Dhttp parameters in it. But I found Filebot starting script in Ubuntu located in /usr/share/filebot/bin/filebot.sh. I edited 'filebot.sh' to look like script below, but even then it doesn't load themoviedb.org (which is filtered in my network and can be accessed with my proxy):
Code: Select all
#!/bin/sh
APP_ROOT="/usr/share/filebot"
if [ -z "$HOME" ]; then
echo '$HOME must be set'
exit 1
fi
# add APP_ROOT to LD_LIBRARY_PATH
if [ ! -z "$LD_LIBRARY_PATH" ]; then
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$APP_ROOT"
else
export LD_LIBRARY_PATH="$APP_ROOT"
fi
# select application data folder
APP_DATA="$HOME/.filebot"
java -Dhttp.proxyHost=localhost -Dhttp.proxyPort=8580 -Dunixfs=false -DuseGVFS=true -DuseExtendedFileAttributes=true -DuseCreationDate=false -Djava.net.useSystemProxies=false -Djna.nosys=true -Dapplication.deployment=deb "-Dapplication.dir=$APP_DATA" "-Djava.io.tmpdir=$APP_DATA/temp" "-Dnet.filebot.AcoustID.fpcalc=$APP_ROOT/fpcalc" $JAVA_OPTS -jar "$APP_ROOT/FileBot.jar" "$@"
What can I do to solve it or at least diagnose more accurately?
Regards,
-- Sina Momken
Re: Search Through Proxy
Editing filebot.sh is NOT RECOMMENDED.
1.
You just need to set JAVA_OPTS before running filebot:
Note that you need to set HTTP and HTTPS proxies if you want to proxy both HTTP and HTTPS connections. You may wanna add that to your ~/.profile or system profile.
2.
If you want Java to use your system proxies, then you probably shouldn't set -Djava.net.useSystemProxies=false right?
1.
You just need to set JAVA_OPTS before running filebot:
Code: Select all
export JAVA_OPTS="-Dhttp.proxyHost=localhost -Dhttp.proxyPort=80 -Dhttps.proxyHost=localhost -Dhttps.proxyPort= 443"
2.
If you want Java to use your system proxies, then you probably shouldn't set -Djava.net.useSystemProxies=false right?
Code: Select all
export JAVA_OPTS="-Djava.net.useSystemProxies=true"
Please read the FAQ and How to Request Help.
-
- Posts: 2
- Joined: 02 Oct 2016, 04:43
Re: Search Through Proxy
Hello again and thank you very much for reply.
1. My main problem was that I had not set HTTPS proxy and https://www.themoviedb.org/ is hosted over HTTPS. I inserted options below (for free FreeGate proxy) and it worked:
About exporting JAVA_OPTS or inserting them in ~/.profile, I don't like your options. Exporting JAVA_OPTS needs always running filebot from terminal, and setting it in ~/.profile will put other java programs behind proxy too (which I don't want because proxies increase delay).
2. I don't understand why should I use -Djava.net.useSystemProxies=true ? I don't have any system proxies and I don't know how to set them in Ubuntu. Anyway after changing it (in filebot.sh) to true or false I couldn't notice any difference!
1. My main problem was that I had not set HTTPS proxy and https://www.themoviedb.org/ is hosted over HTTPS. I inserted options below (for free FreeGate proxy) and it worked:
Code: Select all
-Dhttp.proxyHost=localhost -Dhttp.proxyPort=8580 -Dhttps.proxyHost=localhost -Dhttps.proxyPort=8580
2. I don't understand why should I use -Djava.net.useSystemProxies=true ? I don't have any system proxies and I don't know how to set them in Ubuntu. Anyway after changing it (in filebot.sh) to true or false I couldn't notice any difference!
Re: Search Through Proxy
1.
I'd make my own shell script filebot-with-proxy:
Modifying filebot.sh is not a good idea if you ever plan on updating filebot. Not ever updating filebot is also not a good idea.
2.
If you don't care for using system proxy settings then you can just pass then in directly of course. java.net.useSystemProxies has no effect if you pass in your own settings, probably.
I'd make my own shell script filebot-with-proxy:
Code: Select all
export JAVA_OPTS="..."
filebot
2.
If you don't care for using system proxy settings then you can just pass then in directly of course. java.net.useSystemProxies has no effect if you pass in your own settings, probably.
Please read the FAQ and How to Request Help.