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

[ERROR] [/pkg/config/rest/rest.go:50]: Failed on load rest config err:Get "http://core/api/v2.0/internalconfig": dial tcp: lookup core on 127.0.0.11:53: no such host, url:http://core:8282/api/v2.0/internalconfig #1781

Open
jdarwin opened this issue Jun 23, 2024 · 0 comments
Labels
help wanted Extra attention is needed

Comments

@jdarwin
Copy link

jdarwin commented Jun 23, 2024

Getting this error in harbor jobservice.
and in core service logs:

 [FATAL] [/core/main.go:156]: failed to initialize cache: cache type  not support
[INFO] [/core/controllers/base.go:159]: Config path: /etc/core/app.conf

I am using harbor 2.11, and porting from docker to docker swarm.

Following docker dns details running on my server:

sudo ss -tuln | grep ':53 '
udp   UNCONN 0      0             127.0.0.53%lo:53         0.0.0.0:*          
tcp   LISTEN 0      4096          127.0.0.53%lo:53         0.0.0.0:*

and below is the error log:

`[ERROR] [/pkg/config/rest/rest.go:50]: Failed on load rest config err:Get "http://core:8282/api/v2.0/internalconfig": dial tcp: lookup core on 127.0.0.11:53: no such host, url:http://core:8282/api/v2.0/internalconfig``

@zyyw zyyw added the help wanted Extra attention is needed label Jul 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants