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

Java buildpack error while creating offline buildpack #1083

Open
riddhichheda03 opened this issue Jul 8, 2024 · 0 comments
Open

Java buildpack error while creating offline buildpack #1083

riddhichheda03 opened this issue Jul 8, 2024 · 0 comments

Comments

@riddhichheda03
Copy link

riddhichheda03 commented Jul 8, 2024

Hi ,
I am trying to get 1 Java buildpack offline, but facing below error :
$ sudo bundle exec rake clean package OFFLINE=true PINNED=true
Pinning groovy version to 2.4.10
Pinning spring_boot_cli version to 1.5.17_RELEASE
Pinning tomcat version to 8.5.34
Pinning lifecycle_support version to 3.2.0_RELEASE
Pinning logging_support version to 3.2.0_RELEASE
Pinning access_logging_support version to 3.2.0_RELEASE
Pinning redis_store version to 1.3.6_RELEASE
[DownloadCache] WARN Request failure 1, retrying after 5s. Failure: 401
{
"errors" : [ {
"status" : 401,
"message" : "Unauthorized"
} ]
}
[DownloadCache] WARN Request failure 2, retrying after 10s. Failure: 401
{
"errors" : [ {
"status" : 401,
"message" : "Unauthorized"
} ]
}
[DownloadCache] WARN Unable to download https://repo.spring.io/ext-release-local/geode-store/index.yml into cache build/staging/resources/cache: 401
{
"errors" : [ {
"status" : 401,
"message" : "Unauthorized"
} ]
}
rake aborted!
Unable to find cached file for https://repo.spring.io/ext-release-local/geode-store/index.yml
/workspace/javab4161/gitjabab/java-buildpack/lib/java_buildpack/util/cache/download_cache.rb:79:in get' /workspace/javab4161/gitjabab/java-buildpack/rakelib/dependency_cache_task.rb:176:in get_from_cache'
/workspace/javab4161/gitjabab/java-buildpack/rakelib/dependency_cache_task.rb:168:in block (2 levels) in uris' /workspace/javab4161/gitjabab/java-buildpack/rakelib/dependency_cache_task.rb:166:in each'
/workspace/javab4161/gitjabab/java-buildpack/rakelib/dependency_cache_task.rb:166:in block in uris' /workspace/javab4161/gitjabab/java-buildpack/rakelib/dependency_cache_task.rb:165:in each'
/workspace/javab4161/gitjabab/java-buildpack/rakelib/dependency_cache_task.rb:165:in uris' /workspace/javab4161/gitjabab/java-buildpack/rakelib/dependency_cache_task.rb:46:in initialize'
/workspace/javab4161/gitjabab/java-buildpack/Rakefile:42:in new' /workspace/javab4161/gitjabab/java-buildpack/Rakefile:42:in <top (required)>'
/var/lib/gems/2.3.0/gems/rake-12.3.1/exe/rake:27:in `<top (required)>'
(See full trace by running task with --trace)

Could you please suggest a solution or workaround?
Thanks.

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

1 participant