Skip to content

Troubleshooting / Publishing Script / "ERROR 2026 (HY000)" Error in MySQL When Executing Func

Due to the minimum SSL version requirement of v1.2 in Ubuntu 20.04, after upgrading from older versions of DataFlux Func to version 1.5.5, the following exception may occur when publishing/running scripts:

Text Only
1
ERROR 2026 (HY000): SSL connection error: error:1425F102:SSL routines:ssl_choose_client_version:unsupported protocol

DataFlux Func version 1.5.5 and later have built-in automatic configuration modification handling, so a normal upgrade should suffice.

If the issue persists, you can try the following manual fixes:

  1. Open the <installation directory>/docker-stack.yaml file (default location is /usr/local/dataflux-func/docker-stack.yaml)
  2. In the yaml file, locate the service / mysql / command configuration and add the --tls-version=TLSv1.2 parameter

Reference modification is as follows:

Text Only
1
2
3
4
5
# Change from
command: --innodb-large-prefix=on (... omitted)

# To
command: --tls-version=TLSv1.2 --innodb-large-prefix=on (... omitted)