jiangpengcheng opened a new issue, #24782: URL: https://github.com/apache/pulsar/issues/24782
### Search before reporting - [x] I searched in the [issues](https://github.com/apache/pulsar/issues) and found nothing similar. ### Read release policy - [x] I understand that [unsupported versions](https://pulsar.apache.org/contribute/release-policy/#supported-versions) don't get bug fixes. I will attempt to reproduce the issue on a supported version of Pulsar client and Pulsar broker. ### User environment broker version: 1b74fe0 ### Issue Description when running a python function without specify the `crypto_spec.cryptoKeyReaderConfig`, it runs well but will reports an error log: ``` [2025-09-25 07:26:59 +0000] [ERROR] python_instance.py: Failed to load the crypto key reader from spec: , error: Expecting value: line 1 column 1 (char 0) ``` ### Error messages ```text [2025-09-25 07:26:59 +0000] [ERROR] python_instance.py: Failed to load the crypto key reader from spec: , error: Expecting value: line 1 column 1 (char 0) ``` ### Reproducing the issue 1. start the pulsar standalone 2. create a python function: ``` pulsar-admin functions craete --py pulsar-functions/python-examples/exclamation_function.py --name package-python-fn --classname exclamation_function.ExclamationFunction --inputs persistent://public/default/package-py-fn-input --output persistent://public/default/package-py-fn-output ``` 3. check the function logs ### Additional information _No response_ ### Are you willing to submit a PR? - [x] I'm willing to submit a PR! -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
