NoProxy in some self host environments
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 45/100
- Loại issue
- Tài liệu
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- helm, kubernetes
- Lĩnh vực
- devops, documentation, infrastructure
Hướng nghiên cứu
Issue xác định các pod gitserver-0 và repo-updater, cùng các giá trị NO_PROXY bắt buộc là localhost, sourcegraph-frontend-internal và gitserver-0.gitserver. Tìm mục tài liệu Helm liên quan đến cấu hình proxy cho pod, ghi lại các thiết lập này và bối cảnh lỗi, đồng thời xác minh rằng hướng dẫn bao quát cả hai pod.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
I've recently deployed SourceGraph with the Code Host GitHub. The environment where it was delpoyed uses injected proxies for the internal applications to reach the internet; this includes http, https and no_proxy. I had quite some issues for a while, having to track the traffic to see what went wrong.
Specifically, there was a problem in the repo-updater pod that caused other pods to fail as well; the error message found in the logs being: [...] error="invalid character '<' looking for beginning of value". Furthermore, the gitserver-0 pod failed once the repo-updater had been fixed.
Solution:
The problem in my case was that the proxy was routing internal traffic using the cluster internal DNS to the internet, which of course returned errors. In this specific case, an error page that returned HTML content, which caused the go code to fail.
When setting proxies for the pods, the gitserver-0 and repo-updater pods require a no_proxy/NO_PROXY envvar with the following values: localhost,sourcegraph-frontend-internal,gitserver-0.gitserver. This is assuming that your http/https proxies forward all other traffic elsewhere.
Given that this has caused quite a headache while fixing,this might be worth adding somewhere in your documentation, hopefully helping out other PoCs.
not sure if it's a similar issue, but at least the error message and the use of a proxy was identical in https://github.com/sourcegraph/sourcegraph/issues/2360
- Ngôn ngữ chính
- Go Template
- Star
- 19
- Fork
- 24
- Merge trung bình
- 1 ngày 4 giờ
- Pull request đã merge (30 ngày)
- 13
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của sourcegraph/deploy-sourcegraph-helm
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 38/100
sourcegraph/deploy-sourcegraph-helm#612 · 3 bình luận ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 38/100
sourcegraph/deploy-sourcegraph-helm#401 · 1 bình luận ·
-
enhancement team/release-ship
sourcegraph/deploy-sourcegraph-helm#388 · 2 người được giao ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 55/100
Tất cả issue của sourcegraph/deploy-sourcegraph-helm
Issue tương tự
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 84/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
danielmiessler/LifeOS#2215 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
sympozium-ai/sympozium#627 ·
-
repo:raw-data
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
hotosm/raw-data-api#316 · 1 bình luận ·
-
agentic-workflows cascade-suspected
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100