If you installed new modules before getting the error, unplug them from the system table. Make sure none of your custom modules, if any, try to access https if it is not available on the site. In most cases, this is a minor configuration error.
source
to share