-
Notifications
You must be signed in to change notification settings - Fork 7
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
vmc problem 0.5.0.beta.10 #5
Comments
See this comment: cloudfoundry-attic/vmc-lib@5148d6c#commitcomment-2577769 The attached log was captured a week ago with the then-latest version of vmc.
Agreed, but I'm not sure I can work around that. |
More details: AFAICT the CC (at least the legacy CC) generates redirects using standard Rails conventions; that is, using the port the request came in, as conveyed by Rack env variables. This works nicely when the CC listens on a TCP port (e.g. 9022 as customary), as it will redirect there. The CC has two configuration knobs that are vaguely related, external_uri and external_port, but neither is taken into account for redirects. |
previously only redirected for GET/HEAD; now just convert to GET Change-Id: I7fc81a0cb58e49acaae9fb9833b6eea4df29d72f
Adding:
to the nginx router config fixed the issue for me, as long as the CC is only accessed on port 9080. That's acceptable for now, so I'll make this change in the Vagrant setup and retire the port 9022 NAT. |
See issue #5 for the back story.
Can you try again now? One caveat with 0.5.x: vmc register does not work, see cloudfoundry-attic/vmc#59 |
We thought the new vmc had a bug that was preventing it from targeting the local install, but it looks like you have a redirect without a port - and old vmc isn't being redirected. New vmc is, and is getting lost in the process.
Can you test with new vmc?
The text was updated successfully, but these errors were encountered: