I have a Sun SPARC Ultra 60 that I installed debian lenny on. (Linux Ultra60 2.6.26-2-sparc64-smp)
I have SABnzbd running via python no problems.
I have java 1.6 via OpenJDK. (java version "1.6.0_0" OpenJDK Runtime Environment (build 1.6.0_0-b11)
I also tried java GNU's GIJ/GCJ and had the same results.
I cant seem to get the sun-java6-jre installed for my life...
I can run ./episodebutler and can go to http://myip:8077 and get the gui
I can add the sabnzbd config and it connects no problem.
When I try to add either the nzbmatrix or newzbin configurations once I click save I get this error:
Error connecting to newzbin. IO error requesting NZB data for 'Dummy'(1).
Is there anyway to disable HTTPS as the communications method and enable HTTP?
I think I am having some SSL issue and dont care if its SSL or not...
and this is what I get in the log file:
###########################################################################
Oct 6, 2010 1:02:13 PM com.janoz.eb.update.Install getVersion
INFO: Error fetching version. New or pre 0.9 instalation is assumed.
Oct 6, 2010 1:02:13 PM com.janoz.eb.update.Install updateOrInstall
INFO: No Database version found.
Oct 6, 2010 1:02:13 PM com.janoz.eb.update.Install getNextShowId
INFO: Error fetching showId from sequence. New instalation is assumed.
Oct 6, 2010 1:02:13 PM com.janoz.eb.update.Install updateOrInstall
INFO: Assumed new install.
Oct 6, 2010 1:02:13 PM com.janoz.eb.update.Install updateOrInstall
INFO: Done.
Oct 6, 2010 1:02:14 PM com.janoz.eb.Core
SEVERE: Unable to start browser. Starting without it.
Oct 6, 2010 1:02:14 PM com.janoz.eb.Core doEpisodeUpdate
FINE: Fetching upcoming episodes.
Oct 6, 2010 1:02:14 PM com.janoz.eb.Core doSearchAndDownload
FINE: Starting search
Oct 6, 2010 1:02:14 PM com.janoz.news.impl.SabnzbdProcessor validate
FINE: While validating, response was '{"warnings":["2010-10-06 12:19:52,596\nWARNING\nAuthentication missing, please enter username/
password from Config->General into your 3rd party program:"]}'.
Oct 6, 2010 1:02:41 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: I/O exception (javax.net.ssl.SSLException) caught when processing request: java.lang.RuntimeException: Unexpected error: java.
security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
Oct 6, 2010 1:02:41 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: Retrying request
Oct 6, 2010 1:02:42 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: I/O exception (javax.net.ssl.SSLException) caught when processing request: java.lang.RuntimeException: Unexpected error: java.
security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
Oct 6, 2010 1:02:42 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: Retrying request
Oct 6, 2010 1:02:42 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: I/O exception (javax.net.ssl.SSLException) caught when processing request: java.lang.RuntimeException: Unexpected error: java.
security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
Oct 6, 2010 1:02:42 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: Retrying request
Oct 6, 2010 1:02:42 PM com.janoz.eb.config.AbstractConfig test
WARNING: Config test failed.
com.janoz.eb.ConfigurationException: Error connecting to newzbin. IO error requesting NZB data for 'Dummy'(1).
at com.janoz.eb.config.Newzbin.deliverConfigurable(Newzbin.java:107)
at com.janoz.eb.config.Newzbin.deliverConfigurable(Newzbin.java:12)
at com.janoz.eb.config.AbstractConfig.test(AbstractConfig.java:48)
at com.janoz.eb.gui.web.ConfigView.handleRequest(ConfigView.java:34)
at com.janoz.eb.gui.web.Dispatcher.handleRequest(Dispatcher.java:78)
at com.janoz.httpd.impl.RequestDispatcher.handleRequest(Unknown Source)
at com.janoz.httpd.Httpd$RequestProcessor.run(Unknown Source)
at java.lang.Thread.run(Thread.java:636)
Caused by: com.janoz.news.SearchException: IO error requesting NZB data for 'Dummy'(1).
at com.janoz.news.impl.NewzBinConnectorImpl.fillNZBByReportId(Unknown Source)
at com.janoz.news.impl.NewzBinConnectorImpl.validate(Unknown Source)
at com.janoz.eb.config.Newzbin.deliverConfigurable(Newzbin.java:105)
... 7 more
Caused by: javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterExceptio
n: the trustAnchors parameter must be non-empty
at sun.security.ssl.Alerts.getSSLException(Alerts.java:208)
at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1611)
at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1574)
at sun.security.ssl.SSLSocketImpl.handleException(SSLSocketImpl.java:1557)
at sun.security.ssl.SSLSocketImpl.handleException(SSLSocketImpl.java:1483)
at sun.security.ssl.AppOutputStream.write(AppOutputStream.java:83)
at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82)
at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140)
at org.apache.commons.httpclient.methods.EntityEnclosingMethod.writeRequestBody(EntityEnclosingMethod.java:502)
at org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.java:1973)
at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:993)
at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:397)
at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:170)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:324)
... 10 more
Caused by: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors paramete
r must be non-empty
at sun.security.validator.PKIXValidator.(PKIXValidator.java:75)
at sun.security.validator.Validator.getInstance(Validator.java:178)
at sun.security.ssl.X509TrustManagerImpl.getValidator(X509TrustManagerImpl.java:129)
at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:225)
at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:270)
at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:973)
at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:142)
at sun.security.ssl.Handshaker.processLoop(Handshaker.java:533)
at sun.security.ssl.Handshaker.process_record(Handshaker.java:471)
at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:904)
at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1116)
at sun.security.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:643)
at sun.security.ssl.AppOutputStream.write(AppOutputStream.java:78)
... 19 more
Caused by: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
at java.security.cert.PKIXParameters.setTrustAnchors(PKIXParameters.java:200)
at java.security.cert.PKIXParameters.(PKIXParameters.java:120)
at java.security.cert.PKIXBuilderParameters.(PKIXBuilderParameters.java:104)
at sun.security.validator.PKIXValidator.(PKIXValidator.java:73)
... 31 more
###################################################################################
I switched around my java versions but get the same result.
With a packet capture I see HTTPS data going out to nzbmatrix.com and newzbin.com.
I can browse to https pages from the built in browser and have openssl installed as well.
Episode Butler IO error requesting NZB data
Re: Episode Butler IO error requesting NZB data
It is a known issue with teh OpenJDK version. Could you try to install ca-certificates-java?
Without a recompile it isn't possible to change Episode butlers https connections for newzbin to http.
Without a recompile it isn't possible to change Episode butlers https connections for newzbin to http.
Re: Episode Butler IO error requesting NZB data
That seems to have fixed the problem.
I installed ca-certificates-java and it is able to add newzbin.com and nzbmatrix.com configs now.
Thanks again.
I installed ca-certificates-java and it is able to add newzbin.com and nzbmatrix.com configs now.
Thanks again.