crc: [BUG] OCP Routes don't work using userland network stack
General information
- OS: Linux / macOS / Windows
- Hypervisor: KVM / Hyper-V / hyperkit
- Did you run
crc setupbefore starting it (Yes/No)? - Running CRC on: Laptop / Baremetal-Server / VM
CRC version
# Put `crc version` output here
crc version ✘ 130
CodeReady Containers version: 1.24.0+5f06e84b
OpenShift version: 4.7.2 (embedded in executable)
CRC status
# Put `crc status --log-level debug` output here
CRC VM: Running
OpenShift: Running (v4.7.2)
Disk Usage: 12.64GB of 32.74GB (Inside the CRC VM)
Cache Usage: 13.36GB
Cache Directory: /Users/llowinge/.crc/cache
CRC config
# Put `crc config view` output here
- consent-telemetry : yes
Host Operating System
ProductName: Mac OS X
ProductVersion: 10.15.7
BuildVersion: 19H114
Steps to reproduce
I know that routes are not working and there should be manual settings prior to make it work with userland network stack. But i’m missing some example how to configure properly.
- Follow instructions on https://github.com/code-ready/crc/wiki/VPN-support--with-an--userland-network-stack
- Create app with some route
- Modify
/etc/hostswith
127.0.0.1 localhost mysuperroute-llowinge.apps-crc.testing ...
- Run
curl mysuperroute-llowinge.apps-crc.testing
curl: (7) Failed to connect to mysuperroute-llowinge.apps-crc.testing port 80: Connection refused
Expected
Route works.
Actual
Route doesn’t work.
Logs
Before gather the logs try following if that fix your issue
$ crc delete -f
$ crc cleanup
$ crc setup
$ crc start --log-level debug
Please consider posting the output of crc start --log-level debug on http://gist.github.com/ and post the link in the issue.
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 22 (13 by maintainers)
@gbraad I was able to make it work with the chrome browser and ssh
+
Thanks for that, but is there a way to make it work also generally ? Eg. i want to access that route from curl/Java app ?