Page 1 of 1

Does jZMConsole handle proxies

Posted: Wed May 13, 2009 1:42 pm
by Islandcoz
I am trying to get jZMConsole to work from behind my company firewall, I can access my ZoneMinder instance using a browser and with James Wilson's Viseon Viewer. Currently my Zoneminder Instance listens on port 85 not 80. Installation of both client and server went without errors, but I cannot get the jZMConsole to accept/connect to the url.

I also installed the client on a computer at home and the URL was accepted, but I was unable to logon.

I am looking forward to testing this client so any help I get would be appreciated.

BTW: the is no info in the jZMConsole.log file

Posted: Thu May 14, 2009 1:07 pm
by ahagadorn
It currently does not directly handle proxies, but it is fairly easy for me to add that.

I will look in to a quick fix for the port issue.

Andy

Posted: Thu May 14, 2009 1:17 pm
by Islandcoz
Thanks

Posted: Thu May 14, 2009 1:36 pm
by ahagadorn
Did you try specifying the port in the URL, for example http://www.example.com:85 ?

Posted: Thu May 14, 2009 1:42 pm
by Islandcoz
Yes I did, this worked at home on the same network, and I got to the login screen, but all login attempts failed.

However this did not work from my work PC which is behind a proxy

Posted: Thu May 14, 2009 2:02 pm
by ahagadorn
Do you have OPT_USE_AUTH checked in your ZM System Options? If not, this will cause logins to fail.

If you are running the client on Linux, you can set the proxy in the jzmconsole startup script.

Edit the script, and change:

Code: Select all

java -jar $JZMC_CLIENT_HOME/jZMConsole.jar
To:

Code: Select all

java -Dhttp.proxyHost=webcache.mydomain.com -Dhttp.proxyPort=8080 -jar $JZMC_CLIENT_HOME/jZMConsole.jar

Posted: Thu May 14, 2009 2:06 pm
by Islandcoz
I do have authorizations checked, and I am attempting to get the client to run on XP, have not tried it on linux yet.

I even added a special user to use from the JavaConsole, but I still cannot logon from the machine on the same network

Posted: Thu May 14, 2009 2:28 pm
by ahagadorn
Do you get the "Bad Password" message on the login screen, or does it go beyond that?

Posted: Thu May 14, 2009 4:59 pm
by Islandcoz
I let login failed message

Posted: Thu May 14, 2009 5:12 pm
by ahagadorn
What version of ZM are you running?

Posted: Thu May 14, 2009 9:17 pm
by Islandcoz
I am running v1.22.2 installed from a liveCD

Posted: Fri May 15, 2009 8:16 pm
by newvisionantenna
I had some of the same errors you mentioned when I was testing this on my install DVD. I'll try and take a look at it again and see what I did to fix it. You might find a hint off of stuff I put in the main jzmc section. It's all working now on my 1.24.x dvd, atleast the server side portion. I've tested XP, Vista, and Windows 7 and have had no problems running it.

Posted: Sat May 16, 2009 1:01 am
by Islandcoz
thanks