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 communicating with remote server. #7

Open
joseangel-sc opened this issue Oct 30, 2019 · 3 comments
Open

Error communicating with remote server. #7

joseangel-sc opened this issue Oct 30, 2019 · 3 comments

Comments

@joseangel-sc
Copy link

Using a clean install I get the error Error communicating with remote server.

I just did a docker run -p 3000:3000 -t xiam/go-playground

When trying to compile the hello world in the web browser that error appears, console shows

➜ Documents docker run -p 3000:3000 -t xiam/go-playground 2019/10/30 03:44:43 Serving Go Playground at :3000 (with compiler https://play.golang.org/compile?output=json) 2019/10/30 03:45:06 compile error: "Post https://play.golang.org/compile?output=json: x509: certificate signed by unknown authority"

@JohnRoesler
Copy link

I had the same issue - ended up including my certs in the Dockerfile for webapp so it wouldn't have an issue calling the backend.

@sanudatta11
Copy link

@JohnRoesler Can u raise a PR for the Same

@JohnRoesler
Copy link

I added something like this to my docker - not sure it's worth adding in a PR because it would likely be different for each user:

RUN mkdir /usr/local/share/ca-certificates/my-certs
RUN curl http://url-to-my-cert-bundle.crt
RUN update-ca-certificates

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

3 participants