I’m trying to get Honeycomb set up with my Elixir/Phoenix app. I’ve been following the guide in this blog post by Dave Lucia as a starting place.
It seemed to be going OK, but my app won’t start when I deploy it to fly.io. The error I get from flyctl logs
is:
2023-03-07T15:50:11Z app[20e7bcfd] lhr [info]
{
"Kernel pid terminated",
application_controller,
"{application_start_failure,
tls_certificate_check,
{{shutdown,
{failed_to_start_child,tls_certificate_check_shared_state,{{badmatch,{error,enoent}
},
[{pubkey_os_cacerts,get,0,
[{file,\"pubkey_os_cacerts.erl\"},{line,38}]
},
{tls_certificate_check_shared_state,maybe_load_authorities_trusted_by_otp,3,
[{file,\"/app/deps/tls_certificate_check/src/tls_certificate_check_shared_state.erl\"},{line,362}]
},
{tls_certificate_check_shared_state,new_shared_state,2,
[{file,\"/app/deps/tls_certificate_check/src/tls_certificate_check_shared_state.erl\"},{line,335}]
},
{tls_certificate_check_shared_state,handle_shared_state_initialization,2,
[{file,\"/app/deps/tls_certificate_check/src/tls_certificate_check_shared_state.erl\"},{line,262}]
},
{gen_server,try_dispatch,4,
[{file,\"gen_server.erl\"},{line,1123}]
},
{gen_server,handle_msg,6,
[{file,\"gen_server.erl\"},{line,1200}]
},
{proc_lib,init_p_do_apply,3,
[{file,\"proc_lib.erl\"},{line,240}]
}
]
}}},
{tls_certificate_check_app,start,[normal,[]]}}}"
}
tls_certificate_check
is not something I’ve set up, it’s added as a dependency of OpenTelemetry. So I’m not sure what it’s looking for and not finding. As far as I’ve been able to find, that’s the only diagnostic info I can locate.
Googling hasn’t given me any directions to try, so I’m feeling a bit stuck. Can anyone suggest anything to look at?