(RuntimeError) org.apache.http.client.protocol.ResponseProcessCookies processCookies

83 views
Skip to first unread message

Andrei Bamboi

unread,
Jul 5, 2021, 8:25:13 AM7/5/21
to license-finder
Hello guys,

I am running license finder against maven project and got the below stack error . Any idea much appreciated. 

The license_finder runs on a gitlab pipeline. Weird that on local , when running mvn org.codehaus.mojo:license-maven-plugin:download-licenses, i still got those header warnings but the phase complete successfully, exit 0

 license_finder --decisions-file=$DECISION_FILE_PATH --python-version=3

33LicenseFinder::Maven: is active

34/usr/lib/ruby/gems/2.7.0/gems/license_finder-6.13.0/lib/license_finder/package_managers/maven.rb:20:in `current_packages': Command 'mvn org.codehaus.mojo:license-maven-plugin:download-licenses' failed to execute: Jul 02, 2021 7:24:10 AM org.apache.http.client.protocol.ResponseProcessCookies processCookies (RuntimeError)

35WARNING: Invalid cookie header: "Set-Cookie: _octo=GH1.1.791596213.1625210650; Path=/; Domain=github.com; Expires=Sat, 02 Jul 2022 07:24:10 GMT; Secure; SameSite=Lax". Invalid 'expires' attribute: Sat, 02 Jul 2022 07:24:10 GMT
36Jul 02, 2021 7:24:10 AM org.apache.http.client.protocol.ResponseProcessCookies processCookies
37WARNING: Invalid cookie header: "Set-Cookie: logged_in=no; Path=/; Domain=github.com; Expires=Sat, 02 Jul 2022 07:24:10 GMT; HttpOnly; Secure; SameSite=Lax". Invalid 'expires' attribute: Sat, 02 Jul 2022 07:24:10 GMT
38Jul 02, 2021 7:24:11 AM org.apache.http.client.protocol.ResponseProcessCookies processCookies
39WARNING: Invalid cookie header: "Set-Cookie: _octo=GH1.1.1248379301.1625210651; Path=/; Domain=github.com; Expires=Sat, 02 Jul 2022 07:24:11 GMT; Secure; SameSite=Lax". Invalid 'expires' attribute: Sat, 02 Jul 2022 07:24:11 GMT
40Jul 02, 2021 7:24:11 AM org.apache.http.client.protocol.ResponseProcessCookies processCookies
41WARNING: Invalid cookie header: "Set-Cookie: logged_in=no; Path=/; Domain=github.com; Expires=Sat, 02 Jul 2022 07:24:11 GMT; HttpOnly; Secure; SameSite=Lax". Invalid 'expires' attribute: Sat, 02 Jul 2022 07:24:11 GMT
42 from /usr/lib/ruby/gems/2.7.0/gems/license_finder-6.13.0/lib/license_finder/package_manager.rb:105:in `current_packages_with_relations'
43 from /usr/lib/ruby/gems/2.7.0/gems/license_finder-6.13.0/lib/license_finder/scanner.rb:42:in `each'
44 from /usr/lib/ruby/gems/2.7.0/gems/license_finder-6.13.0/lib/license_finder/scanner.rb:42:in `flat_map'
45 from /usr/lib/ruby/gems/2.7.0/gems/license_finder-6.13.0/lib/license_finder/scanner.rb:42:in `active_packages'
46 from /usr/lib/ruby/gems/2.7.0/gems/license_finder-6.13.0/lib/license_finder/core.rb:83:in `current_packages'
47 from /usr/lib/ruby/gems/2.7.0/gems/license_finder-6.13.0/lib/license_finder/core.rb:78:in `decision_applier'
48 from /usr/lib/ruby/2.7.0/forwardable.rb:229:in `any_packages?'
49 from /usr/lib/ruby/gems/2.7.0/gems/license_finder-6.13.0/lib/license_finder/license_aggregator.rb:17:in `block in any_packages?'
50 from /usr/lib/ruby/gems/2.7.0/gems/license_finder-6.13.0/lib/license_finder/license_aggregator.rb:15:in `map'
51 from /usr/lib/ruby/gems/2.7.0/gems/license_finder-6.13.0/lib/license_finder/license_aggregator.rb:15:in `any_packages?'
52 from /usr/lib/ruby/gems/2.7.0/gems/license_finder-6.13.0/lib/license_finder/cli/main.rb:112:in `action_items'
53 from /usr/lib/ruby/gems/2.7.0/gems/thor-1.0.1/lib/thor/command.rb:27:in `run'
54 from /usr/lib/ruby/gems/2.7.0/gems/thor-1.0.1/lib/thor/invocation.rb:127:in `invoke_command'
55 from /usr/lib/ruby/gems/2.7.0/gems/thor-1.0.1/lib/thor.rb:392:in `dispatch'
56 from /usr/lib/ruby/gems/2.7.0/gems/thor-1.0.1/lib/thor/base.rb:485:in `start'
57 from /usr/lib/ruby/gems/2.7.0/gems/license_finder-6.13.0/bin/license_finder:6:in `<top (required)>'
58 from /usr/bin/license_finder:23:in `load'
59 from /usr/bin/license_finder:23:in `<main>'
61ERROR: Job failed: exit code 1
Reply all
Reply to author
Forward
0 new messages