Getting following error while running script on k6

WARN[0002] Request Failed                                error="Get \"https://test.k6.io\": http: server gave HTTP 
response to HTTPS client"
import http from 'k6/http';
import { sleep } from 'k6';

export default function () {
  http.request('GET','https://test.k6.io');
  sleep(1);
}

Hi @kalyanipawar

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!