gefyrahq / gefyra

Blazingly-fast :rocket:, rock-solid, local application development :arrow_right: with Kubernetes.
https://gefyra.dev
Apache License 2.0
680 stars 28 forks source link

[ERROR] Internal error occurred: failed calling webhook #537

Open Byunk opened 8 months ago

Byunk commented 8 months ago

Problem

After I call gefyra up with remote cluster, below error is occurred. It worked well before, but suddenly this happened. I tried re-install the gefyra but it didn't solve this problem.

on 1: A Kubernetes API Error occured.
      Reason:Internal Server Error
      Body:{"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"Internal error occurred: failed calling webhook \"client-parameters.gefyra.dev\": failed to call webhook: the server could not find the requested resource","reason":"InternalError","details":{"causes":[{"message":"failed calling webhook \"client-parameters.gefyra.dev\": failed to call webhook: the server could not find the requested resource"}]},"code":500}
on 1: A Kubernetes API Error occured.
      Reason:Internal Server Error
      Body:{"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"Internal error occurred: failed calling webhook \"client-parameters.gefyra.dev\": failed to call webhook: Post \"https://gefyra-admission.gefyra.svc:443/client-parameters?timeout=15s\": proxy error from vpn-seed-server:9443 while dialing 100.96.8.8:9443, code 503: 503 Service Unavailable","reason":"InternalError","details":{"causes":[{"message":"failed calling webhook \"client-parameters.gefyra.dev\": failed to call webhook: Post \"https://gefyra-admission.gefyra.svc:443/client-parameters?timeout=15s\": proxy error from vpn-seed-server:9443 while dialing 100.96.8.8:9443, code 503: 503 Service Unavailable"}]},"code":500}
Connecting local network 'gefyra-network-default' to the cluster (up to 10 min) |██████████████████████████████⚠︎         | (!) 3/4 [75%] in 7:23.1
Error: Gefyra could not successfully establish the connection to '192.168.65.254'.
If you have run 'gefyra up' with a remote cluster, a newly created route may not be working immediately.
Try running 'gefyra up' again after some time. Error: Gefyra could not successfully confirm the connection working.

Environment

> gefyra status
GefyraStatus(summary=<StatusSummary.INCOMPLETE: 'Gefyra is not running properly'>, cluster=GefyraClusterStatus(connected=False, operator=False, operator_image='', stowaway=False, stowaway_image='', namespace=False), client=GefyraClientStatus(version='2.0.2', cargo=True, cargo_image='quay.io/gefyra/cargo:2.0.2', network=True, connection=False, containers=0, bridges=0, kubeconfig='~/.gefyra/default.yaml', context='default-context', cargo_endpoint='...'))
> k version
Client Version: v1.29.0
Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3
Server Version: v1.26.11
WARNING: version difference between client (1.29) and server (1.26) exceeds the supported minor version skew of +/-1
> uname -a
Darwin DHVCYTX54F 23.1.0 Darwin Kernel Version 23.1.0: Mon Oct  9 21:28:31 PDT 2023; root:xnu-10002.41.9~6/RELEASE_ARM64_T8112 arm64
Truthans commented 8 months ago

Hey @Byunk, sorry for the late reply. We are currently drowning in project work and have a decimated team due to illness. Please bare with us for a little while longer. We'll get onto this as soon as we can.