You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Run the above code on browsers with GOOS=js and GOARCH=wasm (I use my own wasmserve and Chrome to test this)
See the log in Chrome's devtool
Retrying never ends like this:
2022/05/06 12:37:55 [DEBUG] GET http://google.com
wasm_exec.js:22 2022/05/06 12:37:55 [ERR] GET http://google.com request failed: Get "http://google.com": dial tcp: lookup google.com: Protocol not available
wasm_exec.js:22 2022/05/06 12:37:55 [DEBUG] GET http://google.com: retrying in 1s (1000000000 left)
wasm_exec.js:22 2022/05/06 12:37:56 [ERR] GET http://google.com request failed: Get "http://google.com": dial tcp: lookup google.com: Protocol not available
wasm_exec.js:22 2022/05/06 12:37:56 [DEBUG] GET http://google.com: retrying in 2s (999999999 left)
wasm_exec.js:22 2022/05/06 12:37:58 [ERR] GET http://google.com request failed: Get "http://google.com": dial tcp: lookup google.com: Protocol not available
wasm_exec.js:22 2022/05/06 12:37:58 [DEBUG] GET http://google.com: retrying in 4s (999999998 left)
wasm_exec.js:22 2022/05/06 12:38:02 [ERR] GET http://google.com request failed: Get "http://google.com": dial tcp: lookup google.com: Protocol not available
wasm_exec.js:22 2022/05/06 12:38:02 [DEBUG] GET http://google.com: retrying in 8s (999999997 left)
wasm_exec.js:22 2022/05/06 12:38:11 [ERR] GET http://google.com request failed: Get "http://google.com": dial tcp: lookup google.com: Protocol not available
wasm_exec.js:22 2022/05/06 12:38:11 [DEBUG] GET http://google.com: retrying in 16s (999999996 left)
wasm_exec.js:22 2022/05/06 12:38:29 [ERR] GET http://google.com request failed: Get "http://google.com": dial tcp: lookup google.com: Protocol not available
wasmserve
and Chrome to test this)Retrying never ends like this:
go-retryablehttp version: v0.7.1
Go version: go1.18 darwin/amd64
Chrome version: 101.0.4951.54 (Official Build) (x86_64)
Thanks,
The text was updated successfully, but these errors were encountered: