question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. ItΒ collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

forge setup fails on mac with private registry

See original GitHub issue

I am trying to run forge setup on a mac with a private registry offered by an internal JFrog Artifactory server. I cannot finish the setup process due to the following error:

● ● Ξ» forge setup
β•‘ == Checking Kubernetes Setup ==
β•‘
β•‘ kubectl version --short
β•‘ Client Version: v1.9.6
β•‘ Server Version: v1.9.5
β•‘ 1 tasks run, 0 errors
β•‘ kubectl get service kubernetes --namespace default
β•‘ NAME         TYPE        CLUSTER-IP   EXTERNAL-IP   PORT(S)   AGE
β•‘ kubernetes   ClusterIP   10.233.0.1   <none>        443/TCP   35d
β•‘ 1 tasks run, 0 errors
β•‘
β•‘ == Setting up Docker ==
β•‘
β•‘ Registry type (one of ecr, gcr, generic)[generic]:
β•‘ Docker registry url[registry.hub.docker.com]: dev.artifactory.xyz.intra
β•‘ Docker user (use "-" to leave unspecified): auser
β•‘ Docker password:
β•‘ Docker namespace/organization (enter username again for standard accounts): online
β•‘
β•‘ registry: {type: docker, url: dev.artifactory.xyz.intra, user: auser,
β•‘   password: 'ABCDEF
β•‘
β•‘     ', namespace: online}
β•‘
β•‘ docker login -u auser -p <ELIDED> dev.artifactory.xyz.intra
β•‘ WARNING! Using --password via the CLI is insecure. Use --password-stdin.
β•‘ WARNING! Your password will be stored unencrypted in /Users/robert/.docker/config.json.
β•‘ Configure a credential helper to remove this warning. See
β•‘ https://docs.docker.com/engine/reference/commandline/login/#credentials-store
β•‘
β•‘ Login Succeeded
β•‘ docker pull registry.hub.docker.com/datawire/forge-setup-test:1
β•‘ 1: Pulling from datawire/forge-setup-test
β•‘ Digest: sha256:c0537ff6a5218ef531ece93d4984efc99bbf3f7497c0a7726c88e2bb7584dc96
β•‘ Status: Image is up to date for registry.hub.docker.com/datawire/forge-setup-test:1
β•‘ docker tag registry.hub.docker.com/datawire/forge-setup-test:1 dev.artifactory.xyz.intra/online/forge_test:dummy
β•‘ docker push dev.artifactory.xyz.intra/online/forge_test:dummy
β•‘ The push refers to repository [dev.artifactory.xyz.intra/online/forge_test]
β•‘ e154057080f4: Preparing
β•‘ e154057080f4: Layer already exists
β•‘ dummy: digest: sha256:11a6af2edd09100d7a35abacacefd269404cf44aff537668235321d4f4caa485 size: 528
β•‘ GET https://dev.artifactory.xyz.intra/v2/online/forge_test/manifests/dummy
β•‘ 16 tasks run, 1 errors
β•‘   setup: HTTPSConnectionPool(host='dev.artifactory.xyz.intra', port=443): Max retries exceeded with url: /v2/online/forge_test/manifests/dummy (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x10cb16990>: Failed to establish a new connection: [Errno 8] No address found',))
β•‘
β•‘ -- please try again --

Any hint on how to solve this issue?

Issue Analytics

  • State:open
  • Created 5 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
robertmirceacommented, May 30, 2018

Here you are:

cat forge.yaml
registry:
  type: docker
  url: dev.artifactory.xyz.intra
  verify: false
  namespace: online
0reactions
whybeyoungcommented, Dec 25, 2018

ignore the setup , and create forge.yaml by hand. No problem. setup is intended to genreate a forge.yaml.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Mac OS X: (docker? git?) credentials and keychain failure #28
I run forge deploy of the todo app against an empty cluster. ... band Forge work involving push/pull from authorized or private registries....
Read more >
Can't resolve '@forge/resolver'
1. Navigate to the static/hello-world directory. 2. Install the needed dependencies: npm install. Build the assets: npm run build.
Read more >
How to replace Docker with Podman on a Mac - Red Hat
Want to use Podman to work with containers? Here's what you need to know about Podman on a Mac.
Read more >
npm behind a proxy fails with status 403 - Stack Overflow
I have set up Authoxy to not require a username/password. The same error happens when I bypass Authoxy and provide the real proxy...
Read more >
Open a Mac app from an unidentified developer - Apple Support
For example, some apps were written before developer ID registration began. ... To change your security settings, see Protect your Mac from malware....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found