I was testing the same script as you and I do not get this error.
Can you tell us more about your platform? Do your requests go through a proxy? Are you running k6 with Docker? Do you get the same error with http.get('https://test.k6.io');?
If you can share the command you use and a bit more details about your environment, we might be able to help you troubleshoot.
Cheers!
