Redpillpress Issues

Foxx

The Living Force
Scottie said:
This one seems to be a bit different, in that I can't reproduce it. Works fine every time I try it. Before, I could reproduce it. I guess that's progress.

I can tell you that the actual URL is: www.redpillpress.com

Why it's getting stuck in a redirect to loop to the exact same URL (with www), I have no idea...

Weird, I saw it first in the browser and confirmed it in wget, and now I'm still seeing it in wget, but it's connecting fine in the browser. :huh:
 

Scottie

Administrator
Administrator
Moderator
FOTCM Member
OH SWEET JESUS!!!!

They added a line in the new Varnish config:

set req.http.host = regsub(req.http.host, "^www\.(.*)$", "\1");

This makes Varnish treat "www.redpillpress.com" and "redpillpress.com" as identical.

So:

1. You go to redpillpress.com
2. It redirects you to www.redpillpress.com, and varnish caches the redirect (which is dumb, so I fixed that too)
3. Since redpillpress.com = www.redpillpress.com, you get the cached redirect again to www.redpillpress.com

Wait a few minutes and refresh with "www" in the URL, and it will work. Hence the intermittent nature!

Anyway, should be fixed now.

But I'm not holding my breath. Stay tuned for an even bigger "Oh Sweet Jesus" soon!!!
 

Foxx

The Living Force
Scottie said:
OH SWEET JESUS!!!!

They added a line in the new Varnish config:

set req.http.host = regsub(req.http.host, "^www\.(.*)$", "\1");

This makes Varnish treat "www.redpillpress.com" and "redpillpress.com" as identical.

So:

1. You go to redpillpress.com
2. It redirects you to www.redpillpress.com, and varnish caches the redirect (which is dumb, so I fixed that too)
3. Since redpillpress.com = www.redpillpress.com, you get the cached redirect again to www.redpillpress.com

Wait a few minutes and refresh with "www" in the URL, and it will work. Hence the intermittent nature!

Anyway, should be fixed now.

But I'm not holding my breath. Stay tuned for an even bigger "Oh Sweet Jesus" soon!!!

Awesome, thanks for the fix and explanation Scottie! :)
 

Buddy

The Living Force
Foxx said:
Awesome, thanks for the fix and explanation Scottie! :)

Yes, thanks for that info, Scottie. The occasional redirect loops I was still experiencing with cassiopaea.org seem to have stopped as well. Based on your explanation, when I saw what Varnish was doing I compared that to what my Chrome browser was doing since I wasn't typing any address at all.

I always access the forum through cassiopaea.org and what I noticed was that when I load Chrome and place the cursor in the address bar and type "w", the url: www.cassiopaea.org shows up in the drop-down box. However, when I pull down the cursor to select that from the drop-down box, it actually throws "http://cassiopaea.org/" into the address bar and then attempts to connect, so I think I see what was happening at my end anyway.

Don't know if that's helpful info in any way and it does all seem to be cleared up now, so for what it may be worth at another time...
 

Deneb

The Force is Strong With This One
^^^as above, i get critical error at checkout, shipping won't update and contact form ignores me :(
would you give it a magic touch so wordpress goes out of hiccup mode pleaseee?
 

Gawan

Ambassador
Ambassador
FOTCM Member
^^^as above, i get critical error at checkout, shipping won't update and contact form ignores me :(
would you give it a magic touch so wordpress goes out of hiccup mode pleaseee?

Welcome, Deneb to our forum! Seeing this is your first post on the forum, we would appreciate it if you would post a brief intro about yourself in the Newbies section. Telling us how you found this forum, how long you've been reading it and/or the SOTT page, whether you've read any of Laura's books yet, etc.

And by the way, I forwarded your inquiry about Red Pill Press.
 
Top Bottom