question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Bug] Appsmith server is unavailable after installing with Kubernetes install script

See original GitHub issue

Description

The home page dose not work after installing using k8s.install.sh.

[What happened] It can not display the editor page.

Steps to reproduce the behaviour:

  1. install using k8s.install.sh
  2. kubectl port-forward service/appsmith-editor 80:80
  3. open the page: http://localhost
  4. Allways a error page with “Appsmith server is unavailable”

All pods are ok.

redis-statefulset-0                         1/1     Running   0          17m
mongo-statefulset-0                         1/1     Running   0          17m
appsmith-internal-server-79c999fbb6-jf8jn   1/1     Running   0          10m
appsmith-editor-559b988c66-hnm5h            1/1     Running   0          10m

Important Details

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

3reactions
zdb999commented, Apr 29, 2021

I had this issue. The problem is that the front end expects to talk to the back end service through from the browser on certain routes. This means that Appsmith doesn’t work on Kubernetes through port forwarding, you have to set up an ingress controller.

If you want to protect it from the outside world, you can disable account sign ups and/or use your reverse proxy to add another auth layer (I used basic auth, with TLS enabled.) If you have access to the actual machines in the Kubernetes cluster, you could also probably access it through a VPN that sits outside Kubernetes.

I have a Helm chart with my configuration. It’s not fit for public consumption right now, but I could probably clean it up and release it if people are interested.

0reactions
Hokwangcommented, Jun 18, 2021

@zdb999 please look at https://github.com/appsmithorg/appsmith/pull/2558 and you can provide helm chart first version.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Deployment Errors - Appsmith
If you chose to initialize a new database and are seeing this error, it could be due to an error while fetching dependencies...
Read more >
[Bug]: Error deploying appsmith on heroku (Appsmith ... - GitHub
Steps To Reproduce. Go to Heroku setup in de documentation. Setup Appsmith in Heroku. Open the app. Public Sample App. https ...
Read more >
Installing Appsmith On K8s Using Helm Charts - YouTube
Hey folks . In our community call this week, will have Shri from our engineering team talk about k8s and how to install...
Read more >
Been self-hosting close to half a year now. All running ... - Reddit
Heh, I just installed my first postgresql docker image because I wanted to see ... What happens if your primary DNS server is...
Read more >
Helm Charts to deploy Appsmith in Kubernetes - Bitnami
Deploying Bitnami applications as Helm Charts is the easiest way to get started with our applications on Kubernetes. Our application containers are designed ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found