function app configuration
![CleanShot 2023-08-25 at 14.52.22](https://learn-attachment.microsoft.com/api/attachments/af03a5d0-c469-4564-9b9a-612c9fd3eef2?platform=QnA)
Log
2023-08-25T06:57:05Z [Verbose] Handling WorkerErrorEvent for runtime:node, workerId:node. Failed with: Microsoft.Azure.WebJobs.Script.Workers.WorkerProcessExitException: node exited with code 1 (0x1)
---> System.Exception: LanguageWorkerConsoleLog[error] Worker uncaught exception (learn more: https://go.microsoft.com/fwlink/?linkid=2097909 ): Error: Connection timeout at TLSSocket.<anonymous> (/home/site/wwwroot/node_modules/@redis/client/dist/lib/client/socket.js:178:124) at Object.onceWrapper (node:events:628:28) at TLSSocket.emit (node:events:514:28) at Socket._onTimeout (node:net:571:8) at listOnTimeout (node:internal/timers:569:17) at process.processTimers (node:internal/timers:512:7)
--- End of inner exception stack trace ---
2023-08-25T06:57:05Z [Verbose] Attempting to dispose webhost or jobhost channel for workerId: 'a14a0d4e-b921-4eb3-b110-672a8d3b0e7c', runtime: 'node'
2023-08-25T06:57:05Z [Verbose] Disposing language worker channel with id:a14a0d4e-b921-4eb3-b110-672a8d3b0e7c
2023-08-25T06:57:05Z [Verbose] Disposed language worker channel with id:a14a0d4e-b921-4eb3-b110-672a8d3b0e7c
2023-08-25T06:57:05Z [Verbose] No initialized worker channels for runtime 'node'. Delaying future invocations
2023-08-25T06:57:05Z [Verbose] Restarting worker channel for runtime: 'node'
2023-08-25T06:57:06Z [Verbose] Adding jobhost language worker channel for runtime: node. workerId:93e3a64f-9cc9-46f6-b9d3-192de961d568
function rediso connect config
const redisClient = REDIS.createClient({
url: `rediss://${redisDB.fullUrl}`,
password: `${redisDB.password}`,
tls: {
rejectUnauthorized: false
}
});