SongKong Jaikoz

SongKong and Jaikoz Music Tagger Community Forum

Problems with Connectng to musicbrainz

Size a Few Days Jaikos has problems with connecting to musicbrainz.

there are only 2 Messages like “network problem” and “unable to connect to musicbrainz server”

But Amplifind works, so Jaikoz can connect to Servers on the internet

I use the latest Jaikoz version from the website, on a 64 bit debian machine with sun jre 1.6.17.

any idea?

the output on the console is:

14/04/2010 19.22.10:com.jthink.jaikoz.manipulate.musicbrainzhelper.MusicBrainzServerQuery:doQuery:SEVERE: Problem doing Musicbrainz RESTQuery:IOException:Network is unreachable
java.net.ConnectException: Network is unreachable
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
        at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
        at java.net.Socket.connect(Socket.java:525)
        at sun.net.NetworkClient.doConnect(NetworkClient.java:158)
        at sun.net.www.http.HttpClient.openServer(HttpClient.java:394)
        at sun.net.www.http.HttpClient.openServer(HttpClient.java:529)
        at sun.net.www.http.HttpClient.<init>(HttpClient.java:233)
        at sun.net.www.http.HttpClient.New(HttpClient.java:306)
        at sun.net.www.http.HttpClient.New(HttpClient.java:323)
        at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:860)
        at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:801)
        at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:726)
        at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1049)
        at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:373)
        at com.jthink.jaikoz.manipulate.musicbrainzhelper.MusicBrainzServerQuery.doQuery(MusicBrainzServerQuery.java:242)
        at com.jthink.jaikoz.manipulate.musicbrainzhelper.MusicBrainzServerQuery.performQuery(MusicBrainzServerQuery.java:153)
        at com.jthink.jaikoz.manipulate.musicbrainzhelper.MusicBrainzRESTQuery.queryMusicBrainzForTrackListByPuid(MusicBrainzRESTQuery.java:709)
        at com.jthink.jaikoz.manipulate.musicbrainzhelper.MusicBrainzRESTQuery.findMatchFavouringMetadata(MusicBrainzRESTQuery.java:352)
        at com.jthink.jaikoz.manipulate.musicbrainzhelper.MusicBrainzRESTQuery.findMatch(MusicBrainzRESTQuery.java:308)
        at com.jthink.jaikoz.manipulate.musicbrainzhelper.MusicBrainzRESTQuery.updateFromOnlineDatabase(MusicBrainzRESTQuery.java:200)
        at com.jthink.jaikoz.manipulate.TagFromMusicBrainzWorkerThread.analyse(TagFromMusicBrainzWorkerThread.java:76)
        at com.jthink.jaikoz.manipulate.TaskWorkerThread.run(TaskWorkerThread.java:52)

if anithing more is needed (strace, network output) write a message

Are you still getting this ?

Unfortunately yes.

I can only think you have something skewy with your firewall, or are you retrying trying to match the same songs, in which case try against a different set.

No, cant be, tested it with songs i never used and on 2 DSL Lines and once with a direct connection to the internet.

hmm, well please email me your full logs using Advanced/Create Support Files to see if that holds any more clues.

ive got my problem,

i dont know why but the sun jre cant connect to the internet …
so i changed my java vm to openjdk and it works…

btw: openjdk seems to be faster than the sun-jre so maybe this could be an option for some linux users,

and btw: jaikoz wont work with gcj

[quote=nicname]ive got my problem,

i dont know why but the sun jre cant connect to the internet …
so i changed my java vm to openjdk and it works…
[/quote]

Ah AmpliFIND works because it is not using the JRE its a native process forked from the JVM, glad you solved it.