plots2 icon indicating copy to clipboard operation
plots2 copied to clipboard

Getting logged out when attempting to make a new Wiki

Open publiclab-mimi opened this issue 7 years ago • 11 comments

Having some issues creating a new Wiki page, but only in Chrome. When I'm logged in and press "Create a new wiki" at the page shown below...

Screen Shot 2019-05-07 at 9 41 02 AM

I'm redirected to a page asking me to log in.

Screen Shot 2019-05-07 at 9 40 55 AM

After logging in, I'm taken back to my dashboard. Going back the wiki page logged in sends me through the same loop more times than I'm willing to admit I went through the loop.

publiclab-mimi avatar May 07 '19 14:05 publiclab-mimi

Hi, Mimi! I think this is because we require people to post a note first, before a wiki page. But the error message is getting lost somehow!

So, we should follow-up by finding out what happened to the message (and why you're getting logged out!)

You can post a question and that counts, and should let you then post a wiki page (as a quick work-around). Thanks!

On Tue, May 7, 2019 at 10:45 AM publiclab-mimi [email protected] wrote:

Having some issues creating a new Wiki page, but only in Chrome. When I'm logged in and press "Create a new wiki" at the page shown below...

[image: Screen Shot 2019-05-07 at 9 41 02 AM] https://user-images.githubusercontent.com/48802639/57308813-95b71400-70ac-11e9-93e7-d5782abb6d54.png

I'm redirected to a page asking me to log in.

[image: Screen Shot 2019-05-07 at 9 40 55 AM] https://user-images.githubusercontent.com/48802639/57308830-a1a2d600-70ac-11e9-8d26-4fa13efcf91b.png

After logging in, I'm taken back to my dashboard. Going back the wiki page logged in sends me through the same loop more times than I'm willing to admit I went through the loop.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/publiclab/plots2/issues/5672, or mute the thread https://github.com/notifications/unsubscribe-auth/AAAF6JY453FXNQLSFBBV46LPUGIV7ANCNFSM4HLJR45A .

jywarren avatar May 07 '19 16:05 jywarren

I've posted questions and was logged in, but it still send me through this loop.

publiclab-mimi avatar May 07 '19 16:05 publiclab-mimi

Hmm, it seems unlikely that there's a difference, but now that you've also posted a note, could you try one more time, to see if maybe questions aren't included in the check? Thanks, Mimi!

On Tue, May 7, 2019 at 12:24 PM publiclab-mimi [email protected] wrote:

I've posted questions and was logged in, but it still send me through this loop.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/publiclab/plots2/issues/5672#issuecomment-490151352, or mute the thread https://github.com/notifications/unsubscribe-auth/AAAF6J72RQ4CR4PNPBWQU33PUGULVANCNFSM4HLJR45A .

jywarren avatar May 07 '19 16:05 jywarren

Still having this problem but only in Chrome. Posted wiki then research note this morning in Safari with no issue.

On May 7, 2019, at 11:27 AM, Jeffrey Warren [email protected] wrote:

Hmm, it seems unlikely that there's a difference, but now that you've also posted a note, could you try one more time, to see if maybe questions aren't included in the check? Thanks, Mimi!

On Tue, May 7, 2019 at 12:24 PM publiclab-mimi [email protected] wrote:

I've posted questions and was logged in, but it still send me through this loop.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/publiclab/plots2/issues/5672#issuecomment-490151352, or mute the thread https://github.com/notifications/unsubscribe-auth/AAAF6J72RQ4CR4PNPBWQU33PUGULVANCNFSM4HLJR45A .

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/publiclab/plots2/issues/5672#issuecomment-490152668, or mute the thread https://github.com/notifications/unsubscribe-auth/ALUKWT7TQTPBWAQYQKQAMSTPUGUY5ANCNFSM4HLJR45A.

publiclab-mimi avatar May 07 '19 16:05 publiclab-mimi

Oh strange! Um. Can you try Chrome in incognito mode?

On Tue, May 7, 2019 at 12:46 PM publiclab-mimi [email protected] wrote:

Still having this problem but only in Chrome. Posted wiki then research note this morning in Safari with no issue.

On May 7, 2019, at 11:27 AM, Jeffrey Warren [email protected] wrote:

Hmm, it seems unlikely that there's a difference, but now that you've also posted a note, could you try one more time, to see if maybe questions aren't included in the check? Thanks, Mimi!

On Tue, May 7, 2019 at 12:24 PM publiclab-mimi <[email protected]

wrote:

I've posted questions and was logged in, but it still send me through this loop.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub < https://github.com/publiclab/plots2/issues/5672#issuecomment-490151352>, or mute the thread < https://github.com/notifications/unsubscribe-auth/AAAF6J72RQ4CR4PNPBWQU33PUGULVANCNFSM4HLJR45A

.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub < https://github.com/publiclab/plots2/issues/5672#issuecomment-490152668>, or mute the thread < https://github.com/notifications/unsubscribe-auth/ALUKWT7TQTPBWAQYQKQAMSTPUGUY5ANCNFSM4HLJR45A .

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/publiclab/plots2/issues/5672#issuecomment-490159290, or mute the thread https://github.com/notifications/unsubscribe-auth/AAAF6JZCIF5D5OIZI6R7EI3PUGW4TANCNFSM4HLJR45A .

jywarren avatar May 07 '19 16:05 jywarren

In incognito it works fine!

On May 7, 2019, at 11:50 AM, Jeffrey Warren [email protected] wrote:

Oh strange! Um. Can you try Chrome in incognito mode?

On Tue, May 7, 2019 at 12:46 PM publiclab-mimi [email protected] wrote:

Still having this problem but only in Chrome. Posted wiki then research note this morning in Safari with no issue.

On May 7, 2019, at 11:27 AM, Jeffrey Warren [email protected] wrote:

Hmm, it seems unlikely that there's a difference, but now that you've also posted a note, could you try one more time, to see if maybe questions aren't included in the check? Thanks, Mimi!

On Tue, May 7, 2019 at 12:24 PM publiclab-mimi <[email protected]

wrote:

I've posted questions and was logged in, but it still send me through this loop.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub < https://github.com/publiclab/plots2/issues/5672#issuecomment-490151352>, or mute the thread < https://github.com/notifications/unsubscribe-auth/AAAF6J72RQ4CR4PNPBWQU33PUGULVANCNFSM4HLJR45A

.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub < https://github.com/publiclab/plots2/issues/5672#issuecomment-490152668>, or mute the thread < https://github.com/notifications/unsubscribe-auth/ALUKWT7TQTPBWAQYQKQAMSTPUGUY5ANCNFSM4HLJR45A .

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/publiclab/plots2/issues/5672#issuecomment-490159290, or mute the thread https://github.com/notifications/unsubscribe-auth/AAAF6JZCIF5D5OIZI6R7EI3PUGW4TANCNFSM4HLJR45A .

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/publiclab/plots2/issues/5672#issuecomment-490160867, or mute the thread https://github.com/notifications/unsubscribe-auth/ALUKWT3EGD4OYODQQ5ATIR3PUGXN7ANCNFSM4HLJR45A.

publiclab-mimi avatar May 07 '19 17:05 publiclab-mimi

So strange. If you see it happening still in normal Chrome, try clearing your cache to see if that helps. Apologies for the trouble!

On Tue, May 7, 2019 at 1:11 PM publiclab-mimi [email protected] wrote:

In incognito it works fine!

On May 7, 2019, at 11:50 AM, Jeffrey Warren [email protected] wrote:

Oh strange! Um. Can you try Chrome in incognito mode?

On Tue, May 7, 2019 at 12:46 PM publiclab-mimi <[email protected]

wrote:

Still having this problem but only in Chrome. Posted wiki then research note this morning in Safari with no issue.

On May 7, 2019, at 11:27 AM, Jeffrey Warren < [email protected]> wrote:

Hmm, it seems unlikely that there's a difference, but now that you've also posted a note, could you try one more time, to see if maybe questions aren't included in the check? Thanks, Mimi!

On Tue, May 7, 2019 at 12:24 PM publiclab-mimi < [email protected]

wrote:

I've posted questions and was logged in, but it still send me through this loop.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub < https://github.com/publiclab/plots2/issues/5672#issuecomment-490151352 , or mute the thread <

https://github.com/notifications/unsubscribe-auth/AAAF6J72RQ4CR4PNPBWQU33PUGULVANCNFSM4HLJR45A

.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub < https://github.com/publiclab/plots2/issues/5672#issuecomment-490152668 , or mute the thread <

https://github.com/notifications/unsubscribe-auth/ALUKWT7TQTPBWAQYQKQAMSTPUGUY5ANCNFSM4HLJR45A

.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub < https://github.com/publiclab/plots2/issues/5672#issuecomment-490159290>, or mute the thread < https://github.com/notifications/unsubscribe-auth/AAAF6JZCIF5D5OIZI6R7EI3PUGW4TANCNFSM4HLJR45A

.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub < https://github.com/publiclab/plots2/issues/5672#issuecomment-490160867>, or mute the thread < https://github.com/notifications/unsubscribe-auth/ALUKWT3EGD4OYODQQ5ATIR3PUGXN7ANCNFSM4HLJR45A .

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/publiclab/plots2/issues/5672#issuecomment-490167931, or mute the thread https://github.com/notifications/unsubscribe-auth/AAAF6J3AXJRTJQFQIVXJILTPUGZYTANCNFSM4HLJR45A .

jywarren avatar May 07 '19 18:05 jywarren

Sentry issue: PLOTS2-A

sentry[bot] avatar May 08 '19 14:05 sentry[bot]

I believe this Sentry issue is related; not sure why it's intermittent...

ActionView::MissingTemplate: Missing template wiki/edit with {:locale=>[:en], :formats=>[:gif], :variants=>[], :handlers=>[:raw, :erb, :html, :builder, :ruby, :coffee, :jbuilder]}. Searched in:
  * "/app/app/views"
  * "/usr/local/bundle/gems/grape-swagger-ui-2.2.8/app/views"
  * "/usr/local/bundle/gems/grape-swagger-rails-0.3.1/app/views"

Error on this line... it can't find the template???

https://github.com/publiclab/plots2/blob/5ce073cc2628c9e08a1e84ad53b0a965a3004421/app/controllers/wiki_controller.rb#L145

It should find this: https://github.com/publiclab/plots2/blob/master/app/views/wiki/edit.html.erb

jywarren avatar May 08 '19 14:05 jywarren

Whoa!!! :formats=>[:gif] ???

It matches the timeframe:

image

jywarren avatar May 08 '19 14:05 jywarren

Oh, this is probably not it. The path for this Sentry error is: https://publiclab.org/wiki/owmloading.gif

jywarren avatar May 08 '19 14:05 jywarren