I am seeing this too – when I upgrade to 4.0 I am getting a 301 – permanent redirect loop back to itself.
I use https:// prefixes on my URLs.
When I change the home and siteurl in the database to https:// it all works again as normal.
I’ve disabled all plugins and the redirect still seems to be happening… any ideas?