Skip to content

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

Open
@Byunk

Description

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
  • os version: macOS 14.1.1

Metadata

Assignees

No one assigned

    Labels

    triageTo be investigated

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions