mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-26 01:06:00 +03:00
[GH-ISSUE #4938] [bug]: Deploy with Helm charts hoppscotch with image: hoppscotch/hoppscotch and tag 2025.2.3 #1866
Labels
No labels
CodeDay
a11y
browser limited
bug
bug fix
cli
core
critical
design
desktop
discussion
docker
documentation
duplicate
enterprise
feature
feature
fosshack
future
good first issue
hacktoberfest
help wanted
i18n
invalid
major
minor
need information
need testing
not applicable to hoppscotch
not reproducible
pull-request
question
refactor
resolved
sandbox
self-host
spam
stale
testmu
wip
wont fix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/hoppscotch#1866
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @oo00spy00oo on GitHub (Mar 26, 2025).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/4938
Is there an existing issue for this?
Current behavior
I've tried with these configuration when install with Helm charts with image: hoppscotch/hoppscotch and tag 2025.2.3. When the application are deployed, I cannot access the application via domain, I also try to forward traffic from Kubernetes server to my local machine but have no available server to access. The deployment logs looks fine:
Steps to reproduce
Solution 1: with subpath diable:
Solution 2: With subpath enable
Logs and Screenshots
Environment
Production
Hoppscotch Version
Self-hosted
Interceptor
Not Applicable - Issue not related to network requests
Browsers Affected
No response
Operating System
None
Additional Information
No response
@g3Bg2 commented on GitHub (Mar 26, 2025):
@oo00spy00oo
To access you have to add your domain name.
Replace,
hoppscotch.example.com with hoppscotch.yourdomainname.com
hoppscotch-admin.example.com with hoppscotch-admin.yourdomainname.com
hoppscotch-backend.example.com with hoppscotch-backend.yourdomainname.com
To attach the IP address to your domain.
kubectl get ingress(this command will provide the IP address of you cluster)@oo00spy00oo commented on GitHub (Mar 26, 2025):
I know that, guy
I replaced my real domain by example.com
@g3Bg2 commented on GitHub (Mar 26, 2025):
@oo00spy00oo
Have you applied?
@oo00spy00oo commented on GitHub (Mar 26, 2025):
@g3Bg2
As I mentioned in my Helm configuration, I use Traefik instead of Nginx, but no matter about the Ingress Controller, it still work. Focus on my highlight here:
I also try to forward traffic from Kubernetes server to my local machine but have no available server to access@g3Bg2 commented on GitHub (Mar 26, 2025):
@oo00spy00oo
I was able to replicate your problem on my end. When using the traefik
After some troubleshooting, I’ve resolved the issue where the Hoppscotch application couldn’t be accessed via the domain when using Traefik as the Ingress Controller. The root cause was that Traefik wasn’t installed in the cluster, which meant there was no Ingress Controller to route external traffic to the hoppscotch-community service
kubectl get pods -n traefikandkubectl get svc -n traefik, both returned "No resources found in traefik namespace," confirming Traefik wasn’t deployed.Installed Traefik
Used Helm to install Traefik, which is a clean and manageable approach:
Verified Traefik deployment:
This showed a Traefik pod running and a LoadBalancer service with an EXTERNAL-IP (e.g., 203.0.113.10), indicating Traefik was now exposed externally.
Note: Remove this line(kubernetes.io/ingress.class: nginx) from ingress.yaml file. If you are using traefik.
@oo00spy00oo commented on GitHub (Mar 26, 2025):
@g3Bg2 Many thanks, but this is not the main point of this issue.
After reviewing the whole helm charts source, I found this:
It meant in the helm chart the name is fixed with
hoppscotch-community.Solution 1: The install command must change from
helm install community-hoppscotch ./charts/shc -f values.yaml -n hoppscotchtohelm install hoppscotch ./charts/shc -f values.yaml -n hoppscotchSolution 2: If you are installing with the name differrent from
hoppscotch(eg: community-hoppscotch), you must change the sectionserviceinvalues.yamlwith format:$releaseName-community.Eg: