tino415
Hackney returning error regarding keyfile
Hello,
I’m getting weird error regarding key file settings when doing request using hackney, it is like this
{:error, {:options, {:keyfile, '/cert/key_rsa.pem', []}}}, I know that when keyfile is not accesible, I get something like this {:options, {:keyfile, <path>, {:error, :enoent}}} so, anybody know what error [] during file reading means?
Thank you
First Post!
LostKobrakai
[] is the same as an empty charlist '', the string type of erlang. So maybe it can read the file, but there’s no data in it.
Last Post!
jerryg311
Hey,
Sorry for replying on an old thread, but I am experiencing this exact issue and was wondering if you were ever able to resolve it. I’m struggling to figure out what the issue is since I know my keyfile exists and the data can be read with a File.read. Any help would be much appreciated.
Popular in Questions
Other popular topics
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #elixirconf
- #exunit
- #discussion
- #code-sync
- #javascript
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #supervisor
- #elixirconf-us
- #advent-of-code
- #distillery
- #processes
- #forms
- #api
- #metaprogramming
- #hex
- #security









