Hi everyone,
I am getting the following error while trying to access kaui in a new killbill setup:
{"@timestamp":"2021-02-15T20:14:20.415Z","@version":"1","message":"F, [2021-02-15T20:14:20.415088 #1] FATAL -- : ActiveRecord::JDBCError (Communications link failure\n\nThe last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.):\n","logger_name":"jruby.rack","thread_name":"catalina-exec-2","level":"INFO","level_value":20000,"rails.actionName":"sessions#new","req.requestId":"e940e4eb-e711-4314-b054-989d36fd4b06"}
I am using the following environment variables (it's a kubernetes environment) and using a mysql service by
https://aiven.io/ with ssl mode REQUIRED :
spec:
containers:
- env:
- name: KILLBILL_DAO_URL
value: jdbc:mysql://external-hostname-here:22222/killbill?sslMode=REQUIRED
- name: KILLBILL_DAO_USER
value: admin-user-here
- name: KILLBILL_DAO_PASSWORD
value: a-password-here
- name: KAUI_KILLBILL_URL
I tested manually the mysql connection from the container (pod) and it works, with mysql CLI. However kaui is unable to connect to mysql for an unknown reason.
Any idea what could be the issue? Or how to debug a connection issue?