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

Getting NotConnected from sccache --dist-status #2248

Open
jmakov opened this issue Aug 21, 2024 · 1 comment
Open

Getting NotConnected from sccache --dist-status #2248

jmakov opened this issue Aug 21, 2024 · 1 comment

Comments

@jmakov
Copy link

jmakov commented Aug 21, 2024

Having scheduler and client at 192.168.1.103, build server at 192.168.1.101, I'm getting NotConnected from sccache --dist-status.

scheduler.conf

public_addr = "192.168.1.103:10600"

[client_auth]
type = "token"
secret_key = "mysecretkey"

server.conf on 192.168.1.101

cache_dir = "/tmp/toolchains"
public_addr = "192.168.1.101:10501"
scheduler_url = "https://192.168.1.103:10600"

[builder]
type = "overlay"
# The directory under which a sandboxed filesystem will be created for builds.
build_dir = "/tmp/build"
# The path to the bubblewrap version 0.3.0+ `bwrap` binary.
bwrap_path = "/usr/bin/bwrap"

[scheduler_auth]
type = "jwt_token"
token = "mytoken"

~/.config/sccache/config

[dist]
scheduler_url = "https://192.168.1.103:10600"
toolchains = []
toolchain_cache_size = 5368709120

[dist.auth]
type = "token"
token = "mytoken"
@Mechanicu
Copy link

I've encountered this issue, which might be related to the need to configure a certificate for HTTPS. Changing it to HTTP might solve the problem.

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

2 participants