dash-licenses icon indicating copy to clipboard operation
dash-licenses copied to clipboard

ERROR Could not parse the response from ClearlyDefined

Open phkrief opened this issue 1 year ago • 3 comments

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

phkrief avatar May 30 '24 20:05 phkrief

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.

waynebeaton avatar May 30 '24 20:05 waynebeaton

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...

phkrief avatar May 30 '24 21:05 phkrief

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.

waynebeaton avatar May 31 '24 01:05 waynebeaton