Invalid API-key, IP, or permissions for action.

I have a testnet account and the api runs without signatures, but when I add signatures I get the error API-Key, IP, or permissions. I switched my IP from AWS East to AWS London.

I checked the apikey and that is correct, the secretkey looks correct, and I am not sure how to whitelist IPs for testnet, is that needed?

Here is what I tried on Ubuntu 20.04 -

curl -H “X-MBX-APIKEY: $apikey” -X GET ‘https://testnet.binance.vision/api/v3/account?timestamp=1614176102722846&signature=9595122c36f44c6ec7e7e9d98aaacc1187365a63b818be4b10346e44dc306316
{“code”:-2015,“msg”:“Invalid API-key, IP, or permissions for action.”}

Before that -

echo -n “timestamp=1614176102722846” | openssl dgst -sha256 -hmac $secretkey
(stdin)= 9595122c36f44c6ec7e7e9d98aaacc1187365a63b818be4b10346e44dc306316

Did anyone see this before? Any ideas how to solve?