Coder Social home page Coder Social logo

Comments (11)

cdlliuy avatar cdlliuy commented on August 17, 2024

@haohaoyingxin , the spring dependency is still available here:
https://repo.spring.io/libs-snapshot/org/springframework/boot/spring-boot/1.5.2.RELEASE/

is that accessible for you?

from app-autoscaler-release.

haohaoyingxin avatar haohaoyingxin commented on August 17, 2024

@cdlliuy , the jumpstation is behind company network, but I have set up the http_proxy, following are test result with curl, looks ok:
/hao/bosh-1/app-autoscaler-release$ curl https://repo.spring.io/libs-snapshot/org/springframework/boot/spring-boot/1.5.2.RELEASE/

<title>Index of libs-snapshot/org/springframework/boot/spring-boot/1.5.2.RELEASE</title>

Index of libs-snapshot/org/springframework/boot/spring-boot/1.5.2.RELEASE

Name                                       Last modified      Size

../
spring-boot-1.5.2.RELEASE-javadoc.jar       03-Mar-2017 16:15  1.58 MB
spring-boot-1.5.2.RELEASE-javadoc.jar.asc   03-Mar-2017 16:15  183 bytes
spring-boot-1.5.2.RELEASE-sources.jar       03-Mar-2017 16:15  467.02 KB
spring-boot-1.5.2.RELEASE-sources.jar.asc   03-Mar-2017 16:15  183 bytes
spring-boot-1.5.2.RELEASE.jar               03-Mar-2017 16:15  652.06 KB
spring-boot-1.5.2.RELEASE.jar.asc           03-Mar-2017 16:15  183 bytes
spring-boot-1.5.2.RELEASE.pom               03-Mar-2017 16:15  9.85 KB
spring-boot-1.5.2.RELEASE.pom.asc           03-Mar-2017 16:15  183 bytes

Artifactory Online Server at repo.spring.io Port 443

from app-autoscaler-release.

haohaoyingxin avatar haohaoyingxin commented on August 17, 2024

@cdlliuy here is the whole output of the cmd: bosh create-release, f.y.i.
bosh-create-release.log

from app-autoscaler-release.

qibobo avatar qibobo commented on August 17, 2024

@haohaoyingxin I think you should set java proxy so that maven can apply it. #111

from app-autoscaler-release.

haohaoyingxin avatar haohaoyingxin commented on August 17, 2024

@qibobo java_proxy set as mentioned in #111 , but still can't access, same errors as before, kindly check attached log.
bosh-create-release.log

from app-autoscaler-release.

qibobo avatar qibobo commented on August 17, 2024

@haohaoyingxin Got the line below from your log. Seems your setting is not correct:
Picked up _JAVA_OPTIONS: -Dhttps.proxyHost=host -Dhttps.proxyPort=port
The host and port should be your proxy server host and port.

from app-autoscaler-release.

haohaoyingxin avatar haohaoyingxin commented on August 17, 2024

@qibobo thanks a lot qibobo, it works!
Here comes a new error, please kindly check:
~/hao/bosh-1/app-autoscaler-release$ bosh -e bosh-1 -d app-autoscaler \

 deploy templates/app-autoscaler-deployment.yml \
 --vars-store=bosh-lite/deployments/vars/autoscaler-deployment-vars.yml \
 -v system_domain=bosh-lite.com \
 -v cf_admin_password=changeme \
 -v skip_ssl_validation=true

Using environment '10.3.0.6' as client 'admin'

Using deployment 'app-autoscaler'

Task 2
Task 3
Task 2 | 05:21:09 | Downloading remote release: Downloading remote release
Task 3 | 05:21:09 | Downloading remote release: Downloading remote release (00:00:20)
L Error: Downloading remote release failed. Check task debug log for details.
Task 3 | 05:21:29 | Error: Downloading remote release failed. Check task debug log for details.
Task 2 | 05:21:29 | Downloading remote release: Downloading remote release (00:00:20)
L Error: Downloading remote release failed. Check task debug log for details.
Task 2 | 05:21:29 | Error: Downloading remote release failed. Check task debug log for details.

Task 2 Started Tue Sep 11 05:21:09 UTC 2018
Task 2 Finished Tue Sep 11 05:21:29 UTC 2018
Task 2 Duration 00:00:20
Task 2 error

Task 3 Started Tue Sep 11 05:21:09 UTC 2018
Task 3 Finished Tue Sep 11 05:21:29 UTC 2018
Task 3 Duration 00:00:20
Task 3 error

Creating and uploading releases:

Exit code 1

from app-autoscaler-release.

qibobo avatar qibobo commented on August 17, 2024

@haohaoyingxin This cloudfoundry/bosh-cli#429 may help you.

from app-autoscaler-release.

haohaoyingxin avatar haohaoyingxin commented on August 17, 2024

@qibobo Hi qibobo, I am operating on the jumpbox(eth2: 10.3.0.1), which reside in the same subnet with bosh-director(10.3.0.6), in this case, no need to set BOSH_ALL_PROXY anymore to make bosh cli connect to bosh-director, HTTP_PROXY has been set as env on this jumpox, when I try to deploy the app-autoscaler with bosh deploy cmd, bosh cli try to download the remote release to jumpbox right? or download the remote-release to bosh-director directly? If answer is latter, does it mean bosh-director also need internet access?

from app-autoscaler-release.

qibobo avatar qibobo commented on August 17, 2024

@haohaoyingxin I think bosh cli downloads the remote releases and then uploads them to bosh director(I am not very sure). And if you have already set https_proxy in your bosh-cli machine and it still does not work. Maybe bosh-cli does not apply the https_proxy. Anyway, I think you can create a issue in the bosh-cli repo for the proxy issue.

from app-autoscaler-release.

haohaoyingxin avatar haohaoyingxin commented on August 17, 2024

@qibobo Thanks for the hint. This ticket can be closed.

from app-autoscaler-release.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.