UDP does not support HTTPS. HTTPS relies on the TCP protocol because it requires a reliable, ordered, and error-checked connection. UDP, by contrast, is a connectionless protocol that does not provide reliability or ordering, making it unsuitable for HTTPS.
If the above response helps answer your question, remember to "Accept Answer" so that others in the community facing similar issues can easily find the solution. Your contribution is highly appreciated.
hth
Marcin