milenkovicm commented on PR #2059: URL: https://github.com/apache/datafusion-ballista/pull/2059#issuecomment-5169449382
looks like i got to bottom of this it works for `https://nightlies.apache.org` ```bash ➜ datafusion-ballista git:(redirect-root-to-nightlies) ✗ curl -v -H "Origin: https://nightlies.apache.org" http://127.0.0.1:50050/api/state * Trying 127.0.0.1:50050... * Connected to 127.0.0.1 (127.0.0.1) port 50050 > GET /api/state HTTP/1.1 > Host: 127.0.0.1:50050 > User-Agent: curl/8.7.1 > Accept: */* > Origin: https://nightlies.apache.org > * Request completely sent off < HTTP/1.1 200 OK < content-type: application/json < vary: origin < access-control-allow-origin: https://nightlies.apache.org < content-length: 229 < date: Mon, 03 Aug 2026 17:07:51 GMT < * Connection #0 to host 127.0.0.1 left intact {"started":1785776286800,"version":"54.0.0","datafusion_version":"54.1.0","substrait_support":false,"keda_support":false,"prometheus_support":false,"graphviz_support":false,"spark_support":false,"scheduling_policy":"push-staged"}% ``` but not for `https://nightlies.apache.org/` (note the slash at the end ) ```bash ➜ datafusion-ballista git:(redirect-root-to-nightlies) ✗ curl -v -H "Origin: https://nightlies.apache.org/" http://127.0.0.1:50050/api/state * Trying 127.0.0.1:50050... * Connected to 127.0.0.1 (127.0.0.1) port 50050 > GET /api/state HTTP/1.1 > Host: 127.0.0.1:50050 > User-Agent: curl/8.7.1 > Accept: */* > Origin: https://nightlies.apache.org/ > * Request completely sent off < HTTP/1.1 200 OK < content-type: application/json < vary: origin < content-length: 229 < date: Mon, 03 Aug 2026 17:08:36 GMT < * Connection #0 to host 127.0.0.1 left intact {"started":1785776286800,"version":"54.0.0","datafusion_version":"54.1.0","substrait_support":false,"keda_support":false,"prometheus_support":false,"graphviz_support":false,"spark_support":false,"scheduling_policy":"push-staged"}% ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
