Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/elixir/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Erlang :升级到otp 23时,使用MachineGun请求\u超时_Erlang_Elixir - Fatal编程技术网

Erlang :升级到otp 23时,使用MachineGun请求\u超时

Erlang :升级到otp 23时,使用MachineGun请求\u超时,erlang,elixir,Erlang,Elixir,当我们升级到elixir 1.10.3-otp-23时,通过MachineGun的所有请求开始返回:request\u timeout。OTP 23中是否存在可能导致此问题的变化 这是我们当前的MachineGun版本:{:machine\u gun,“~>0.1.6”},它没有随升级而更改 headers = [{"Content-type", "application/soap+xml;charset=UTF-8"}, {"Accept-En

当我们升级到elixir 1.10.3-otp-23时,通过MachineGun的所有请求开始返回:request\u timeout。OTP 23中是否存在可能导致此问题的变化

这是我们当前的MachineGun版本:
{:machine\u gun,“~>0.1.6”}
,它没有随升级而更改

headers = [{"Content-type", "application/soap+xml;charset=UTF-8"}, {"Accept-Encoding", "gzip,deflate"}]

opts = %{
  ssl: [{:versions, [:"tlsv1.2"]}]
}

MachineGun.post(endpoint, request_xml, headers, opts)
OTP23只添加了
tlsv1.3
。这不会影响您的案例,因为您使用的是
tlsv1.2
,但我首先要升级到
tlsv1.3
,并为HTTP调用启用跟踪/调试。OTP23只添加了
tlsv1.3
。这不会影响您的案例,因为您使用的是
tlsv1.2
,但我首先要升级到
tlsv1.3
,并为HTTP调用启用跟踪/调试。