Cloudflare Tunnel Disconnection issues

Been having alot of issues over the last couple of months , what I have noticed recently is that the container would start spitting errors; some examples as below:

2023-05-11T21:37:56.640373338Z 2023-05-11T21:37:56Z INF Unregistered tunnel connection connIndex=1 event=0 ip=198.41.192.107

281

2023-05-11T21:37:56.640559529Z 2023-05-11T21:37:56Z ERR Failed to serve quic connection error=“Application error 0x0” connIndex=1 event=0 ip=198.41.192.107

282

2023-05-11T21:37:56.640574988Z 2023-05-11T21:37:56Z ERR Serve tunnel error error=“Application error 0x0” connIndex=1 event=0 ip=198.41.192.107

283

2023-05-11T21:37:56.640581430Z 2023-05-11T21:37:56Z INF Retrying connection in up to 1s connIndex=1 event=0 ip=198.41.192.107

284

2023-05-11T21:37:56.652301292Z 2023-05-11T21:37:56Z INF Unregistered tunnel connection connIndex=2 event=0 ip=198.41.192.27

285

2023-05-11T21:37:56.652330798Z 2023-05-11T21:37:56Z ERR Failed to serve quic connection error=“Application error 0x0” connIndex=2 event=0 ip=198.41.192.27

286

2023-05-11T21:37:56.652683954Z 2023-05-11T21:37:56Z ERR Serve tunnel error error=“Application error 0x0” connIndex=2 event=0 ip=198.41.192.27

287

2023-05-11T21:37:56.652700605Z 2023-05-11T21:37:56Z INF Retrying connection in up to 1s connIndex=2 event=0 ip=198.41.192.27

288

2023-05-11T21:37:56.743916718Z 2023-05-11T21:37:56Z INF Unregistered tunnel connection connIndex=0 event=0 ip=198.41.200.73

289

2023-05-11T21:37:56.744831151Z 2023-05-11T21:37:56Z ERR Failed to serve quic connection error=“context canceled” connIndex=0 event=0 ip=198.41.200.73

290

2023-05-11T21:37:56.744854545Z 2023-05-11T21:37:56Z INF Retrying connection in up to 1s connIndex=0 event=0 ip=198.41.200.73

No i use to run my container in unraid’s app section but i started to notice teh errors and isolated it to a virtual machine(ubuntu server) as a docker container. I use portainer for ui management. The only trend i have noticed is it would sometimes happen at 4pm , but thats about it. Once i restart the container everything is back up and running.

What i do to mitigate or fix this issue?