Skip to content

Problem connecting to lab.open-roberta.org because of unknown certificate / protocol mismatch #59

@burgr033

Description

@burgr033

Hi,

we encountered following problem, somewhat after october we could not connect to lab.open-roberta.org via the connector.

After a debug session, we found out, that the problem (we actually encountered ourselves previously with different software) was that the Java cacerts file does not know the Harica CA which is used for certificates @ lab.open-roberta.org.

As mentioned in #28, this can be solved by injecting the CA Certificates from Harica into the Java-Keystore manually.

I just wanted to inform you about this issue, that is related to the certificate used over at lab.open-roberta.org. I don't think this is your problem to solve, but I would suggest improving the error handling in openURLConnection().

The error we saw first, was a 400 http bad request error. The URL which it tried to connect to was http://lab.open-roberta.org:443/rest/pushcmd. Which should fail because of the protocol mismatch. This happens because after catching the real error (certificate unknown) it tries to connect anyway using http, which fails. The underlying error is caught, but never presented anywhere and get's shadowed by the protocol mismatch.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions