Closed emitchel closed 8 years ago
I experienced similar issues. Was it error fetching data? On Jan 28, 2016 7:45 AM, "Elliot Mitchell" notifications@github.com wrote:
Error retrieving comments over HTTP instead of HTTPS
— Reply to this email directly or view it on GitHub https://github.com/jasonbio/reddit-shell/issues/8.
Seems to be a simple fix
Weird, it should request everything over HTTPS by default.. wondering if maybe reddit was temporarily downgrading requests to HTTP. Can't reproduce right now anyways.
I get the same issue when I want to load some Posts.
Can you please provide me with some console logs and network requests? Also what commands were you typing? I can't seem to replicate this myself so I'm having trouble figuring out what the problem is.
My only theory is that the "view comments" command is requesting "https://reddit.com/r/subreddit/comments/4dthkd/etc..." instead of "https://www.reddit.com/r/subreddit/comments/4dthkd/etc..." (missing the www) which seems to result in a 301 Moved Permanently response in certain cases and then forwards to "https://www.reddit.com/r/subreddit/comments/4dthkd/etc...". Not sure why the request would be downgraded after the 301 response, but it's possible I guess.
I addressed this issue in my latest commit - hopefully this helps 4323c5ee18c124f876a55e828126f0bd309bf229
Error retrieving comments over HTTP instead of HTTPS