Erlang 使用tsung recorder将http://-重定向到https://

Erlang 使用tsung recorder将http://-重定向到https://,erlang,tsung,tsung-recorder,Erlang,Tsung,Tsung Recorder,我正试图从我的ubuntu虚拟机上运行tsung recorder 我在firefox中设置了一个代理,localhost:8090 我尝试使用tsung recorder的网站是https:// 据 对于HTTPS录制,请在浏览器中使用http://-而不是HTTPS:// 我的应用程序也是一个单页应用程序,它从客户端向API发出请求。 通过这种方法,我的应用程序尝试向http://-api.whatever.com应在何时使用https://api.whatever.com 有什么办法可以解

我正试图从我的ubuntu虚拟机上运行tsung recorder

我在firefox中设置了一个代理,localhost:8090

我尝试使用tsung recorder的网站是https://

对于HTTPS录制,请在浏览器中使用
http://-
而不是
HTTPS://

我的应用程序也是一个单页应用程序,它从客户端向API发出请求。
通过这种方法,我的应用程序尝试向
http://-api.whatever.com
应在何时使用
https://api.whatever.com


有什么办法可以解决这个问题吗?

如果您将浏览器挂接到代理记录器并启动它,它应该在您点击api时,在必要时自动添加转换句柄。我不确定你的API为什么会失败。您能再解释一下吗?

如果我理解正确,您希望使用url作为
http://api.whatever.com
取而代之的是
http://-api.whatever.com
。我不知道为什么,但如果真的需要,您可以使用Haproxy之类的东西从
http://api.whatever.com
http://-api.whatever.com