-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the Bug
My console is getting errors like
[2] Error while flushing PostHog PostHogFetchNetworkError: Network error while fetching PostHog
[2] at retriable (file:///<project_dir>/node_modules/.pnpm/[email protected]/node_modules/posthog-node/lib/node/index.mjs:2835:23)
[2] at async retriable (file:///<project_dir>/node_modules/.pnpm/[email protected]/node_modules/posthog-node/lib/node/index.mjs:1601:25)
[2] at async PostHog.fetchWithRetry (file:///<project_dir>/node_modules/.pnpm/[email protected]/node_modules/posthog-node/lib/node/index.mjs:2825:16)
[2] at async PostHog._flush (file:///<project_dir>/node_modules/.pnpm/[email protected]/node_modules/posthog-node/lib/node/index.mjs:2786:17) {
[2] error: DOMException [TimeoutError]: The operation was aborted due to timeout
[2] at node:internal/deps/undici/undici:13510:13
[2] at async retriable (file:///<project_dir>/node_modules/.pnpm/[email protected]/node_modules/posthog-node/lib/node/index.mjs:2828:23)
[2] at async retriable (file:///<project_dir>/node_modules/.pnpm/[email protected]/node_modules/posthog-node/lib/node/index.mjs:1601:25)
[2] at async PostHog.fetchWithRetry (file:///<project_dir>/node_modules/.pnpm/[email protected]/node_modules/posthog-node/lib/node/index.mjs:2825:16)
[2] at async PostHog._flush (file:///<project_dir>/node_modules/.pnpm/[email protected]/node_modules/posthog-node/lib/node/index.mjs:2786:17),
[2] [cause]: DOMException [TimeoutError]: The operation was aborted due to timeout
[2] at node:internal/deps/undici/undici:13510:13
[2] at async retriable (file:///<project_dir>/node_modules/.pnpm/[email protected]/node_modules/posthog-node/lib/node/index.mjs:2828:23)
[2] at async retriable (file:///<project_dir>/node_modules/.pnpm/[email protected]/node_modules/posthog-node/lib/node/index.mjs:1601:25)
[2] at async PostHog.fetchWithRetry (file:///<project_dir>/node_modules/.pnpm/[email protected]/node_modules/posthog-node/lib/node/index.mjs:2825:16)
[2] at async PostHog._flush (file:///<project_dir>/node_modules/.pnpm/[email protected]/node_modules/posthog-node/lib/node/index.mjs:2786:17)
I checked the issue #3729
and #6551
Steps To Reproduce
- Start mastra playground using
pnpm dev
Expected Behavior
Environment variable - MASTRA_TELEMETRY_DISABLED=1
should be respected and stop sending events to posthog.
Environment Information
No response
Verification
- I have searched the existing issues to make sure this is not a duplicate
- I have included sufficient information for the team to reproduce and understand the issue
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working