I work with a bunch of pnp scripts in a sharepoint 2016 on premise intranet. These scripts are complex but they are working fine for several months. I use https protocol for all my site collections and web application.
Recently, I tried to deploy these scripts over an HTTP site collection but I always get several, and random, time out errors.
My question is, could be that PNP doesn't work ok with HTTP and HTTPS is required?