Getting following error while running script on k6

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

export default function () {

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('');?

If you can share the command you use and a bit more details about your environment, we might be able to help you troubleshoot.