-
Notifications
You must be signed in to change notification settings - Fork 232
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
[BUG] error: connect: connection refused - verify you have provided the correct host and port and that the server is currently running. #4121
Comments
@rtaparay Are you running |
This looks very similar to the experience I and some of my colleagues had when trying to run CRC 2.34.1 on Rocky 9 Linux and latest Manjaro Linux a few days after 2.34.1 was released. During
|
I've gotten the same error on Linux (fedora 39) since the switch to OCP 4.15.
|
We recently found out that due to recent change in the networking operator in 4.15 it does change the |
@praveenkumar I was able to download and test the files in #4144 and it seems to be working fine on Fedora 39. Below is some info.
Let me know if you'd like to see more info. Thanks. |
General information
crc setup
before starting it (Yes/No)? YESCRC version
CRC status
DEBU CRC version: 2.34.1+b470b5 DEBU OpenShift version: 4.15.3 DEBU Podman version: 4.4.4 DEBU Running 'crc status' CRC VM: Running OpenShift: Unreachable (v4.15.3) RAM Usage: 642.1MB of 10.96GB Disk Usage: 19.02GB of 32.68GB (Inside the CRC VM) Cache Usage: 26.29GB Cache Directory: /home/rtaparay/.crc/cache
CRC config
- consent-telemetry : no
Host Operating System
Steps to reproduce
Install
$ wget https://developers.redhat.com/content-gateway/rest/mirror/pub/openshift-v4/clients/crc/latest/crc-linux-amd64.tar.xz
$ tar xvf crc-linux-amd64.tar.xz
$ cd crc-linux-2.34.1-amd64
$ sudo cp crc /usr/local/bin/
$ crc setup
$ crc start -> when prompted enter pull secret
$ crc oc-env
$ export PATH="/home/rtaparay/.crc/bin/oc:$PATH" // export PATH=$PATH:$HOME/bin
$ echo 'export PATH="/home/rtaparay/.crc/bin/oc:$PATH"' >> .bashrc // echo 'export PATH=$PATH:$HOME/bin' >> ~/.bashrc
[rtaparay@localhost ~]$ crc version
CRC version: 2.33.0+c43b17
OpenShift version: 4.14.12
Podman version: 4.4.4
crc start
INFO Loading bundle: crc_libvirt_4.15.3_amd64...
INFO A CRC VM for OpenShift 4.15.3 is already running
Started the OpenShift cluster.
The server is accessible via web console at:
https://console-openshift-console.apps-crc.testing
Log in as administrator:
Username: kubeadmin
Password: tNXXXXX
Log in as user:
Username: developer
Password: developer
Use the 'oc' command line interface:
$ eval $(crc oc-env)
$ oc login -u developer https://api.crc.testing:6443
oc login -u developer -p developer https://api.crc.testing:6443
#error: dial tcp 172.30.31.54:6443: connect: connection refused - verify you have provided the correct host and port and that the server is currently running.
Expected
I would have logged in with the user developer
Actual
crc failed to start
Logs
Before gather the logs try following if that fix your issue
The text was updated successfully, but these errors were encountered: