You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
A clear and concise description of what the bug is:
When executing Flowise with DISABLE_TELEMETRY=true, there is an error occurring. Initially, it was assumed to be related to node-usage-telemetry, as the IPs belong to Cloudflare/US, suggesting a connection to Flowise Cloud. However, the issue persists even with telemetry disabled. Concerns arise regarding how token counting is performed, as it might imply that prompt content is sent to an external service. Alternatively, it could be related to Flowise Cloud rejecting requests due to the absence of an enterprise license.
To Reproduce
Steps to reproduce the behavior:
Set DISABLE_TELEMETRY=true in the environment variables.
Start Flowise (e.g., using Docker or another installation method).
Execute a flow with token counting or a feature that seems to trigger the error.
Observe the error in the logs or output.
Expected behavior
Token counting and related operations should function locally without external dependencies, especially when telemetry is disabled. This behavior should be an opt-in, to prevent unnecessary/unwanted communication with third-parties.
Screenshots
Failed to calculate number of tokens, falling back to approximate count TypeError: fetch failed
at node:internal/deps/undici/undici:13178:13
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async RetryOperation._fn (C:\Users\USERNAME\AppData\Local\npm-cache_npx\8b95a19c5c9c8708\node_modules\p-retry\index.js:50:12) {
[cause]: ConnectTimeoutError: Connect Timeout Error (attempted addresses: 104.21.32.1:443, 104.21.64.1:443, 104.21.48.1:443, 104.21.96.1:443, 104.21.80.1:443, 104.21.16.1:443, 104.21.112.1:443, timeout: 10000ms)
at onConnectTimeout (C:\Users\USERNAME\AppData\Local\npm-cache_npx\8b95a19c5c9c8708\node_modules\undici\lib\core\connect.js:237:24)
at Immediate._onImmediate (C:\Users\USERNAME\AppData\Local\npm-cache_npx\8b95a19c5c9c8708\node_modules\undici\lib\core\connect.js:188:35)
at process.processImmediate (node:internal/timers:483:21)
at process.topLevelDomainCallback (node:domain:160:15)
at process.callbackTrampoline (node:internal/async_hooks:128:24) {
code: 'UND_ERR_CONNECT_TIMEOUT'
}
}
I additionally tried with a docker-compose setup .. it seems that the env-variables (ENABLE_METRICS=false, METRICS_INCLUDE_NODE_METRICS=false) dont have an effect. no behavior is changed and also in the running container I dont see those listed. trying the same with npx i receive actually an error about unknown variables...
For me it's for both GPT4o & mini the case actually..! And it's also certainly related to our enterprise firewall that have blocked those ports. I suppose it would be great to have some env-variables to deactivate this..
Describe the bug
A clear and concise description of what the bug is:
When executing Flowise with
DISABLE_TELEMETRY=true
, there is an error occurring. Initially, it was assumed to be related tonode-usage-telemetry
, as the IPs belong to Cloudflare/US, suggesting a connection to Flowise Cloud. However, the issue persists even with telemetry disabled. Concerns arise regarding how token counting is performed, as it might imply that prompt content is sent to an external service. Alternatively, it could be related to Flowise Cloud rejecting requests due to the absence of an enterprise license.To Reproduce
Steps to reproduce the behavior:
DISABLE_TELEMETRY=true
in the environment variables.Expected behavior
Token counting and related operations should function locally without external dependencies, especially when telemetry is disabled. This behavior should be an opt-in, to prevent unnecessary/unwanted communication with third-parties.
Screenshots
Failed to calculate number of tokens, falling back to approximate count TypeError: fetch failed
at node:internal/deps/undici/undici:13178:13
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async RetryOperation._fn (C:\Users\USERNAME\AppData\Local\npm-cache_npx\8b95a19c5c9c8708\node_modules\p-retry\index.js:50:12) {
[cause]: ConnectTimeoutError: Connect Timeout Error (attempted addresses: 104.21.32.1:443, 104.21.64.1:443, 104.21.48.1:443, 104.21.96.1:443, 104.21.80.1:443, 104.21.16.1:443, 104.21.112.1:443, timeout: 10000ms)
at onConnectTimeout (C:\Users\USERNAME\AppData\Local\npm-cache_npx\8b95a19c5c9c8708\node_modules\undici\lib\core\connect.js:237:24)
at Immediate._onImmediate (C:\Users\USERNAME\AppData\Local\npm-cache_npx\8b95a19c5c9c8708\node_modules\undici\lib\core\connect.js:188:35)
at process.processImmediate (node:internal/timers:483:21)
at process.topLevelDomainCallback (node:domain:160:15)
at process.callbackTrampoline (node:internal/async_hooks:128:24) {
code: 'UND_ERR_CONNECT_TIMEOUT'
}
}
Setup
The text was updated successfully, but these errors were encountered: