Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

Getting redirect loop when I use the player link

If my players use the player link (or I try it out in an incognito window), there's a redirect loop and the page never loads. For clarity, the player link is in the format <a href="https://app.roll20.net/join/0000/XxxX0x" rel="nofollow">https://app.roll20.net/join/0000/XxxX0x</a>, with numbers and letters replaced by 0 and X. This happens in both Chrome and Firefox. Here's a screenshot: <a href="http://i.imgur.com/o6NZ7.png" rel="nofollow">http://i.imgur.com/o6NZ7.png</a>. Here's the kicker: When I'm testing it, every few hours, it'll switch from working to not working. When it's not working, I can try and try to reload, clear cookies, and more, and it just won't work. When it is working, it works reliably. I can't tell if it keeps switching from working to not working for my players, because every single time they've tried they get a redirect loop--but I can almost guarantee they're not trying as often as I am. ;-) It's not reliable enough that I can predict when it will work, so I can't just tell my players "keep reloading, it'll eventually work." What's up, doc?
Thanks for the report; the issue has been noted. We'll see what Riley says when he gets a chance to look at it.
I tried the specific link and it worked fine for me on Chrome and Firefox both...I tried when I was already logged in, and when I wasn't logged in yet. I'm trying to figure out what the pattern could be and coming up empty. Is anyone else experiencing this issue at all?
Also, Kerrick, can you look in your Network tab on Chrome (or Firebug on Firefox) and see what exactly the redirect looks like? It should at least be going from the /join/0000/XXXX page to something else...or does it get stuck on that page only? (You should see some stuff like "302 Moved"...)
And I know this makes *no sense*, but can you check and see if you have the same issue with different share links for different campaigns?
Well, in the mean time, I took a random stab at fixing a couple things that I think could have caused it (although at this point I'm basically just making an educated guess), so let me know if it gets fixed :-).
Chrome Web Inspector: <a href="http://i.imgur.com/VE0MO.png" rel="nofollow">http://i.imgur.com/VE0MO.png</a> - Each of the requests looks exactly the same, except the X-Varnish value changes.
Trying it out on a couple test campaigns (<a href="https://app.roll20.net/join/998/g5Y1Mw" rel="nofollow">https://app.roll20.net/join/998/g5Y1Mw</a> and <a href="https://app.roll20.net/join/987/4AfIdg" rel="nofollow">https://app.roll20.net/join/987/4AfIdg</a>) they both load in incognito fine, but before and after each of _those_ sucessful loads, my one specific campaign still fails with a redirect loop. Is that campaign corrupted or something?
I'm honestly not sure what's causing this. I tried turn off Varnish just to see if for some reason it's cached a bad response or something, can you try it again and let me know what you're seeing?
It is loading now, but of course it has had periods of success in the past. I'll continue to test every couple hours and report back tomorrow. Thanks for all your troubleshooting! :-)
No problem, let me know if you start having issues again!
If you're feeling technically savy <a href="http://www.charlesproxy.com/" rel="nofollow">http://www.charlesproxy.com/</a> is a really handy tool for debugging HTTP(S) issues, it even has really smooth integration with FireFox. Just use the demo version and have it running when you first load the campaign. If you get the redirect loop I believe you can dump the request log and pass it along.
Good news: I haven't gotten an issue in the dozens of times I've tested it since yesterday's post, and my players have been able to join without redirect loops as well! :D Bad news: If Varnish was really the issue, will turning off such powerful caching affect scalability with the new open beta? :S
We actually moved everything Varnish was caching to Cloudfront for CDN goodness. So at this point it's just being used as a load balancer.