OCSP Connection refused
Closed this issue · 3 comments
Hello, do you have any idea about this error? It's just sometimes wrong
Array
(
[0] => INFO Checking input and output PDF paths.
[1] => INFO Getting key alias
[2] => INFO Used key alias: 1
[3] => INFO Loading private key
[4] => INFO Getting certificate chain
[5] => INFO Opening input PDF file: /xxx.pdf](xxx.pdf)
[6] => INFO Creating output PDF file: /xxx_signed.pdf](xxx_signed.pdf)
[7] => INFO Creating signature
[8] => INFO Updating PDF version info 1.4 -> 1.6
[9] => INFO Setting certification level
[10] => INFO Processing (it may take a while) ...
[11] => INFO Reading OCSP URL from certificate chain.
[12] => INFO Getting OCSP data from URL: http://qcpocsp2012.e-szigno.hu/
[13] => SEVERE Problem occured
[14] => ExceptionConverter: java.net.ConnectException: Connection refused (Connection refused)
[15] => at java.net.PlainSocketImpl.socketConnect(Native Method)
[16] => at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
[17] => at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
[18] => at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
[19] => at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
[20] => at java.net.Socket.connect(Socket.java:607)
[21] => at java.net.Socket.connect(Socket.java:556)
[22] => at sun.net.NetworkClient.doConnect(NetworkClient.java:180)
[23] => at sun.net.www.http.HttpClient.openServer(HttpClient.java:463)
[24] => at sun.net.www.http.HttpClient.openServer(HttpClient.java:558)
[25] => at sun.net.www.http.HttpClient.(HttpClient.java:242)
[26] => at sun.net.www.http.HttpClient.New(HttpClient.java:339)
[27] => at sun.net.www.http.HttpClient.New(HttpClient.java:357)
[28] => at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1226)
[29] => at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1205)
[30] => at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1056)
[31] => at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:990)
[32] => at sun.net.www.protocol.http.HttpURLConnection.getOutputStream0(HttpURLConnection.java:1340)
[33] => at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1315)
[34] => at com.lowagie.text.pdf.OcspClientBouncyCastle.getEncoded(OcspClientBouncyCastle.java:244)
[35] => at net.sf.jsignpdf.SignerLogic.signFile(SignerLogic.java:385)
[36] => at net.sf.jsignpdf.Signer.signFiles(Signer.java:235)
[37] => at net.sf.jsignpdf.Signer.main(Signer.java:131)
[38] =>
[39] => INFO Finished: Creating of signature failed.
)
Aren't you behind a proxy?
Can you provide a reproducer?
I don't use proxy.
I don't know how to reproduce it. Is it possible that the server was unavailable or timeout?
Yes, service outage or network issues could be the reasons.
DId you already succeed to proceed with the signature?