RESCOMP Archives

November 2013

RESCOMP@LISTSERV.MIAMIOH.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Robin Robin <[log in to unmask]>
Reply To:
Research Computing Support <[log in to unmask]>, Robin Robin <[log in to unmask]>
Date:
Mon, 4 Nov 2013 17:27:50 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (52 lines)
Hi,

This is related to default Java default trusted certificates.
I'll find some instructions to add Twitter's CA into default trusted
certificate.

Robin


On Sat, Nov 2, 2013 at 5:14 PM, Mathur, Tanmay <[log in to unmask]> wrote:
> Hi,
>
> I am trying to run a Java program on the redhawk cluster that streams the
> twitter feed. However, when I run the program on the cluster I get an error
> about some certificate problem. But when I run the same program on my
> machine it runs just fine.
> I researched and found that probably a SSL certificate for twitter api might
> have to be added. I tried adding the certificate to the java certificate
> library but could not do it because I need sudo access for it.
> Please find the java error below:
> [Sat Nov 02 16:32:09 EDT 2013]Establishing connection.
> [Sat Nov 02 16:32:09 EDT 2013]sun.security.validator.ValidatorException:
> PKIX path building failed:
> sun.security.provider.certpath.SunCertPathBuilderException: unable to find
> valid certification path to requested target
> [Sat Nov 02 16:32:09 EDT 2013]Waiting for 250 milliseconds
> sun.security.validator.ValidatorException: PKIX path building failed:
> sun.security.provider.certpath.SunCertPathBuilderException: unable to find
> valid certification path to requested target
> Relevant discussions can be found on the Internet at:
> http://www.google.co.jp/search?q=944a924a or
> http://www.google.co.jp/search?q=24fd66eb
> TwitterException{exceptionCode=[944a924a-24fd66eb 944a924a-24fd66c1
> 944a924a-24fd66c1 944a924a-24fd66c1], statusCode=-1, message=null, code=-1,
> retryAfter=-1, rateLimitStatus=null, version=3.0.3}
> at twitter4j.internal.http.HttpClientImpl.request(HttpClientImpl.java:192)
> at
> twitter4j.internal.http.HttpClientWrapper.request(HttpClientWrapper.java:61)
> at twitter4j.internal.http.HttpClientWrapper.post(HttpClientWrapper.java:98)
> at twitter4j.TwitterStreamImpl.getFilterStream(TwitterStreamImpl.java:304)
> at twitter4j.TwitterStreamImpl$7.getStream(TwitterStreamImpl.java:292)
> at
> twitter4j.TwitterStreamImpl$TwitterStreamConsumer.run(TwitterStreamImpl.java:462)
>
>
>
> --
> Thanks & Regards,
> Tanmay Mathur
> E : [log in to unmask]
> T : 513-256-0032

ATOM RSS1 RSS2