Skip to content

Commit 7d2cfcf

Browse files
authored
fix: 'Failed to fetch' errors (#807)
ref: HDX-1697 The response compression is only enabled on the browser side (regression: cfdd523#diff-5b5bd864a2d51f72bb19df7630437c37e267b24de2a514fe486bd03653a09f32R458), which led to the fetch failed errors occasionally. The root cause is still unclear. I'll file an issue in the SDK repo. Also we don't want an inconsistent behavior for the client settings anyway. <img width="805" alt="image" src="https://github.com/user-attachments/assets/b7f0dd8e-f342-4ef1-9a6d-689d527d6b6a" /> <img width="922" alt="image" src="https://github.com/user-attachments/assets/591a938c-9111-477a-821c-9045d19c0d12" />
1 parent daf1b63 commit 7d2cfcf

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.changeset/funny-crabs-whisper.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@hyperdx/common-utils": patch
3+
---
4+
5+
fix: 'Failed to fetch' errors

packages/common-utils/src/clickhouse.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -457,9 +457,6 @@ export class ClickhouseClient {
457457
},
458458
username: '',
459459
password: '',
460-
compression: {
461-
response: true,
462-
},
463460
});
464461
return clickhouseClient.query<Format>({
465462
query,

0 commit comments

Comments
 (0)