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

Event log not loading #21621

Open
karljohns0n opened this issue Feb 11, 2025 · 3 comments
Open

Event log not loading #21621

karljohns0n opened this issue Feb 11, 2025 · 3 comments

Comments

@karljohns0n
Copy link

Hello,

I've been working with Harbor since 2.11.1, now upgraded to 2.12.0, and the Event log views have never loaded;

Image

I can see the hits on the proxy server with code 200 but logs are not showing, and there's no error in the browser console log;

Feb  9 17:22:03 172.20.0.1 proxy[3141492]: 172.20.0.1 - "GET /api/v2.0/export/cve/executions HTTP/1.0" 200 13 "https://registry.y.com/harbor/logs" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36" 0.002 0.002 .
Feb  9 17:22:15 172.20.0.1 proxy[3141492]: 172.20.0.1 - "GET /api/v2.0/export/cve/executions HTTP/1.0" 200 13 "https://registry.y.com/harbor/logs" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36" 0.002 0.002 .
Feb  9 17:22:17 172.20.0.1 proxy[3141492]: 172.20.0.1 - "GET /api/v2.0/export/cve/executions HTTP/1.0" 200 13 "https://registry.y.com/harbor/logs" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36" 0.001 0.002 .

Is there a way to troubleshoot this? Thanks

@Vad1mo
Copy link
Member

Vad1mo commented Feb 13, 2025

any other logs from the core? also switch the core in to debug mode to get more output.

@wy65701436
Copy link
Contributor

those events are purely UI based, did you clear cached of your browser?

@karljohns0n
Copy link
Author

@wy65701436 cache is not enabled in my browser, I have the network tools activated with disabled cache. I even tried with another browser.

@Vad1mo I restarted in debug mode. Here's the output when I click on refresh event logs;

Feb 16 12:35:12 172.20.0.1 core[3141492]: 2025-02-16T17:35:12Z [DEBUG] [/server/middleware/log/log.go:31]: attach request id a77acee0-8134-41f6-89f3-0cfb50ba12b1 to the logger for the request GET /api/v2.0/export/cve/executions
Feb 16 12:35:12 172.20.0.1 core[3141492]: 2025-02-16T17:35:12Z [DEBUG] [/server/middleware/artifactinfo/artifact_info.go:55]: In artifact info middleware, url: /api/v2.0/export/cve/executions
Feb 16 12:35:12 172.20.0.1 core[3141492]: 2025-02-16T17:35:12Z [DEBUG] [/server/middleware/security/session.go:47][requestID="a77acee0-8134-41f6-89f3-0cfb50ba12b1"]: a session security context generated for request GET /api/v2.0/export/cve/executions

I also upgraded from 2.12.0 to 2.12.2, same result. I see this error when starting:

Feb 16 12:26:03 172.20.0.1 core[3141492]: 2025-02-16T17:26:03Z [ERROR] [/pkg/audit/forward.go:44]: failed to create audit log, error dial tcp: missing address
Feb 16 12:26:03 172.20.0.1 core[3141492]: 2025-02-16T17:26:03Z [INFO] [/core/main.go:242]: initializing notification...
Feb 16 12:26:03 172.20.0.1 core[3141492]: 2025-02-16T17:26:03Z [INFO] [/pkg/notification/notification.go:77]: notification initialization completed
Feb 16 12:26:04 172.20.0.1 core[3141492]: 2025-02-16T17:26:04Z [INFO] [/core/main.go:261]: Version: v2.12.2, Git commit: 73072d0d
Feb 16 12:26:04 172.20.0.1 core[3141492]: 2025-02-16T17:26:04Z [INFO] [/core/main.go:263]: Fix empty subiss for meta info data.
Feb 16 12:26:04 172.20.0.1 core[3141492]: 2025-02-16T17:26:04Z [INFO] [/pkg/oidc/fix.go:37]: Not found any records with empty subiss, good to go.

Thoughs?

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

3 participants