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

x/pkgsite: postgres container inaccessible on WSL #60009

Closed
stevenh opened this issue May 5, 2023 · 1 comment
Closed

x/pkgsite: postgres container inaccessible on WSL #60009

stevenh opened this issue May 5, 2023 · 1 comment

Comments

@stevenh
Copy link
Contributor

stevenh commented May 5, 2023

If you follow the instructions to setup Postres in postgres.md under WSL the container is inaccessible and hence all tests which require access to Postgres fail.

This is down to the fact that the ports aren't exposed as discussed in this WSL issue.

The workaround is to expose the ports on the localhost address.

@gopherbot gopherbot added this to the Unreleased milestone May 5, 2023
stevenh added a commit to stevenh/pkgsite that referenced this issue May 5, 2023
Expose the Postgres port to loopback so that it works under WSL,
enabling the tests run by all.bash to complete successfully based on
the setup instructions in doc/postgres.md.

Fixes golang/go#60009
@gopherbot
Copy link
Contributor

Change https://go.dev/cl/493076 mentions this issue: x/pkgsite: expose Postgres port to loopback

@golang golang locked and limited conversation to collaborators May 9, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants