diff --git a/scripts/cnode-helper-scripts/guild-deploy.sh b/scripts/cnode-helper-scripts/guild-deploy.sh index fe7162cd2..1b6956464 100755 --- a/scripts/cnode-helper-scripts/guild-deploy.sh +++ b/scripts/cnode-helper-scripts/guild-deploy.sh @@ -429,7 +429,8 @@ download_ogmios() { if command -v ogmios >/dev/null; then ogmios_version="$(ogmios --version)"; else ogmios_version="v0.0.0"; fi rm -rf /tmp/ogmios && mkdir /tmp/ogmios pushd /tmp/ogmios >/dev/null || err_exit - ogmios_asset_url="$(curl -s https://api.github.com/repos/CardanoSolutions/ogmios/releases/latest | jq -r '.assets[].browser_download_url')" + # ogmios_asset_url="$(curl -s https://api.github.com/repos/CardanoSolutions/ogmios/releases/latest | jq -r '.assets[].browser_download_url')" + ogmios_asset_url="$(curl -s https://api.github.com/repos/CardanoSolutions/ogmios/releases/120390670/assets | jq -r '.[].browser_download_url')" # Temporary until v6 is released if curl -sL -f -m ${CURL_TIMEOUT} -o ogmios.zip ${ogmios_asset_url}; then unzip ogmios.zip &>/dev/null rm -f ogmios.zip diff --git a/scripts/grest-helper-scripts/setup-grest.sh b/scripts/grest-helper-scripts/setup-grest.sh index 3a3907cf0..a3ab11e1e 100755 --- a/scripts/grest-helper-scripts/setup-grest.sh +++ b/scripts/grest-helper-scripts/setup-grest.sh @@ -451,7 +451,7 @@ SGVERSION=v1.0.11rc http-request use-service prometheus-exporter if { path /metrics } http-request track-sc0 src table flood_lmt_rate http-request deny deny_status 429 if { sc_http_req_rate(0) gt 500 } - use_backend ogmios if { path_beg /api/v1/ogmios } || { path_beg /dashboard.js } || { path_beg /assets } || { path_beg /health } || is_wss + use_backend ogmios if { path_beg /api/ogmios } || { path_beg /dashboard.js } || { path_beg /assets } || { path_beg /health } || is_wss use_backend submitapi if { path_beg /api/v1/submittx } use_backend grest_failover if srv_down default_backend grest_postgrest @@ -473,7 +473,7 @@ SGVERSION=v1.0.11rc backend ogmios balance first - http-request set-path \"%[path,regsub(^/api/v1/ogmios/,/)]\" + http-request set-path \"%[path,regsub(^/api/ogmios/,/)]\" option httpchk GET /health http-check expect status 200 default-server inter 20s fall 1 rise 2