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

Operation timed out after 60000 milliseconds with 0 bytes received #197

Open
apausepi opened this issue Nov 22, 2023 · 0 comments
Open

Operation timed out after 60000 milliseconds with 0 bytes received #197

apausepi opened this issue Nov 22, 2023 · 0 comments

Comments

@apausepi
Copy link

Hello

How to reproduce

I'm trying to use this command curl on my linux server.
It's the same command generated by this lib.
curl 'http://****:8123?extremes=0&readonly=2&max_execution_time=2&enable_http_compression=0&database=pi_datasources' \ -H 'Host: ****:8123' \ -H 'User-Agent: smi2/PHPClickHouse/client' \ -H 'Expires: 0' \ -H 'Pragma: no-cache' \ -H 'X-ClickHouse-User: pi_lhg' \ -H 'X-ClickHouse-Key: ​****' \ -H 'Content-Type: application/json, **text/javascript**; charset=utf-8' \ -H 'Accept: application/json, text/javascript, */*; q=0.01' \ -H 'Content-Length: 26' \ -d 'show databases FORMAT JSON' \ -v

Result
The query doesn't work and I have Operation timed out after x milliseconds with 0 bytes received
Now if I remove text/javascript I have no issue.
Same if I remove text/javascript inside Transport/CurlerRequest::parameters_json():532

Any idea ?
The issue is not for all my serveurs clickhouse. Only one with clickhouse version 23.10.3.5.
The lib is updated.
What the goal of text/javascript ?

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

1 participant