Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR Could not parse the response from ClearlyDefined #345

Open
phkrief opened this issue May 30, 2024 · 3 comments
Open

ERROR Could not parse the response from ClearlyDefined #345

phkrief opened this issue May 30, 2024 · 3 comments

Comments

@phkrief
Copy link

phkrief commented May 30, 2024

Folks,

When I run the tool against the following file:
https://gitlab.eclipse.org/eclipse-research-labs/nemo-project/nemo-kernel/meta-orchestrator/meta-orchestrator/-/blob/main/orchestration-engine/go.sum

I get the following result:

[main] INFO Querying Eclipse Foundation for license data for 43 items.
[main] INFO Found 26 items.
[main] INFO Querying ClearlyDefined for license data for 17 items.
[main] ERROR Could not parse the response from ClearlyDefined: An error occurred when trying to fetch coordinates for one of the components: Client network socket disconnected before secure TLS connection was established.
[main] INFO Found 8 items.
[main] ERROR Could not parse the response from ClearlyDefined: An error occurred when trying to fetch coordinates for one of the components: Client network socket disconnected before secure TLS connection was established.
[main] ERROR Could not parse the response from ClearlyDefined: An error occurred when trying to fetch coordinates for one of the components: Client network socket disconnected before secure TLS connection was established.
[main] INFO Found 2 items.
[main] ERROR Could not parse the response from ClearlyDefined: An error occurred when trying to fetch coordinates for one of the components: Client network socket disconnected before secure TLS connection was established.
[main] INFO Found 1 items.
[main] ERROR Could not parse the response from ClearlyDefined: An error occurred when trying to fetch coordinates for one of the components: Client network socket disconnected before secure TLS connection was established.
[main] INFO Error querying ClearlyDefined for go/golang/github.com%2Fwagslane/go-rabbitmq/v0.12.4
[main] INFO Found 5 items.
[main] INFO License information could not be automatically verified for the following content:
[main] INFO
[main] INFO go/golang/github.com%2Fwagslane/go-rabbitmq/v0.12.4
[main] INFO
[main] INFO This content is either not correctly mapped by the system, or requires review.

Any idea of what id wrong?
Thx a lot

@waynebeaton
Copy link
Collaborator

My best guess is that there's something wrong with ClearlyDefined. I can't replicate it. Maybe try again in a few minutes.

Let's leave this issue open regardless of whether or not it starts to work, though. We should try to do a better job of handling the error.

@phkrief
Copy link
Author

phkrief commented May 30, 2024

Wayne,
Are you saying that you got a correct analysis?
I tried again and I got the same error :-(.
So, maybe the error is on my side...

@waynebeaton
Copy link
Collaborator

It looks like a connection error to me. I'm not sure how to diagnose it further.

Here's what I get:

$ java -jar /gitroot/dash-licenses/shaded/target/org.eclipse.dash.licenses-1.1.1-SNAPSHOT.jar ~/Downloads/go.sum 
[main] INFO Querying Eclipse Foundation for license data for 43 items.
[main] INFO Found 26 items.
[main] INFO Querying ClearlyDefined for license data for 17 items.
[main] INFO Found 17 items.
[main] INFO License information could not be automatically verified for the following content:
[main] INFO 
[main] INFO go/golang/github.com%2Fwagslane/go-rabbitmq/v0.12.4
[main] INFO 
[main] INFO This content is either not correctly mapped by the system, or requires review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants