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

Live Activity not working on Self-Hosted instance #26106

Closed
DogeAmazed opened this issue Nov 10, 2024 · 1 comment · Fixed by #27667
Closed

Live Activity not working on Self-Hosted instance #26106

DogeAmazed opened this issue Nov 10, 2024 · 1 comment · Fixed by #27667
Labels
bug Something isn't working right

Comments

@DogeAmazed
Copy link

Bug Description

Bug description

Live Acitivty page is not working on self-hosted instance.
Frontend tries to fetch http://localhost:8666/events and http://localhost:8666/stats.

billede

How to reproduce

  1. Navigate to self-hosted live activity page
  2. Page shows "Waiting for events…"

Additional context

Maybe the problem is caused by this code?
https://github.com/PostHog/posthog/blob/d844b47438495358deddbac9cf13006e3fd72f0b/frontend/src/lib/utils/apiHost.ts#L11C17-L11C37

Debug info

- [ ] PostHog Cloud, Debug information: [please copy/paste from https://us.posthog.com/settings/project-details#variables or https://eu.posthog.com/settings/project-details#variables]
- [ x ] PostHog Hobby self-hosted with `docker compose`, version/commit: d844b47438495358deddbac9cf13006e3fd72f0b
- [ ] PostHog self-hosted with Kubernetes (deprecated, see [`Sunsetting Kubernetes support`](https://posthog.com/blog/sunsetting-helm-support-posthog)), version/commit: [please provide]
@DogeAmazed DogeAmazed added the bug Something isn't working right label Nov 10, 2024
@olegdater
Copy link

olegdater commented Dec 12, 2024

+1 same here

I think you are right about the code you provided, here's what i have lots of in console log:

localhost:8666/events:1 
        
        
       Failed to load resource: net::ERR_CONNECTION_REFUSEDUnderstand this errorAI
localhost:8666/events:1 
        
        
       Failed to load resource: net::ERR_CONNECTION_REFUSEDUnderstand this errorAI
localhost:8666/events:1 
        
        
       
      ```

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working right
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants