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

Logs not showing in the UI #150

Open
gek0 opened this issue Dec 6, 2022 · 0 comments
Open

Logs not showing in the UI #150

gek0 opened this issue Dec 6, 2022 · 0 comments

Comments

@gek0
Copy link

gek0 commented Dec 6, 2022

Version in use - ghcr.io/jenkins-x/jx-pipelines-visualizer:1.8.2

The site only shows "Loading the logs..."
This works for some time then stops. Restarting the Pod does not help in any way

Console Logs:

GET https://dashboard.api-dev.myapp.com/ns-jx/gitorg/myapp/PR-216/3/logs/live 425 (Unknown)

index.js?v=1.8.2:168 
Uncaught TypeError: Cannot read properties of undefined (reading 'startsWith')
    at transformLogIntoHtml (index.js?v=1.8.2:168:18)
    at EventSource.<anonymous> (index.js?v=1.8.2:277:30)

More detailed response on the failing GET request

no PipelineRun found using labelSelector lighthouse.jenkins-x.io/branch=PR-216,lighthouse.jenkins-x.io/buildNum=3,lighthouse.jenkins-x.io/refs.org=gitorg,lighthouse.jenkins-x.io/refs.repo=myapp

Reading the logs from CLI is working normally with jx pipeline 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

1 participant