SongKong Jaikoz

SongKong and Jaikoz Music Tagger Community Forum

Connection through proxy server

Hi,

I’m new Jaikoz user, so please be patient :slight_smile:
Is it possible to connect to musicbrainz serwer through the proxy? I didn’t find any setting regarding this in the application (Windows version 2.3.0). I’ve tried to set up/change Java settings (Control Panel -> Java -> Networking) whitout any effect… Did someone try this?

Regards,
Adam

Hi, actually this has never been requested and I havent implemented anything specially so maybe there is some work to be done on this.

I foster this. Currently, I run Jaikoz in a firewalled environment and I have to allow some strange connections. So I would love to see proxy support in Jaikoz.

BTW: Whenever I use “Update tags from existing MusicBrainz ID” I see an outgoing http connection to either 195.10.34.73 or .79 - reverse resolution doesn’t give me clue to what this connection is going to (rsvd-akamaiint-73.34.10.195.in-addr.arpa). The address seems not to be some of the MusicBrainz servers. Is Jaikoz calling home?

Peter

No its not calling home, its either the MB XMLService machine or the Artwork lookup, I couldnt tell you offhand I dont use ip addresses directly.

I have the same problem: I cannot connect to musicbrainz server because of the proxy.

I’m a new user…

Has this been addressed? I’m behind a proxy at work so it’s not a big need.

No sorry this is Issue #863 on the new features list and hasnt been done yet.

Ehm? no news about this issue?

Not done yet, again a contribution of $100 USD would guarantee this for the next major release.

Mmm? no, I think I paid enough for a software I can’t use

It will be added , I just cannot guarantee when I have so many enhancement requests I cannot get them all done.

How can i put the proxy setting?

There is no option to do this at the moment

Good News, I was just looking into this and it turns out you can setup a Proxy server using the inbuilt Java properties http.proxyHost and http.proxyPort

e.g on OSX
Go to where you installed Jaikoz
Show popup, and select ‘Show Package Contents’
Go into Contents/
Select popup on Info.plist and choose Open With Other…
Select Application/TextEdit
Find the line that says -l2 -m2 -f
Add the proxyHost and proxyPort options for your proxy

 i.e.<string>-Xms150m -Xmx500m -XX:MaxPermSize=150m      -Dhttp.proxyHost=221.130.7.83 -Dhttp.proxyPort=80</string> 

Please give it a go and see if this works for you

Very good news indeed!

I tried it on Windows (no proxy problems with the Mac at home) and it actually worked.

For Windows users:
the file to modify (and run, afterwards) is: ~\Jthink\Jaikoz\Jaikoz.bat

@echo off
set CLASSPATH=
java -Xms150m -Xmx400m -XX:MaxPermSize=150m -Dhttp.proxyHost=#.#.#.# -Dhttp.proxyPort=# -jar lib\\jaikoz.jar -l2 -m2 -f

(replace #s with your proxy and port numbers)

Thank you very much, Paul!

Forgot to say that you’ll have to keep running Jaikoz using Jaikoz.bat instead of Jaikoz.exe

Mmmm… it now connects flowlessly to MusicBrainz, but can’t connect to AmpliFIND server any more.

Any idea why?

Aah, good point - the AmpliFIND server is connected via a non Java program (Genpuid) so this takes no notice of these Java parameters, so this solution will not work for Genpuid :frowning:

The good news is I have been adding proxy support as a more user friendly option to Jaikoz by making configuration part of the preferences, this will also allow you to connect to proxies that require a username and password. The underlying genpuid program does support proxies so this can take account of the preferences as well, and all this will be available in the Beta of Jaikoz 3.6 within a couple of weeks.

Cool stuff! Too bad I don’t work at the place where I needed the Proxy support anymore. Hehehe

Definitely can see the need/want.