Closed ggordn3r closed 4 years ago
Update: The failure only occurs on polls that are working. A "Poll not found" error returns instantly for unpublished polls: https://rankit.vote/results/YZY2A4ieBF4Vkkuajxqj/summary https://rankit.vote/vote/iS9hZ7oevkDTMFbw4xGT
This lends some credence to the idea that the problem is limited to people who have already voted in the poll.
Update: This link was reported as not working about 2 weeks ago but is working now. He provided the actual referral link from Facebook, making it easy to follow the steps:
I've tested this a couple of times with links shared by beta testers. All of them seem to load fine, so again, I'm starting to suspect it's specific to people who have already voted in the poll.
Okay, found the problem and fixed it!
I'm no longer seeing a "bad gateway" error, but this more recent poll shared on Slack still leads to a "nothing found" page and even shows it in the meta title (see screenshot below).
When I typed the URL in the browser, I got a "nothing found" page (I confirmed several times that every digit was correct). However, then I signed in as an admin, went to "manage polls", located the poll by title, clicked through to the /polls page (though I was unable to load it, as mentioned in #136) and switched /polls to /vote in the URL to get to the vote page.
Sure enough, when I did that, the vote page loaded without issue instead of showing "nothing found" like before. So the poll is published and open, but the share link is still breaking.
I am guessing that all of the users who have experienced this problem are sharing by using the "copy link", or "Facebook" buttons under Promote Poll on the poll management page. Could it be that the URLs in the Promote Poll section are messed up somehow, e.g. still defaulting to HTTP?
Can you confirm that this: https://rankit.vote/vote/2dRIuBr22njWRKVXGp7U loads correctly in every browser for you?
Loads in Chrome, Edge, Firefox. Unfortunately, I don't have a Mac to test Safari. It seems to consistently appear for a second, then disappear again for 1 second, then load normally.
Is that acceptable? It's partially due to the way the site works when loading the page completely new.
Safari on Mac works for me.
I just tested all links again. The "blinking" effect still happens from the Facebook and Gmail links, but it's very short in both cases so I'm deeming it acceptable.
I received a couple of reports of Facebook links not working, which I thought was related to the overall polls not loading issue. But I'm still encountering a problem even after the Firebase fix.
a) If I go to rankit.vote and click on the featured Video conferencing poll, it loads the "Vote success" page without issue. That's correct behavior, I already voted in the poll.
b) However, if I click a link to the "Vote success" page from a link within Gmail, the page waits a long time, then shows a 502 bad gateway error.
Here's the link: https://rankit.vote/vote/O5z48DDWEe50fsiKXIyw/success EDIT: I'm also seeing the same behavior on this ^^^ link.
I'm asking for more information from the ones who reported the issue on Facebook, but I think it's the same issue.