KusionStack / KusionStack/karpor

Karpor behind ingress getting error recv() failed (104: Connection reset by peer) while reading upstream

Open
#801 4 comments 0 reactions 0 assignees View on GitHub
question
Dominant language
Go
Stars
1.7k
Forks
113
PR merge metrics
No merged PRs in 30d

Description

Hi,

I am trying to run karpor ui behind ingress but on hitting endpoint i get error "104: Connection reset by peer)".
Has anyone tried running karpor behind ingress?

here is my configuration

```
Karpor version - v0.6.1
```
ingress config -

```
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
annotations:
kubernetes.io/ingress.class: nginx
nginx.ingress.kubernetes.io/proxy-buffer-size: 64k
nginx.ingress.kubernetes.io/proxy-connect-timeout: 600s
nginx.ingress.kubernetes.io/proxy-read-timeout: 600s
nginx.ingress.kubernetes.io/proxy-send-timeout: 600s
nginx.ingress.kubernetes.io/server-snippet: keepalive_timeout 120s;
name: karpor-ingress
namespace: karpor
spec:
rules:
- host: karpor.xyz.net
http:
paths:
- backend:
service:
name: karpor-server
port:
number: 7443
path: /
pathType: Prefix
```

i have tried proxy read annotation but didn't work for me.
Appreciate any leads.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the request through the provided Kubernetes Ingress configuration for karpor-server on port 7443, using Karpor v0.6.1, and inspect the ingress and upstream behavior around the connection reset. Done means the Karpor UI endpoint works through ingress without the reported recv() failed error; the issue does not name repository files or tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
kubernetes, nginx
Domain
infrastructure, networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.