grafana/k6

Unable to set up proxy

Open

#4,432 opened on 2022年7月8日

GitHub で見る
 (6 comments) (0 reactions) (0 assignees)Go (30,564 stars) (1,537 forks)batch import
area: browserbrowser: user requestbuggood first issuehacktoberfesttriage

説明

As the title suggests I am unable to initiate the xk6-browser using a proxy. I am aware that the README is a bit wrong on the way it defines the proxy, because proxy support through variables is still on TODO.

https://github.com/grafana/xk6-browser/blob/main/common/connection.go#L146

So currently the proxy value is in theory taken from the environment variables.

However when exporting them, a proxy is still not used. For example:

export http_proxy='http://proxy.net:43' export https_proxy='http://proxy.net:43' export HTTP_PROXY='http://proxy.net:43' export HTTPS_PROXY='http://proxy.net:43'

Is there any workaround for this issue?

コントリビューターガイド