Skip to content

Graceful shutdown worker failed when Trino Environment with https and authentication #18621

Closed Answered by hanson2021
hanson2021 asked this question in Q&A
Discussion options

You must be logged in to vote

I found the answer, Just replacing “ -u '{user}:{password}' ” with " -H 'X-Trino-User: {user}' " will run OK.

curl -v -k -X PUT -d '"SHUTTING_DOWN"' -H "Content-type: application/json" -H 'X-Trino-User: {user}' https://{worker}:{port}/v1/info/state

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by hanson2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant
Converted from issue

This discussion was converted from issue #18620 on August 10, 2023 07:29.