Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stackstorm UI being really slow and does not show certain options #1007

Open
zsmanjot opened this issue Sep 26, 2023 · 9 comments
Open

Stackstorm UI being really slow and does not show certain options #1007

zsmanjot opened this issue Sep 26, 2023 · 9 comments

Comments

@zsmanjot
Copy link

Hi Team,

Our production stackstorm UI is not working fine from past couple of days (being a month now exactly) and it does not populate any data . Snippet below:

image

Even when it shows the data , it does not show some options as highlighted in the screenshot.

image

Can some one help on this?

@arm4b
Copy link
Member

arm4b commented Sep 26, 2023

Did you take a look for any errors in the web browser developer console?

@zsmanjot
Copy link
Author

Hi @armab

Thanks for replying.

I could see below errors:

image

But when i specifically click on actions and open any action and then look into execution , only then it shows the history. What could be the reason that it does not load on its own?

@zsmanjot
Copy link
Author

zsmanjot commented Aug 29, 2024

Hi

Could anyone help with this? It is the same and we are still struggling.

++ @arm4b

@fdrab
Copy link

fdrab commented Aug 29, 2024

What's your setup? the UI just calls the API to retrieve the results. Do you have the same issues if querying executions using postman?

@daymickcorr
Copy link

what does the command "st2 trace list" output
did you have a look at the log folder /var/log/st2

@zsmanjot
Copy link
Author

I am unaware of what to check in logs. Could anyone help here? With my new setup also , i am unable to access the UI and gives me gateway 504 error.

image

@daymickcorr
Copy link

I don't know either what to look for, error 504 means stackstorm is never sending information to nginx. I can try to guess what you should look for, based on when this issue happens or what you were trying to do.

I'm pretty sure you are using the default install.
st2-deployment-big-picture

3 components of stackstorm interact with nginx, st2web uses st2auth to login then the rest is st2api.

The fact that you seem to be authenticated, indicates to me you should not look in st2auth, and probably look st2api.

essentially currently all you know is that st2api is not answering back to nginx and you want to find out why.

Look for an error at the end of the st2api log as soon as the error happens. Look at the time the log entry is created, try to find a message that seems to tell you why st2api is not responding.

@zsmanjot
Copy link
Author

I am getting nothing in the logs as well for the errors. It just logs the query when i login to the UI.

image

@daymickcorr
Copy link

can you confirm you have looked at /var/log/st2/at2api.log

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants