-
Notifications
You must be signed in to change notification settings - Fork 27
Question: Unable to stage hello world java-see app #30
Comments
Hello @sclevine any help on this is appreciated, thanks. |
Do you use an HTTP/HTTPS proxy to connect to the internet on your workstation? |
Yes there is. I exported the certificate chain and added to the /usr/share/ca-certificates, but still no luck @ all. |
Hi @sclevine I was finally stage the app using offline buildpack, but now another hurdle. Running sample-java-app on port 46362... |
I got this fixed by building offline: java-buildpack version 4.12 which supports running spring app > 1.4. |
Hello Team,
I'm trying to understand cf local to see how I can use it in our project. Am pretty new to the cloud world as well. I installed cf local plugin & cloned a basic example from: https://github.com/18F/cf-hello-worlds
I ran the below commands but always get some certificate errors. I tried my best to import certs but still unable to go past this step. Any pointers would be helpful.
root@hostname:/code/cf-hello-worlds/java-see# update-ca-certificates
Updating certificates in /etc/ssl/certs...
1 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d...
Adding debian:java-bpCert-via_openssl_cmd.pem
done.
done.
root@hostname:/code/cf-hello-worlds/java-see# cf local stage java-see
Buildpack: will detect
[java-see] 2019-01-28T04:38:59.903285588Z [DownloadCache] WARN Unable to download https://java-buildpack.cloudfoundry.org/jvmkill/trusty/x86_64/index.yml into cache /tmp: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed
[java-see] 2019-01-28T04:38:59.903838075Z [Buildpack] ERROR Detect failed with exception #<RuntimeError: Jvmkill Agent error: Unable to find cached file for https://java-buildpack.cloudfoundry.org/jvmkill/trusty/x86_64/index.yml>
[java-see] 2019-01-28T04:38:59.903878599Z Jvmkill Agent error: Unable to find cached file for https://java-buildpack.cloudfoundry.org/jvmkill/trusty/x86_64/index.yml
[java-see] 2019-01-28T04:39:00.433670968Z None of the buildpacks detected a compatible application
[java-see] 2019-01-28T04:39:00.434500600Z 2019/01/28 04:39:00 Error: failed to build: exit status 222
Error: container exited with status 7
FAILED
root@hostname:/code/cf-hello-worlds/java-see#
The text was updated successfully, but these errors were encountered: