Riprova le GET Hetzner su errori SSL transitori e aggiunge i loghi con nome.

Durante il wait del CPX l'API chiudeva la connessione TLS; i tre PNG servono le varianti dark/white del marchio.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-08-17 22:56:46 +02:00
co-authored by Cursor
parent baa6283a15
commit dd94bf7e66
4 changed files with 13 additions and 4 deletions
@@ -139,11 +139,20 @@ module Streams
end
def get(path, params = {})
response = conn.get(path) do |req|
req.headers.update(auth_headers)
req.params.update(params)
tries = 0
begin
response = conn.get(path) do |req|
req.headers.update(auth_headers)
req.params.update(params)
end
unwrap!(response)
rescue Faraday::SSLError, Faraday::ConnectionFailed, Faraday::TimeoutError
tries += 1
raise if tries >= 5
sleep 2
retry
end
unwrap!(response)
end
def post(path, body)
Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 720 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 48 KiB