I apologise for misunderstanding you as I was using a translator, I actually wanted to merge :8080/* and 10000:/api/* so I wrote this config.
Here are all of Caddy’s logs about the request.
# docker compose logs -f | grep /api/v2/queries/query_datasource_d417999c7d824bb1bb53ba44c212df71_b8485022734c4405bcd476f6d67435a0
{"level":"debug","ts":1727663637.5844908,"logger":"http.handlers.rewrite","msg":"rewrote request","request":{"remote_ip":"172.69.34.119","remote_port":"20932","client_ip":"172.69.34.119","proto":"HTTP/2.0","method":"POST","host":"example.com","uri":"/api/v2/queries/query_datasource_d417999c7d824bb1bb53ba44c212df71_b8485022734c4405bcd476f6d67435a0","headers":{"X-Forwarded-Proto":["https"],"Sec-Ch-Ua-Platform":["\"Windows\""],"Cdn-Loop":["cloudflare; loops=1"],"Cf-Ipcity":["Los Angeles"],"Content-Length":["17"],"Sec-Ch-Ua":["\"Google Chrome\";v=\"129\", \"Not=A?Brand\";v=\"8\", \"Chromium\";v=\"129\""],"Accept":["application/json"],"Content-Type":["application/json"],"Origin":["https://example.com"],"Sec-Fetch-Dest":["empty"],"Cf-Postal-Code":["90017"],"Cf-Region-Code":["CA"],"Sec-Fetch-Mode":["cors"],"Cf-Metro-Code":["803"],"Referer":["https://example.com/"],"Priority":["u=1, i"],"Cf-Iplatitude":["34.05150"],"User-Agent":["Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36"],"X-Budibase-Session-Id":["c1939c4195bb54a0b9f1a52fb548142f8"],"Cookie":["REDACTED"],"Cf-Ipcountry":["US"],"Cf-Iplongitude":["-118.27070"],"Cf-Ray":["8cb0cfa6de5c525d-LAX"],"X-Budibase-Api-Version":["1"],"Sec-Ch-Ua-Mobile":["?0"],"Sec-Fetch-Site":["same-origin"],"Accept-Language":["zh-CN,zh;q=0.9,en-GB;q=0.8,en;q=0.7,zh-TW;q=0.6"],"Cf-Ipcontinent":["NA"],"Accept-Encoding":["gzip, br"],"Cf-Visitor":["{\"scheme\":\"https\"}"],"X-Budibase-App-Id":["app_79a24f5a85c94e6c94c81448370a144a"],"X-Budibase-Type":["client"],"Cf-Region":["California"],"Cf-Timezone":["America/Los_Angeles"]},"tls":{"resumed":false,"version":772,"cipher_suite":4865,"proto":"h2","server_name":"example.com"}},"method":"POST","uri":"/v2/queries/query_datasource_d417999c7d824bb1bb53ba44c212df71_b8485022734c4405bcd476f6d67435a0"}
{"level":"debug","ts":1727663637.5875843,"logger":"http.handlers.reverse_proxy","msg":"upstream roundtrip","upstream":"127.0.0.1:10000","duration":0.000398348,"request":{"remote_ip":"172.69.34.119","remote_port":"20932","client_ip":"172.69.34.119","proto":"HTTP/2.0","method":"POST","host":"example.com","uri":"/api/v2/queries/query_datasource_d417999c7d824bb1bb53ba44c212df71_b8485022734c4405bcd476f6d67435a0","headers":{"Cf-Timezone":["America/Los_Angeles"],"Cf-Ipcity":["Los Angeles"],"Accept-Language":["zh-CN,zh;q=0.9,en-GB;q=0.8,en;q=0.7,zh-TW;q=0.6"],"Cf-Iplongitude":["-118.27070"],"Accept-Encoding":["gzip, br"],"Accept":["application/json"],"X-Forwarded-For":["172.69.34.119"],"Cookie":["REDACTED"],"Content-Type":["application/json"],"Cf-Metro-Code":["803"],"Cf-Iplatitude":["34.05150"],"X-Budibase-Session-Id":["c1939c4195bb54a0b9f1a52fb548142f8"],"Sec-Ch-Ua-Mobile":["?0"],"X-Budibase-Type":["client"],"X-Forwarded-Proto":["https"],"Sec-Ch-Ua-Platform":["\"Windows\""],"Sec-Fetch-Dest":["empty"],"Cf-Ipcountry":["US"],"Sec-Fetch-Site":["same-origin"],"Content-Length":["17"],"Cdn-Loop":["cloudflare; loops=1"],"Referer":["https://example.com/"],"Cf-Visitor":["{\"scheme\":\"https\"}"],"Origin":["https://example.com"],"User-Agent":["Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36"],"Sec-Fetch-Mode":["cors"],"Cf-Ray":["8cb0cfa6de5c525d-LAX"],"X-Budibase-Api-Version":["1"],"Cf-Ipcontinent":["NA"],"Cf-Region-Code":["CA"],"Cf-Postal-Code":["90017"],"X-Budibase-App-Id":["app_79a24f5a85c94e6c94c81448370a144a"],"Cf-Region":["California"],"X-Forwarded-Host":["example.com"],"Sec-Ch-Ua":["\"Google Chrome\";v=\"129\", \"Not=A?Brand\";v=\"8\", \"Chromium\";v=\"129\""],"Priority":["u=1, i"]},"tls":{"resumed":false,"version":772,"cipher_suite":4865,"proto":"h2","server_name":"example.com"}},"error":"net/http: HTTP/1.x transport connection broken: http: ContentLength=17 with Body length 0"}
{"level":"error","ts":1727663637.588448,"logger":"http.log.error.log10","msg":"net/http: HTTP/1.x transport connection broken: http: ContentLength=17 with Body length 0","request":{"remote_ip":"172.69.34.119","remote_port":"20932","client_ip":"172.69.34.119","proto":"HTTP/2.0","method":"POST","host":"example.com","uri":"/api/v2/queries/query_datasource_d417999c7d824bb1bb53ba44c212df71_b8485022734c4405bcd476f6d67435a0","headers":{"User-Agent":["Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36"],"Referer":["https://example.com/"],"Priority":["u=1, i"],"Cf-Iplatitude":["34.05150"],"Cf-Ray":["8cb0cfa6de5c525d-LAX"],"X-Budibase-Session-Id":["c1939c4195bb54a0b9f1a52fb548142f8"],"Cookie":["REDACTED"],"Cf-Ipcountry":["US"],"Cf-Iplongitude":["-118.27070"],"Accept-Encoding":["gzip, br"],"X-Budibase-Api-Version":["1"],"Sec-Ch-Ua-Mobile":["?0"],"Sec-Fetch-Site":["same-origin"],"Accept-Language":["zh-CN,zh;q=0.9,en-GB;q=0.8,en;q=0.7,zh-TW;q=0.6"],"Cf-Ipcontinent":["NA"],"Cf-Timezone":["America/Los_Angeles"],"Cf-Visitor":["{\"scheme\":\"https\"}"],"X-Budibase-App-Id":["app_79a24f5a85c94e6c94c81448370a144a"],"X-Budibase-Type":["client"],"Cf-Region":["California"],"Content-Length":["17"],"X-Forwarded-Proto":["https"],"Sec-Ch-Ua-Platform":["\"Windows\""],"Cdn-Loop":["cloudflare; loops=1"],"Cf-Ipcity":["Los Angeles"],"Cf-Postal-Code":["90017"],"Cf-Region-Code":["CA"],"Sec-Ch-Ua":["\"Google Chrome\";v=\"129\", \"Not=A?Brand\";v=\"8\", \"Chromium\";v=\"129\""],"Accept":["application/json"],"Content-Type":["application/json"],"Origin":["https://example.com"],"Sec-Fetch-Dest":["empty"],"Sec-Fetch-Mode":["cors"],"Cf-Metro-Code":["803"]},"tls":{"resumed":false,"version":772,"cipher_suite":4865,"proto":"h2","server_name":"example.com"}},"duration":0.003966148,"status":502,"err_id":"a2qr9mb48","err_trace":"reverseproxy.statusError (reverseproxy.go:1269)"}
{"level":"debug","ts":1727663872.4160943,"logger":"http.handlers.rewrite","msg":"rewrote request","request":{"remote_ip":"172.70.211.196","remote_port":"57564","client_ip":"172.70.211.196","proto":"HTTP/2.0","method":"POST","host":"example.com","uri":"/api/v2/queries/query_datasource_d417999c7d824bb1bb53ba44c212df71_b8485022734c4405bcd476f6d67435a0","headers":{"Cf-Visitor":["{\"scheme\":\"https\"}"],"User-Agent":["Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36 Edg/129.0.0.0"],"Cf-Ipcontinent":["AS"],"Cf-Iplatitude":["36.79980"],"X-Forwarded-Proto":["https"],"Sec-Fetch-Site":["same-origin"],"Priority":["u=1, i"],"Cookie":["REDACTED"],"Cdn-Loop":["cloudflare; loops=1"],"Cf-Ipcity":["Zibo"],"Sec-Ch-Ua-Platform":["\"Windows\""],"Sec-Ch-Ua-Mobile":["?0"],"X-Budibase-Type":["client"],"Sec-Fetch-Mode":["cors"],"Sec-Fetch-Dest":["empty"],"Referer":["https://example.com/"],"X-Budibase-App-Id":["app_79a24f5a85c94e6c94c81448370a144a"],"Cf-Iplongitude":["117.96970"],"Origin":["https://example.com"],"Cf-Connecting-Ip":["119.181.224.248"],"Accept-Encoding":["gzip, br"],"X-Forwarded-For":["119.181.224.248"],"Content-Length":["17"],"X-Budibase-Session-Id":["cf88312de49d446878b0f2f88f2664485"],"Accept":["application/json"],"X-Budibase-Api-Version":["1"],"Cf-Ipcountry":["CN"],"Content-Type":["application/json"],"Cf-Ray":["8cb0d56288647c73-LAX"],"Sec-Ch-Ua":["\"Microsoft Edge\";v=\"129\", \"Not=A?Brand\";v=\"8\", \"Chromium\";v=\"129\""],"Accept-Language":["zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6"]},"tls":{"resumed":false,"version":772,"cipher_suite":4865,"proto":"h2","server_name":"example.com"}},"method":"POST","uri":"/v2/queries/query_datasource_d417999c7d824bb1bb53ba44c212df71_b8485022734c4405bcd476f6d67435a0"}
{"level":"debug","ts":1727663872.4190404,"logger":"http.handlers.reverse_proxy","msg":"upstream roundtrip","upstream":"127.0.0.1:10000","duration":0.000241584,"request":{"remote_ip":"172.70.211.196","remote_port":"57564","client_ip":"172.70.211.196","proto":"HTTP/2.0","method":"POST","host":"example.com","uri":"/api/v2/queries/query_datasource_d417999c7d824bb1bb53ba44c212df71_b8485022734c4405bcd476f6d67435a0","headers":{"Sec-Ch-Ua":["\"Microsoft Edge\";v=\"129\", \"Not=A?Brand\";v=\"8\", \"Chromium\";v=\"129\""],"X-Forwarded-Proto":["https"],"Sec-Fetch-Mode":["cors"],"Sec-Fetch-Site":["same-origin"],"Referer":["https://example.com/"],"Accept-Encoding":["gzip, br"],"X-Budibase-Api-Version":["1"],"Cf-Ipcontinent":["AS"],"Cf-Iplatitude":["36.79980"],"Cf-Visitor":["{\"scheme\":\"https\"}"],"Priority":["u=1, i"],"Content-Length":["17"],"Accept":["application/json"],"Sec-Ch-Ua-Mobile":["?0"],"X-Forwarded-Host":["example.com"],"Cf-Ray":["8cb0d56288647c73-LAX"],"Cf-Timezone":["Asia/Shanghai"],"Cf-Iplongitude":["117.96970"],"X-Forwarded-For":["172.70.211.196"],"Cf-Ipcountry":["CN"],"User-Agent":["Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36 Edg/129.0.0.0"],"Cookie":["REDACTED"],"Sec-Fetch-Dest":["empty"],"Cdn-Loop":["cloudflare; loops=1"],"X-Budibase-App-Id":["app_79a24f5a85c94e6c94c81448370a144a"],"Origin":["https://example.com"],"Accept-Language":["zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6"],"Cf-Ipcity":["Zibo"],"X-Budibase-Session-Id":["cf88312de49d446878b0f2f88f2664485"],"X-Budibase-Type":["client"],"Sec-Ch-Ua-Platform":["\"Windows\""],"Cf-Connecting-Ip":["119.181.224.248"],"Content-Type":["application/json"]},"tls":{"resumed":false,"version":772,"cipher_suite":4865,"proto":"h2","server_name":"example.com"}},"error":"net/http: HTTP/1.x transport connection broken: http: ContentLength=17 with Body length 0"}
{"level":"error","ts":1727663872.4193215,"logger":"http.log.error.log10","msg":"net/http: HTTP/1.x transport connection broken: http: ContentLength=17 with Body length 0","request":{"remote_ip":"172.70.211.196","remote_port":"57564","client_ip":"172.70.211.196","proto":"HTTP/2.0","method":"POST","host":"example.com","uri":"/api/v2/queries/query_datasource_d417999c7d824bb1bb53ba44c212df71_b8485022734c4405bcd476f6d67435a0","headers":{"Origin":["https://example.com"],"Cf-Connecting-Ip":["119.181.224.248"],"Accept-Encoding":["gzip, br"],"X-Forwarded-For":["119.181.224.248"],"Content-Length":["17"],"X-Budibase-Session-Id":["cf88312de49d446878b0f2f88f2664485"],"Accept":["application/json"],"X-Budibase-Api-Version":["1"],"Cf-Ipcountry":["CN"],"Content-Type":["application/json"],"Cf-Ray":["8cb0d56288647c73-LAX"],"Sec-Ch-Ua":["\"Microsoft Edge\";v=\"129\", \"Not=A?Brand\";v=\"8\", \"Chromium\";v=\"129\""],"Accept-Language":["zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6"],"Cf-Visitor":["{\"scheme\":\"https\"}"],"User-Agent":["Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36 Edg/129.0.0.0"],"Cf-Ipcontinent":["AS"],"Cf-Iplatitude":["36.79980"],"X-Forwarded-Proto":["https"],"Sec-Fetch-Site":["same-origin"],"Priority":["u=1, i"],"Cookie":["REDACTED"],"Cdn-Loop":["cloudflare; loops=1"],"Cf-Ipcity":["Zibo"],"Sec-Ch-Ua-Platform":["\"Windows\""],"Sec-Ch-Ua-Mobile":["?0"],"X-Budibase-Type":["client"],"Sec-Fetch-Mode":["cors"],"Sec-Fetch-Dest":["empty"],"Referer":["https://example.com/"],"X-Budibase-App-Id":["app_79a24f5a85c94e6c94c81448370a144a"],"Cf-Iplongitude":["117.96970"]},"tls":{"resumed":false,"version":772,"cipher_suite":4865,"proto":"h2","server_name":"example.com"}},"duration":0.003256967,"status":502,"err_id":"icffz9pnk","err_trace":"reverseproxy.statusError (reverseproxy.go:1269)"}
{"level":"debug","ts":1727664669.3260524,"logger":"http.handlers.rewrite","msg":"rewrote request","request":{"remote_ip":"172.70.206.220","remote_port":"10836","client_ip":"172.70.206.220","proto":"HTTP/2.0","method":"POST","host":"example.com","uri":"/api/v2/queries/query_datasource_d417999c7d824bb1bb53ba44c212df71_b8485022734c4405bcd476f6d67435a0","headers":{"Content-Length":["17"],"Cf-Iplongitude":["119.29060"],"X-Budibase-App-Id":["app_79a24f5a85c94e6c94c81448370a144a"],"User-Agent":["Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36 Edg/129.0.0.0"],"Accept":["application/json"],"Origin":["https://example.com"],"X-Budibase-Type":["client"],"Referer":["https://example.com/"],"Priority":["u=1, i"],"Cf-Timezone":["Asia/Shanghai"],"Accept-Encoding":["gzip, br"],"Sec-Ch-Ua-Platform":["\"Windows\""],"X-Budibase-Session-Id":["cd59e437b074548279261848c2f2e245c"],"Accept-Language":["zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6"],"Cookie":["REDACTED"],"Cf-Iplatitude":["26.04920"],"Cf-Visitor":["{\"scheme\":\"https\"}"],"Sec-Ch-Ua":["\"Microsoft Edge\";v=\"129\", \"Not=A?Brand\";v=\"8\", \"Chromium\";v=\"129\""],"Sec-Ch-Ua-Mobile":["?0"],"Sec-Fetch-Dest":["empty"],"X-Budibase-Api-Version":["1"],"Cf-Connecting-Ip":["112.111.55.253"],"X-Forwarded-For":["112.111.55.253"],"Cf-Ipcity":["Fuzhou"],"Sec-Fetch-Mode":["cors"],"Cdn-Loop":["cloudflare; loops=1"],"Cf-Ipcontinent":["AS"],"Cf-Ipcountry":["CN"],"Cf-Ray":["8cb0e8d73e4208d8-LAX"],"X-Forwarded-Proto":["https"],"Content-Type":["application/json"],"Sec-Fetch-Site":["same-origin"]},"tls":{"resumed":false,"version":772,"cipher_suite":4865,"proto":"h2","server_name":"example.com"}},"method":"POST","uri":"/v2/queries/query_datasource_d417999c7d824bb1bb53ba44c212df71_b8485022734c4405bcd476f6d67435a0"}
{"level":"debug","ts":1727664669.32811,"logger":"http.handlers.reverse_proxy","msg":"upstream roundtrip","upstream":"127.0.0.1:10000","duration":0.00018547,"request":{"remote_ip":"172.70.206.220","remote_port":"10836","client_ip":"172.70.206.220","proto":"HTTP/2.0","method":"POST","host":"example.com","uri":"/api/v2/queries/query_datasource_d417999c7d824bb1bb53ba44c212df71_b8485022734c4405bcd476f6d67435a0","headers":{"Content-Length":["17"],"User-Agent":["Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36 Edg/129.0.0.0"],"Accept-Language":["zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6"],"Content-Type":["application/json"],"Cf-Iplatitude":["26.04920"],"Sec-Fetch-Site":["same-origin"],"Sec-Fetch-Mode":["cors"],"X-Budibase-App-Id":["app_79a24f5a85c94e6c94c81448370a144a"],"Accept":["application/json"],"Accept-Encoding":["gzip, br"],"Sec-Fetch-Dest":["empty"],"X-Forwarded-For":["172.70.206.220"],"Origin":["https://example.com"],"Cf-Timezone":["Asia/Shanghai"],"Cdn-Loop":["cloudflare; loops=1"],"X-Budibase-Session-Id":["cd59e437b074548279261848c2f2e245c"],"Priority":["u=1, i"],"Sec-Ch-Ua":["\"Microsoft Edge\";v=\"129\", \"Not=A?Brand\";v=\"8\", \"Chromium\";v=\"129\""],"Cf-Ipcity":["Fuzhou"],"Cf-Ipcontinent":["AS"],"X-Forwarded-Proto":["https"],"Cf-Iplongitude":["119.29060"],"Sec-Ch-Ua-Platform":["\"Windows\""],"X-Budibase-Type":["client"],"X-Budibase-Api-Version":["1"],"Cf-Connecting-Ip":["112.111.55.253"],"Cf-Ipcountry":["CN"],"Cf-Ray":["8cb0e8d73e4208d8-LAX"],"X-Forwarded-Host":["example.com"],"Referer":["https://example.com/"],"Cookie":["REDACTED"],"Cf-Visitor":["{\"scheme\":\"https\"}"],"Sec-Ch-Ua-Mobile":["?0"]},"tls":{"resumed":false,"version":772,"cipher_suite":4865,"proto":"h2","server_name":"example.com"}},"error":"net/http: HTTP/1.x transport connection broken: http: ContentLength=17 with Body length 0"}
{"level":"error","ts":1727664669.3283818,"logger":"http.log.error.log10","msg":"net/http: HTTP/1.x transport connection broken: http: ContentLength=17 with Body length 0","request":{"remote_ip":"172.70.206.220","remote_port":"10836","client_ip":"172.70.206.220","proto":"HTTP/2.0","method":"POST","host":"example.com","uri":"/api/v2/queries/query_datasource_d417999c7d824bb1bb53ba44c212df71_b8485022734c4405bcd476f6d67435a0","headers":{"Cookie":["REDACTED"],"Cf-Iplatitude":["26.04920"],"Cf-Visitor":["{\"scheme\":\"https\"}"],"Sec-Ch-Ua":["\"Microsoft Edge\";v=\"129\", \"Not=A?Brand\";v=\"8\", \"Chromium\";v=\"129\""],"Sec-Ch-Ua-Mobile":["?0"],"Sec-Fetch-Dest":["empty"],"Accept-Language":["zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6"],"X-Budibase-Api-Version":["1"],"Cf-Connecting-Ip":["112.111.55.253"],"X-Forwarded-For":["112.111.55.253"],"Cf-Ipcity":["Fuzhou"],"Cdn-Loop":["cloudflare; loops=1"],"Cf-Ipcontinent":["AS"],"Cf-Ipcountry":["CN"],"Cf-Ray":["8cb0e8d73e4208d8-LAX"],"X-Forwarded-Proto":["https"],"Content-Type":["application/json"],"Sec-Fetch-Site":["same-origin"],"Sec-Fetch-Mode":["cors"],"Content-Length":["17"],"X-Budibase-App-Id":["app_79a24f5a85c94e6c94c81448370a144a"],"User-Agent":["Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36 Edg/129.0.0.0"],"Accept":["application/json"],"Origin":["https://example.com"],"Cf-Iplongitude":["119.29060"],"Referer":["https://example.com/"],"Priority":["u=1, i"],"Cf-Timezone":["Asia/Shanghai"],"Accept-Encoding":["gzip, br"],"Sec-Ch-Ua-Platform":["\"Windows\""],"X-Budibase-Session-Id":["cd59e437b074548279261848c2f2e245c"],"X-Budibase-Type":["client"]},"tls":{"resumed":false,"version":772,"cipher_suite":4865,"proto":"h2","server_name":"example.com"}},"duration":0.002331108,"status":502,"err_id":"gi41ppvjt","err_trace":"reverseproxy.statusError (reverseproxy.go:1269)"}
{"level":"debug","ts":1727664954.2702355,"logger":"http.handlers.rewrite","msg":"rewrote request","request":{"remote_ip":"172.70.91.86","remote_port":"23686","client_ip":"172.70.91.86","proto":"HTTP/2.0","method":"POST","host":"example.com","uri":"/api/v2/queries/query_datasource_d417999c7d824bb1bb53ba44c212df71_b8485022734c4405bcd476f6d67435a0","headers":{"Cf-Ipcontinent":["AS"],"Cf-Iplatitude":["23.02610"],"Cf-Visitor":["{\"scheme\":\"https\"}"],"Referer":["https://example.com/"],"Content-Type":["application/json"],"Cf-Ipcity":["Foshan"],"Accept-Encoding":["gzip, br"],"Sec-Ch-Ua-Platform":["\"Windows\""],"X-Budibase-Session-Id":["cc25879c99df94039a891151a09c5f4c0"],"Cookie":["REDACTED"],"Cf-Connecting-Ip":["14.212.182.118"],"Cf-Ipcountry":["CN"],"X-Forwarded-Proto":["https"],"Accept":["application/json"],"Accept-Language":["en-US,en;q=0.9"],"User-Agent":["Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36"],"X-Budibase-Type":["client"],"Cdn-Loop":["cloudflare; loops=1"],"Cf-Iplongitude":["113.13710"],"X-Forwarded-For":["14.212.182.118"],"Cf-Ray":["8cb0efcba9ae419d-LHR"],"X-Budibase-App-Id":["app_79a24f5a85c94e6c94c81448370a144a"],"Sec-Fetch-Dest":["empty"],"Priority":["u=1, i"],"Sec-Ch-Ua":["\"Google Chrome\";v=\"129\", \"Not=A?Brand\";v=\"8\", \"Chromium\";v=\"129\""],"Sec-Ch-Ua-Mobile":["?0"],"Sec-Fetch-Mode":["cors"],"Origin":["https://example.com"],"Sec-Fetch-Site":["same-origin"],"Cf-Timezone":["Asia/Shanghai"],"Content-Length":["17"],"X-Budibase-Api-Version":["1"]},"tls":{"resumed":false,"version":772,"cipher_suite":4865,"proto":"h2","server_name":"example.com"}},"method":"POST","uri":"/v2/queries/query_datasource_d417999c7d824bb1bb53ba44c212df71_b8485022734c4405bcd476f6d67435a0"}
{"level":"debug","ts":1727664954.2736974,"logger":"http.handlers.reverse_proxy","msg":"upstream roundtrip","upstream":"127.0.0.1:10000","duration":0.000843758,"request":{"remote_ip":"172.70.91.86","remote_port":"23686","client_ip":"172.70.91.86","proto":"HTTP/2.0","method":"POST","host":"example.com","uri":"/api/v2/queries/query_datasource_d417999c7d824bb1bb53ba44c212df71_b8485022734c4405bcd476f6d67435a0","headers":{"X-Budibase-Api-Version":["1"],"Referer":["https://example.com/"],"Accept-Encoding":["gzip, br"],"X-Budibase-Session-Id":["cc25879c99df94039a891151a09c5f4c0"],"Cf-Iplongitude":["113.13710"],"Cf-Ray":["8cb0efcba9ae419d-LHR"],"Content-Length":["17"],"Priority":["u=1, i"],"Cf-Ipcontinent":["AS"],"Cf-Visitor":["{\"scheme\":\"https\"}"],"Content-Type":["application/json"],"Cookie":["REDACTED"],"User-Agent":["Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36"],"X-Budibase-App-Id":["app_79a24f5a85c94e6c94c81448370a144a"],"X-Forwarded-Host":["example.com"],"Accept-Language":["en-US,en;q=0.9"],"X-Forwarded-Proto":["https"],"Sec-Ch-Ua":["\"Google Chrome\";v=\"129\", \"Not=A?Brand\";v=\"8\", \"Chromium\";v=\"129\""],"Sec-Ch-Ua-Mobile":["?0"],"Cf-Connecting-Ip":["14.212.182.118"],"Cf-Ipcountry":["CN"],"X-Budibase-Type":["client"],"Sec-Fetch-Site":["same-origin"],"Cf-Iplatitude":["23.02610"],"Cf-Timezone":["Asia/Shanghai"],"Accept":["application/json"],"Cdn-Loop":["cloudflare; loops=1"],"X-Forwarded-For":["172.70.91.86"],"Cf-Ipcity":["Foshan"],"Sec-Ch-Ua-Platform":["\"Windows\""],"Sec-Fetch-Dest":["empty"],"Sec-Fetch-Mode":["cors"],"Origin":["https://example.com"]},"tls":{"resumed":false,"version":772,"cipher_suite":4865,"proto":"h2","server_name":"example.com"}},"error":"net/http: HTTP/1.x transport connection broken: http: ContentLength=17 with Body length 0"}
{"level":"error","ts":1727664954.2743444,"logger":"http.log.error.log10","msg":"net/http: HTTP/1.x transport connection broken: http: ContentLength=17 with Body length 0","request":{"remote_ip":"172.70.91.86","remote_port":"23686","client_ip":"172.70.91.86","proto":"HTTP/2.0","method":"POST","host":"example.com","uri":"/api/v2/queries/query_datasource_d417999c7d824bb1bb53ba44c212df71_b8485022734c4405bcd476f6d67435a0","headers":{"Cf-Ipcontinent":["AS"],"Cf-Iplatitude":["23.02610"],"Cf-Visitor":["{\"scheme\":\"https\"}"],"Referer":["https://example.com/"],"Content-Type":["application/json"],"Cf-Ipcity":["Foshan"],"Accept-Encoding":["gzip, br"],"Sec-Ch-Ua-Platform":["\"Windows\""],"X-Budibase-Session-Id":["cc25879c99df94039a891151a09c5f4c0"],"Cookie":["REDACTED"],"Cf-Connecting-Ip":["14.212.182.118"],"Cf-Ipcountry":["CN"],"X-Forwarded-Proto":["https"],"Accept":["application/json"],"Accept-Language":["en-US,en;q=0.9"],"User-Agent":["Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36"],"X-Budibase-Type":["client"],"Cdn-Loop":["cloudflare; loops=1"],"Cf-Iplongitude":["113.13710"],"X-Forwarded-For":["14.212.182.118"],"Cf-Ray":["8cb0efcba9ae419d-LHR"],"X-Budibase-App-Id":["app_79a24f5a85c94e6c94c81448370a144a"],"Sec-Fetch-Dest":["empty"],"Priority":["u=1, i"],"Sec-Ch-Ua":["\"Google Chrome\";v=\"129\", \"Not=A?Brand\";v=\"8\", \"Chromium\";v=\"129\""],"Sec-Ch-Ua-Mobile":["?0"],"Sec-Fetch-Mode":["cors"],"Origin":["https://example.com"],"Sec-Fetch-Site":["same-origin"],"Cf-Timezone":["Asia/Shanghai"],"Content-Length":["17"],"X-Budibase-Api-Version":["1"]},"tls":{"resumed":false,"version":772,"cipher_suite":4865,"proto":"h2","server_name":"example.com"}},"duration":0.003897777,"status":502,"err_id":"5xht8vgt4","err_trace":"reverseproxy.statusError (reverseproxy.go:1269)"}