Fernando Hamasaki de Amorim

Results 41 comments of Fernando Hamasaki de Amorim

+1 for component diagram.

Interesting that using [Mint](https://github.com/elixir-mint/mint) I got the same connection error with and without proxy. 🤔 ```elixir # Without proxy Mint.HTTP.connect(:https, "apps.correios.com.br", 443) {:error, %Mint.TransportError{reason: :closed}} # With proxy Mint.HTTP.connect(:https, "apps.correios.com.br",...

Using [httpc](http://erlang.org/doc/man/httpc.html) happens a similar connection error with and without proxy. ```elixir url = 'https://apps.correios.com.br/SigepMasterJPA/AtendeClienteService/AtendeCliente' headers = [{'Accept', 'text/xmll'}] content_type = 'text/xml; charset=utf-8' body = String.to_charlist(""" 13212-070 """) :inets.start() :ok...

Just for a reference using [ibrowse](https://github.com/cmullaparthi/ibrowse), without proxy returns `{:error, :closed}`, and with proxy `{:error, :retry_later}`. ```elixir url = 'https://apps.correios.com.br/SigepMasterJPA/AtendeClienteService/AtendeCliente' headers = [ {'Accept', 'text/xmll'}, {'Content-Type', 'text/xml; charset=utf-8'} ] body...

Another reference using [`Gun`](https://github.com/ninenines/gun), that returns timeout and connection closed. ```elixir # Timeout {:ok, conn} = :gun.open('apps.correios.com.br', 443) :gun.await_up(conn) {:error, :timeout} # Setting a long connection timeout {:ok, conn} =...

I have tested HTTP connection/request to the host `apps.correios.com.br` with all known Elixir/Erlang HTTP clients and only `hackney` not using proxy works. | HTTP client | Not using proxy |...

I could make it work with proxy using the cipher AES256-SHA256 and TLS version 1.2. ```elixir url = "https://apps.correios.com.br/SigepMasterJPA/AtendeClienteService/AtendeCliente" headers = [{"Content-Type", "text/xml; charset=utf-8"}] body = """ 13212-070 """ options...

With hackney 1.16.0 I am receiving `{:error, :closed}` for both with and without proxy. ```elixir url = "https://apps.correios.com.br/SigepMasterJPA/AtendeClienteService/AtendeCliente" headers = [{"Content-Type", "text/xml; charset=utf-8"}] body = """ 13212-070 """ :hackney.post(url, headers,...

> @0xAX Could you publish to Hex? Please. 🙏