Skip to content

Logs not showing in the UI #150

@gek0

Description

@gek0

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions