Forecastle icon indicating copy to clipboard operation
Forecastle copied to clipboard

Results couldn't be loaded due to an error

Open michas2 opened this issue 3 years ago • 4 comments

I installed forecastle using helm install forecastle stakater/forecastle.

When I access the web interface I only get "Results couldn't be loaded due to an error". There is no error shown in kubectl logs.

What might be wrong? Is there a way to debug further?

michas2 avatar Apr 30 '22 22:04 michas2

From what I see, the api/apps endpoint simply return null. Looks like the AppsHandler in the backend is unhappy, but for some reason does not log any error message. I'm not sure how to debug this any further without major effort.

michas2 avatar May 01 '22 14:05 michas2

I have the same issue with the latest helm chart version 1.0.97.

muammercakir avatar Aug 14 '22 21:08 muammercakir

I'm stuck with the same issue. Is there any solution to this?

UPD: seems like forecastle does not react to ForecastleApp CRD. Apps exposed using ingress annotations work fine, but I currently cannot add an external app using the CRD - it just does not appear.

UPD2: Ok, sorry :) I should have enabled crdEnabled: true in the config for this to work.

igorcoding avatar Sep 19 '22 10:09 igorcoding

I encountered the same issue after a fresh Forecastle install. The issue for me was that had not configured any ingress with a forecastle.stakater.com/expose annotation yet. After adding this annotation to an ingress, the error message was gone.

Xide avatar Sep 22 '22 15:09 Xide

@davidkarlsen can you please check this issue as well?

rasheedamir avatar Jan 08 '23 18:01 rasheedamir

I can have a look, can you add some stack-traces please?

davidkarlsen avatar Jan 08 '23 18:01 davidkarlsen

@michas2 can you add stack-traces please?

karl-johan-grahn avatar Feb 01 '23 10:02 karl-johan-grahn

In a fresh installation of forecastle (1.0.131), we same error as above. The api/apps returns null.

The crd is installed and I tried both annotating an existing ingress and creating an Kind:ForecastleApp. Namespace selector is any. There is no error in the pod log. How can I debug further where is the error?

time="2023-10-26T11:09:06Z" level=info msg="Looking for forecastle apps in the following namespaces: * (All Namespaces)" _source="handlers/appsHandler.go:51"

andrasnemethcg avatar Oct 26 '23 11:10 andrasnemethcg

In a fresh installation of forecastle (1.0.131), we same error as above. The api/apps returns null.

The crd is installed and I tried both annotating an existing ingress and creating an Kind:ForecastleApp. Namespace selector is any. There is no error in the pod log. How can I debug further where is the error?

time="2023-10-26T11:09:06Z" level=info msg="Looking for forecastle apps in the following namespaces: * (All Namespaces)" _source="handlers/appsHandler.go:51"

After some digging around, it seems that instanceName filtered out my applications. So, now it is set to empty and works.

andrasnemethcg avatar Oct 26 '23 11:10 andrasnemethcg

@andrasnemethcg , @michas2 can we close this issue if its fixed on your side? or do we need some code change?

MuneebAijaz avatar Nov 29 '23 09:11 MuneebAijaz

@andrasnemethcg , @michas2 can we close this issue if its fixed on your side? or do we need some code change?

My problem was solved by removing the instanceName. Ok to close from my point of view. However, this is not my issue, but @michas2 's.

andrasnemethcg avatar Nov 29 '23 17:11 andrasnemethcg