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

Use tcp on port 3000 for puma when nginx socket is empty #3939

Merged
merged 1 commit into from
Aug 26, 2024
Merged

Conversation

johha
Copy link
Contributor

@johha johha commented Aug 26, 2024

The current dev setup uses nginx to forward requests to CC. devenv.sh script sets the nginx_socket to empty string as socket communication can be problematic depending on the OS and Docker setup. In this case Thin would open a tcp connection to port 3000. This change does the same for Puma.

  • I have reviewed the contributing guide

  • I have viewed, signed, and submitted the Contributor License Agreement

  • I have made this pull request to the main branch

  • I have run all the unit tests using bundle exec rake

  • I have run CF Acceptance Tests

The current dev setup uses nginx to forward requests to CC.
`devenv.sh` script sets the nginx_socket to empty string as socket
communication can be problematic depending on the OS and Docker setup.
In this case Thin would open a tcp connection to port 3000.
This change does the same for Puma.
@johha johha merged commit 471e17d into main Aug 26, 2024
8 checks passed
@johha johha deleted the puma-3000 branch August 26, 2024 12:11
ari-wg-gitbot added a commit to cloudfoundry/capi-release that referenced this pull request Aug 26, 2024
Changes in cloud_controller_ng:

- Use tcp on port 3000 for puma when nginx socket is empty
    PR: cloudfoundry/cloud_controller_ng#3939
    Author: Johannes Haass <[email protected]>
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

Successfully merging this pull request may close these issues.

2 participants