polling and https setting