Uncaught thread exception

Hi,
i’ve tried to get help on the Home Assistant forum but haven’t had any response.

I’m using the Inlfuxdb integration on Home Asistant.
Running HA on a ESXi VM, OS 11,1, core 2023.11.2, supervisor 2023.11.3
My influx database server (Influx v1.8) is running on a separate Debian server which I also post my Domoticz update to. All running for >3 years now.

After an update of a HACS integration I restarted HA, (not the server). This morning I found that I do not get any data in my Influx database.

Query with the HA integrated Influx/Chronograph I am able to pull old data from my database.

My Influx server syslog does nog show any “POST” attempts from my HA server.
After a reboot of the HA server I only get a few (3) POSTs like:

“POST /api/v2/query HTTP/1.1” 403 100 “-” “Go-http-client/1.1” …

and a few ( 3-5) succesful POSTs:

“POST /write?db=homeassistant HTTP/1.1” 204 0 “-” “python-requests/2.31.0” …

After a reboot I get this error:

Logger: root
Source: components/influxdb/__init__.py:436
First occurred: 09:21:27 (1 occurrences)
Last logged: 09:21:27

Uncaught thread exception
Traceback (most recent call last):
  File "/usr/local/lib/python3.11/threading.py", line 1045, in _bootstrap_inner
    self.run()
  File "/usr/src/homeassistant/homeassistant/components/influxdb/__init__.py", line 595, in run
    self.write_to_influxdb(json)
  File "/usr/src/homeassistant/homeassistant/components/influxdb/__init__.py", line 571, in write_to_influxdb
    self.influx.write(json)
  File "/usr/src/homeassistant/homeassistant/components/influxdb/__init__.py", line 436, in write_v1
    influx.write_points(json, time_precision=precision)
  File "/usr/local/lib/python3.11/site-packages/influxdb/client.py", line 603, in write_points
    return self._write_points(points=points,
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/influxdb/client.py", line 681, in _write_points
    self.write(
  File "/usr/local/lib/python3.11/site-packages/influxdb/client.py", line 407, in write
    data = make_lines(data, precision).encode('utf-8')
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/influxdb/line_protocol.py", line 201, in make_lines
    line = make_line(
           ^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/influxdb/line_protocol.py", line 164, in make_line
    for field_key in sorted(fields.keys()):
                     ^^^^^^^^^^^^^^^^^^^^^
TypeError: '<' not supported between instances of 'datetime.date' and 'str'
HA Config:
influxdb:
  host: 192.168.100.22
  port: 8086
  database: homeassistant
  username: homeassistant
  password: my_password
  max_retries: 5
  default_measurement: state

Any ideas ?

Solved after installing the latest HA core_2023.11.3 which was released yesterday.

1 Like

Oke, I’m back :cry:
Worked for abut 12 hours and then the Uncaught thread exception error returned resulting in no data in my database.
Any ideas how to troubleshoot/solve this issue ?

Hello @MvEngelen,
Can you check and share the HA logs?
You can access the logs via the Home Assistant UI under Configuration > Logs.

Also I’d ensure that Home Assistant has the necessary permissions and network access to communicate with the InfluxDB server. Can you successfully query with a cURL request to test your credentials?

@Jay_Clifford Do you have any tips?

Hi Anaisdg, thanks for responding.

HA InFluxDB log, debug enabled:

s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service base-addon-banner: starting

-----------------------------------------------------------
 Add-on: InfluxDB
 Scalable datastore for metrics, events, and real-time analytics
-----------------------------------------------------------
 Add-on version: 4.8.0
 You are running the latest version of this add-on.
 System: Home Assistant OS 11.1  (amd64 / qemux86-64)
 Home Assistant Core: 2023.11.3
 Home Assistant Supervisor: 2023.11.6
-----------------------------------------------------------
 Please, share the above information when looking for help
 or support in, e.g., GitHub, forums or the Discord chat.
-----------------------------------------------------------
s6-rc: info: service base-addon-banner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service base-addon-timezone: starting
s6-rc: info: service base-addon-log-level: starting
s6-rc: info: service fix-attrs successfully started
[11:45:33] INFO: Configuring timezone (Europe/Amsterdam)...
Log level is set to DEBUG
s6-rc: info: service base-addon-log-level successfully started
s6-rc: info: service base-addon-timezone successfully started
s6-rc: info: service legacy-cont-init: starting
cont-init: info: running /etc/cont-init.d/create-users.sh
cont-init: info: /etc/cont-init.d/create-users.sh exited 0
cont-init: info: running /etc/cont-init.d/influxdb.sh
cont-init: info: /etc/cont-init.d/influxdb.sh exited 0
cont-init: info: running /etc/cont-init.d/kapacitor.sh
cont-init: info: /etc/cont-init.d/kapacitor.sh exited 0
cont-init: info: running /etc/cont-init.d/nginx.sh
[11:45:34] DEBUG: Requested API resource: http://supervisor/dns/info
[11:45:34] DEBUG: Request method: GET
[11:45:34] DEBUG: Request data: {}
[11:45:34] DEBUG: API HTTP Response code: 200
[11:45:34] DEBUG: API Response: {"result": "ok", "data": {"version": "2023.06.2", "version_latest": "2023.06.2", "update_available": false, "host": "172.30.32.3", "servers": [], "locals": ["dns://192.168.100.250"], "mdns": true, "llmnr": true, "fallback": true}}

cont-init: info: /etc/cont-init.d/nginx.sh exited 0
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy-services: starting
services-up: info: copying legacy longrun chronograf (no readiness notification)
services-up: info: copying legacy longrun influxdb (no readiness notification)
services-up: info: copying legacy longrun kapacitor (no readiness notification)
services-up: info: copying legacy longrun nginx (no readiness notification)
s6-rc: info: service legacy-services successfully started
[11:45:35] INFO: Kapacitor is waiting until InfluxDB is available...
[11:45:35] INFO: Chronograf is waiting until InfluxDB is available...
[11:45:35] INFO: Starting the InfluxDB...
[11:45:50] INFO: Starting the Kapacitor
[11:45:51] INFO: Starting Chronograf...

'##:::'##::::'###::::'########:::::'###:::::'######::'####:'########::'#######::'########::
 ##::'##::::'## ##::: ##.... ##:::'## ##:::'##... ##:. ##::... ##..::'##.... ##: ##.... ##:
 ##:'##::::'##:. ##:: ##:::: ##::'##:. ##:: ##:::..::: ##::::: ##:::: ##:::: ##: ##:::: ##:
 #####::::'##:::. ##: ########::'##:::. ##: ##:::::::: ##::::: ##:::: ##:::: ##: ########::
 ##. ##::: #########: ##.....::: #########: ##:::::::: ##::::: ##:::: ##:::: ##: ##.. ##:::
 ##:. ##:: ##.... ##: ##:::::::: ##.... ##: ##::: ##:: ##::::: ##:::: ##:::: ##: ##::. ##::
 ##::. ##: ##:::: ##: ##:::::::: ##:::: ##:. ######::'####:::: ##::::. #######:: ##:::. ##:
..::::..::..:::::..::..:::::::::..:::::..:::......:::....:::::..::::::.......:::..:::::..::

2023/11/29 11:45:51 Using configuration at: /etc/kapacitor/kapacitor.conf
time="2023-11-29T11:45:58+01:00" level=info msg="Reporting usage stats" component=usage freq=24h reporting_addr="https://usage.influxdata.com" stats="os,arch,version,cluster_id,uptime"
time="2023-11-29T11:45:58+01:00" level=info msg="Serving chronograf at http://127.0.0.1:8889" component=server
[11:45:59] INFO: Starting NGINX...

HA core log:

2023-11-29 12:03:44.612 WARNING (SyncWorker_2) [homeassistant.loader] We found a custom integration kia_uvo which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant

2023-11-29 12:03:44.612 WARNING (SyncWorker_2) [homeassistant.loader] We found a custom integration selve which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant

2023-11-29 12:03:44.613 WARNING (SyncWorker_2) [homeassistant.loader] We found a custom integration enphase_envoy which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant

2023-11-29 12:03:44.613 WARNING (SyncWorker_2) [homeassistant.loader] We found a custom integration omnik_inverter which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant

2023-11-29 12:03:44.613 WARNING (SyncWorker_2) [homeassistant.loader] We found a custom integration iphonedetect which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant

2023-11-29 12:03:44.613 WARNING (SyncWorker_2) [homeassistant.loader] We found a custom integration sonoff which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant

2023-11-29 12:03:44.616 WARNING (SyncWorker_2) [homeassistant.loader] We found a custom integration dwains_dashboard which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant

2023-11-29 12:03:44.616 WARNING (SyncWorker_2) [homeassistant.loader] We found a custom integration hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant

2023-11-29 12:03:44.617 WARNING (SyncWorker_2) [homeassistant.loader] We found a custom integration afvalwijzer which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant

2023-11-29 12:03:44.617 WARNING (SyncWorker_2) [homeassistant.loader] We found a custom integration quatt which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant

2023-11-29 12:04:01.384 ERROR (influxdb) [root] Uncaught thread exception

Traceback (most recent call last):

File "/usr/local/lib/python3.11/threading.py", line 1045, in _bootstrap_inner

self.run()

File "/usr/src/homeassistant/homeassistant/components/influxdb/__init__.py", line 595, in run

self.write_to_influxdb(json)

File "/usr/src/homeassistant/homeassistant/components/influxdb/__init__.py", line 571, in write_to_influxdb

self.influx.write(json)

File "/usr/src/homeassistant/homeassistant/components/influxdb/__init__.py", line 436, in write_v1

influx.write_points(json, time_precision=precision)

File "/usr/local/lib/python3.11/site-packages/influxdb/client.py", line 603, in write_points

return self._write_points(points=points,

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File "/usr/local/lib/python3.11/site-packages/influxdb/client.py", line 681, in _write_points

self.write(

File "/usr/local/lib/python3.11/site-packages/influxdb/client.py", line 407, in write

data = make_lines(data, precision).encode('utf-8')

^^^^^^^^^^^^^^^^^^^^^^^^^^^

File "/usr/local/lib/python3.11/site-packages/influxdb/line_protocol.py", line 201, in make_lines

line = make_line(

^^^^^^^^^^

File "/usr/local/lib/python3.11/site-packages/influxdb/line_protocol.py", line 164, in make_line

for field_key in sorted(fields.keys()):

^^^^^^^^^^^^^^^^^^^^^

TypeError: '<' not supported between instances of 'datetime.date' and 'str'

2023-11-29 12:04:10.143 WARNING (MainThread) [homeassistant.components.zha.core.cluster_handlers] [0xEB43:1:0x0300]: async_initialize: all attempts have failed: [DeliveryError('Failed to deliver packet: <TXStatus.NWK_ROUTE_DISCOVERY_FAILED: 208>'), DeliveryError('Failed to deliver packet: <TXStatus.NWK_ROUTE_DISCOVERY_FAILED: 208>'), DeliveryError('Failed to deliver packet: <TXStatus.NWK_ROUTE_DISCOVERY_FAILED: 208>'), DeliveryError('Failed to deliver packet: <TXStatus.NWK_ROUTE_DISCOVERY_FAILED: 208>')]

2023-11-29 12:04:10.458 WARNING (MainThread) [homeassistant.components.zha.core.cluster_handlers] [0xEB43:1:0x0008]: async_initialize: all attempts have failed: [DeliveryError('Failed to deliver packet: <TXStatus.NWK_ROUTE_DISCOVERY_FAILED: 208>'), DeliveryError('Failed to deliver packet: <TXStatus.NWK_ROUTE_DISCOVERY_FAILED: 208>'), DeliveryError('Failed to deliver packet: <TXStatus.NWK_ROUTE_DISCOVERY_FAILED: 208>'), DeliveryError('Failed to deliver packet: <TXStatus.NWK_ROUTE_DISCOVERY_FAILED: 208>')]

2023-11-29 12:04:50.242 WARNING (MainThread) [homeassistant.components.zha.core.cluster_handlers] [0xEB43:1:0x0006]: async_initialize: all attempts have failed: [DeliveryError('Failed to deliver packet: <TXStatus.NWK_ROUTE_DISCOVERY_FAILED: 208>'), DeliveryError('Failed to deliver packet: <TXStatus.NWK_ROUTE_DISCOVERY_FAILED: 208>'), DeliveryError('Failed to deliver packet: <TXStatus.NWK_ROUTE_DISCOVERY_FAILED: 208>'), DeliveryError('Failed to deliver packet: <TXStatus.NWK_ROUTE_DISCOVERY_FAILED: 208>')]

2023-11-29 12:05:10.420 WARNING (Recorder) [homeassistant.components.sensor.recorder] The unit of sensor.openweathermap_rain (mm/h) cannot be converted to the unit of previously compiled statistics (mm). Generation of long term statistics will be suppressed unless the unit changes back to mm or a compatible unit. Go to https://my.home-assistant.io/redirect/developer_statistics to fix this

2023-11-29 12:05:10.420 WARNING (Recorder) [homeassistant.components.sensor.recorder] The unit of sensor.openweathermap_snow (mm/h) cannot be converted to the unit of previously compiled statistics (mm). Generation of long term statistics will be suppressed unless the unit changes back to mm or a compatible unit. Go to https://my.home-assistant.io/redirect/developer_statistics to fix this

After a restart of HA a tcpdump on the influxdb server shows:

11:56:25.948103 IP (tos 0x0, ttl 64, id 42240, offset 0, flags [DF], proto TCP (6), length 349)
    192.168.100.33.49690 > 192.168.100.22.8086: Flags [P.], cksum 0x4c40 (correct), seq 1:310, ack 1, win 502, length 309
        0x0000:  4500 015d a500 4000 4006 4b12 c0a8 6421  E..]..@.@.K...d!
        0x0010:  c0a8 6416 c21a 1f96 f640 a94d 4620 af3f  ..d......@.MF..?
        0x0020:  5018 01f6 4c40 0000 504f 5354 202f 7772  P...L@..POST./wr
        0x0030:  6974 653f 6462 3d68 6f6d 6561 7373 6973  ite?db=homeassis
        0x0040:  7461 6e74 2048 5454 502f 312e 310d 0a48  tant.HTTP/1.1..H
        0x0050:  6f73 743a 2031 3932 2e31 3638 2e31 3030  ost:.192.168.100
        0x0060:  2e32 323a 3830 3836 0d0a 5573 6572 2d41  .22:8086..User-A
        0x0070:  6765 6e74 3a20 7079 7468 6f6e 2d72 6571  gent:.python-req
        0x0080:  7565 7374 732f 322e 3331 2e30 0d0a 4163  uests/2.31.0..Ac
        0x0090:  6365 7074 2d45 6e63 6f64 696e 673a 2067  cept-Encoding:.g
        0x00a0:  7a69 702c 2064 6566 6c61 7465 2c20 6272  zip,.deflate,.br
        0x00b0:  0d0a 4163 6365 7074 3a20 6170 706c 6963  ..Accept:.applic
        0x00c0:  6174 696f 6e2f 782d 6d73 6770 6163 6b0d  ation/x-msgpack.
        0x00d0:  0a43 6f6e 6e65 6374 696f 6e3a 206b 6565  .Connection:.kee
        0x00e0:  702d 616c 6976 650d 0a43 6f6e 7465 6e74  p-alive..Content
        0x00f0:  2d54 7970 653a 2061 7070 6c69 6361 7469  -Type:.applicati
        0x0100:  6f6e 2f6f 6374 6574 2d73 7472 6561 6d0d  on/octet-stream.
        0x0110:  0a43 6f6e 7465 6e74 2d4c 656e 6774 683a  .Content-Length:
        0x0120:  2031 0d0a 4175 7468 6f72 697a 6174 696f  .1..Authorizatio
        0x0130:  6e3a 2042 6173 6963 2061 4739 745a 5746  n:.Basic.aG9tZWF
        0x0140:  7a63 326c 7a64 4746 7564 4470 6e63 486f  zc2lzdGFudDpncHo
        0x0150:  354d 4442 5355 673d 3d0d 0a0d 0a         5MDBSUg==....
11:56:25.948110 IP (tos 0x0, ttl 64, id 30085, offset 0, flags [DF], proto TCP (6), length 40)
    192.168.100.22.8086 > 192.168.100.33.49690: Flags [.], cksum 0xec82 (correct), seq 1, ack 310, win 501, length 0
        0x0000:  4500 0028 7585 4000 4006 7bc2 c0a8 6416  E..(u.@.@.{...d.
        0x0010:  c0a8 6421 1f96 c21a 4620 af3f f640 aa82  ..d!....F..?.@..
        0x0020:  5010 01f5 ec82 0000                      P.......
11:56:25.948131 IP (tos 0x0, ttl 64, id 42241, offset 0, flags [DF], proto TCP (6), length 41)
    192.168.100.33.49690 > 192.168.100.22.8086: Flags [P.], cksum 0xe278 (correct), seq 310:311, ack 1, win 502, length 1
        0x0000:  4500 0029 a501 4000 4006 4c45 c0a8 6421  E..)..@.@.LE..d!
        0x0010:  c0a8 6416 c21a 1f96 f640 aa82 4620 af3f  ..d......@..F..?
        0x0020:  5018 01f6 e278 0000 0a00 0000 0000       P....x........
11:56:25.948135 IP (tos 0x0, ttl 64, id 30086, offset 0, flags [DF], proto TCP (6), length 40)
    192.168.100.22.8086 > 192.168.100.33.49690: Flags [.], cksum 0xec81 (correct), seq 1, ack 311, win 501, length 0
        0x0000:  4500 0028 7586 4000 4006 7bc1 c0a8 6416  E..(u.@.@.{...d.
        0x0010:  c0a8 6421 1f96 c21a 4620 af3f f640 aa83  ..d!....F..?.@..
        0x0020:  5010 01f5 ec81 0000                      P.......
11:56:25.948495 IP (tos 0x0, ttl 64, id 30087, offset 0, flags [DF], proto TCP (6), length 293)
    192.168.100.22.8086 > 192.168.100.33.49690: Flags [P.], cksum 0x3dc4 (correct), seq 1:254, ack 311, win 501, length 253
        0x0000:  4500 0125 7587 4000 4006 7ac3 c0a8 6416  E..%u.@.@.z...d.
        0x0010:  c0a8 6421 1f96 c21a 4620 af3f f640 aa83  ..d!....F..?.@..
        0x0020:  5018 01f5 3dc4 0000 4854 5450 2f31 2e31  P...=...HTTP/1.1
        0x0030:  2032 3034 204e 6f20 436f 6e74 656e 740d  .204.No.Content.
        0x0040:  0a43 6f6e 7465 6e74 2d54 7970 653a 2061  .Content-Type:.a
        0x0050:  7070 6c69 6361 7469 6f6e 2f78 2d6d 7367  pplication/x-msg
        0x0060:  7061 636b 0d0a 5265 7175 6573 742d 4964  pack..Request-Id
        0x0070:  3a20 6631 3035 3838 3632 2d38 6561 352d  :.f1058862-8ea5-
        0x0080:  3131 6565 2d38 6334 352d 3030 3530 3536  11ee-8c45-005056
        0x0090:  6234 6331 3565 0d0a 582d 496e 666c 7578  b4c15e..X-Influx
        0x00a0:  6462 2d42 7569 6c64 3a20 4f53 530d 0a58  db-Build:.OSS..X
        0x00b0:  2d49 6e66 6c75 7864 622d 5665 7273 696f  -Influxdb-Versio
        0x00c0:  6e3a 2031 2e38 2e33 0d0a 582d 5265 7175  n:.1.8.3..X-Requ
        0x00d0:  6573 742d 4964 3a20 6631 3035 3838 3632  est-Id:.f1058862
        0x00e0:  2d38 6561 352d 3131 6565 2d38 6334 352d  -8ea5-11ee-8c45-
        0x00f0:  3030 3530 3536 6234 6331 3565 0d0a 4461  005056b4c15e..Da
        0x0100:  7465 3a20 5765 642c 2032 3920 4e6f 7620  te:.Wed,.29.Nov.
        0x0110:  3230 3233 2031 303a 3536 3a32 3520 474d  2023.10:56:25.GM
        0x0120:  540d 0a0d 0a                             T....
11:56:25.948545 IP (tos 0x0, ttl 64, id 42242, offset 0, flags [DF], proto TCP (6), length 40)
    192.168.100.33.49690 > 192.168.100.22.8086: Flags [.], cksum 0xeb84 (correct), seq 311, ack 254, win 501, length 0
        0x0000:  4500 0028 a502 4000 4006 4c45 c0a8 6421  E..(..@.@.LE..d!
        0x0010:  c0a8 6416 c21a 1f96 f640 aa83 4620 b03c  ..d......@..F..<
        0x0020:  5010 01f5 eb84 0000 0000 0000 0000       P.............
11:56:26.983902 IP (tos 0x0, ttl 64, id 42243, offset 0, flags [DF], proto TCP (6), length 351)
    192.168.100.33.49690 > 192.168.100.22.8086: Flags [P.], cksum 0x12d8 (correct), seq 311:622, ack 254, win 501, length 311
        0x0000:  4500 015f a503 4000 4006 4b0d c0a8 6421  E.._..@.@.K...d!
        0x0010:  c0a8 6416 c21a 1f96 f640 aa83 4620 b03c  ..d......@..F..<
        0x0020:  5018 01f5 12d8 0000 504f 5354 202f 7772  P.......POST./wr
        0x0030:  6974 653f 6462 3d68 6f6d 6561 7373 6973  ite?db=homeassis
        0x0040:  7461 6e74 2048 5454 502f 312e 310d 0a48  tant.HTTP/1.1..H
        0x0050:  6f73 743a 2031 3932 2e31 3638 2e31 3030  ost:.192.168.100
        0x0060:  2e32 323a 3830 3836 0d0a 5573 6572 2d41  .22:8086..User-A
        0x0070:  6765 6e74 3a20 7079 7468 6f6e 2d72 6571  gent:.python-req
        0x0080:  7565 7374 732f 322e 3331 2e30 0d0a 4163  uests/2.31.0..Ac
        0x0090:  6365 7074 2d45 6e63 6f64 696e 673a 2067  cept-Encoding:.g
        0x00a0:  7a69 702c 2064 6566 6c61 7465 2c20 6272  zip,.deflate,.br
        0x00b0:  0d0a 4163 6365 7074 3a20 6170 706c 6963  ..Accept:.applic
        0x00c0:  6174 696f 6e2f 782d 6d73 6770 6163 6b0d  ation/x-msgpack.
        0x00d0:  0a43 6f6e 6e65 6374 696f 6e3a 206b 6565  .Connection:.kee
        0x00e0:  702d 616c 6976 650d 0a43 6f6e 7465 6e74  p-alive..Content
        0x00f0:  2d54 7970 653a 2061 7070 6c69 6361 7469  -Type:.applicati
        0x0100:  6f6e 2f6f 6374 6574 2d73 7472 6561 6d0d  on/octet-stream.
        0x0110:  0a43 6f6e 7465 6e74 2d4c 656e 6774 683a  .Content-Length:
        0x0120:  2034 3731 0d0a 4175 7468 6f72 697a 6174  .471..Authorizat
        0x0130:  696f 6e3a 2042 6173 6963 2061 4739 745a  ion:.Basic.aG9tZ
        0x0140:  5746 7a63 326c 7a64 4746 7564 4470 6e63  WFzc2lzdGFudDpnc
        0x0150:  486f 354d 4442 5355 673d 3d0d 0a0d 0a    Ho5MDBSUg==....
11:56:26.983927 IP (tos 0x0, ttl 64, id 42244, offset 0, flags [DF], proto TCP (6), length 511)
    192.168.100.33.49690 > 192.168.100.22.8086: Flags [P.], cksum 0xb8fe (correct), seq 622:1093, ack 254, win 501, length 471
        0x0000:  4500 01ff a504 4000 4006 4a6c c0a8 6421  E.....@.@.Jl..d!
        0x0010:  c0a8 6416 c21a 1f96 f640 abba 4620 b03c  ..d......@..F..<
        0x0020:  5018 01f5 b8fe 0000 7374 6174 652c 646f  P.......state,do
        0x0030:  6d61 696e 3d73 656e 736f 722c 656e 7469  main=sensor,enti
        0x0040:  7479 5f69 643d 6272 6f74 6865 725f 6d66  ty_id=brother_mf
        0x0050:  635f 6a36 3933 3064 7720 636f 6d6d 616e  c_j6930dw.comman
        0x0060:  645f 7365 745f 7374 723d 2248 4250 2c50  d_set_str="HBP,P
        0x0070:  4a4c 222c 6465 7669 6365 5f63 6c61 7373  JL",device_class
        0x0080:  5f73 7472 3d22 656e 756d 222c 6672 6965  _str="enum",frie
        0x0090:  6e64 6c79 5f6e 616d 653d 3639 3330 2e30  ndly_name=6930.0
        0x00a0:  2c66 7269 656e 646c 795f 6e61 6d65 5f73  ,friendly_name_s
        0x00b0:  7472 3d22 4272 6f74 6865 7220 4d46 432d  tr="Brother.MFC-
        0x00c0:  4a36 3933 3044 5722 2c69 636f 6e5f 7374  J6930DW",icon_st
        0x00d0:  723d 226d 6469 3a70 7269 6e74 6572 222c  r="mdi:printer",
        0x00e0:  696e 666f 3d36 3933 302e 302c 696e 666f  info=6930.0,info
        0x00f0:  5f73 7472 3d22 4272 6f74 6865 7220 4d46  _str="Brother.MF
        0x0100:  432d 4a36 3933 3044 5722 2c6c 6f63 6174  C-J6930DW",locat
        0x0110:  696f 6e5f 7374 723d 2222 2c6f 7074 696f  ion_str="",optio
        0x0120:  6e73 5f73 7472 3d22 5b27 6964 6c65 272c  ns_str="['idle',
        0x0130:  2027 7072 696e 7469 6e67 272c 2027 7374  .'printing',.'st
        0x0140:  6f70 7065 6427 5d22 2c73 6572 6961 6c5f  opped']",serial_
        0x0150:  7374 723d 224e 6f6e 6522 2c73 7461 7465  str="None",state
        0x0160:  3d22 6964 6c65 222c 7374 6174 655f 6d65  ="idle",state_me
        0x0170:  7373 6167 655f 7374 723d 224e 6f6e 6522  ssage_str="None"
        0x0180:  2c73 7461 7465 5f72 6561 736f 6e5f 7374  ,state_reason_st
        0x0190:  723d 224e 6f6e 6522 2c75 7269 5f73 7570  r="None",uri_sup
        0x01a0:  706f 7274 6564 5f73 7472 3d22 692c 702c  ported_str="i,p,
        0x01b0:  702c 3a2c 2f2c 2f2c 312c 392c 322c 2e2c  p,:,/,/,1,9,2,.,
        0x01c0:  312c 362c 382c 2e2c 312c 302c 302c 2e2c  1,6,8,.,1,0,0,.,
        0x01d0:  322c 302c 332c 2f2c 692c 702c 702c 2f2c  2,0,3,/,i,p,p,/,
        0x01e0:  702c 722c 692c 6e2c 7422 2031 3730 3132  p,r,i,n,t".17012
        0x01f0:  3535 3338 3539 3639 3835 3430 3030 0a    55385969854000.
11:56:26.983941 IP (tos 0x0, ttl 64, id 30088, offset 0, flags [DF], proto TCP (6), length 40)
    192.168.100.22.8086 > 192.168.100.33.49690: Flags [.], cksum 0xe876 (correct), seq 254, ack 1093, win 501, length 0
        0x0000:  4500 0028 7588 4000 4006 7bbf c0a8 6416  E..(u.@.@.{...d.
        0x0010:  c0a8 6421 1f96 c21a 4620 b03c f640 ad91  ..d!....F..<.@..
        0x0020:  5010 01f5 e876 0000                      P....v..
11:56:26.988042 IP (tos 0x0, ttl 64, id 30089, offset 0, flags [DF], proto TCP (6), length 293)
    192.168.100.22.8086 > 192.168.100.33.49690: Flags [P.], cksum 0x79f8 (correct), seq 254:507, ack 1093, win 501, length 253
        0x0000:  4500 0125 7589 4000 4006 7ac1 c0a8 6416  E..%u.@.@.z...d.
        0x0010:  c0a8 6421 1f96 c21a 4620 b03c f640 ad91  ..d!....F..<.@..
        0x0020:  5018 01f5 79f8 0000 4854 5450 2f31 2e31  P...y...HTTP/1.1
        0x0030:  2032 3034 204e 6f20 436f 6e74 656e 740d  .204.No.Content.
        0x0040:  0a43 6f6e 7465 6e74 2d54 7970 653a 2061  .Content-Type:.a
        0x0050:  7070 6c69 6361 7469 6f6e 2f78 2d6d 7367  pplication/x-msg
        0x0060:  7061 636b 0d0a 5265 7175 6573 742d 4964  pack..Request-Id
        0x0070:  3a20 6631 6133 3966 6266 2d38 6561 352d  :.f1a39fbf-8ea5-
        0x0080:  3131 6565 2d38 6334 362d 3030 3530 3536  11ee-8c46-005056
        0x0090:  6234 6331 3565 0d0a 582d 496e 666c 7578  b4c15e..X-Influx
        0x00a0:  6462 2d42 7569 6c64 3a20 4f53 530d 0a58  db-Build:.OSS..X
        0x00b0:  2d49 6e66 6c75 7864 622d 5665 7273 696f  -Influxdb-Versio
        0x00c0:  6e3a 2031 2e38 2e33 0d0a 582d 5265 7175  n:.1.8.3..X-Requ
        0x00d0:  6573 742d 4964 3a20 6631 6133 3966 6266  est-Id:.f1a39fbf
        0x00e0:  2d38 6561 352d 3131 6565 2d38 6334 362d  -8ea5-11ee-8c46-
        0x00f0:  3030 3530 3536 6234 6331 3565 0d0a 4461  005056b4c15e..Da
        0x0100:  7465 3a20 5765 642c 2032 3920 4e6f 7620  te:.Wed,.29.Nov.
        0x0110:  3230 3233 2031 303a 3536 3a32 3620 474d  2023.10:56:26.GM
        0x0120:  540d 0a0d 0a

Which proves that communication is possible. Authentication success. Some data is pushed but stops shorly afterwards.
After that tcpdump only shows tcp keep-alive packets between HA en Influxdb port 8086

Yesterday, after fiddling around it just worked for about 24 hours and then stopped again.

Installed influxdb 1.6.7 on a fresh build Debian 12. Measurements/series are created but stops after posting 1 value.

And is working again. Updated the HACS Kia Uvo / Hyundai Bluelink integration and got data again. No idea whether there is an relation between these two.