Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

clicks won't respond #427

Closed
mattrozak opened this issue Feb 18, 2013 · 45 comments
Closed

clicks won't respond #427

mattrozak opened this issue Feb 18, 2013 · 45 comments

Comments

@mattrozak
Copy link

Over the past few days this issue has been pretty bad for me. Sometimes when I load the page, clicking on checkboxes, +'s, -'s, and coin buttons does nothing. I'll reload the page and try again until success. Sometimes takes up to four refreshes.

Chrome 24.0.1312.57 on OSX 10.8

sorry if this issue is already up, i couldn't find anything that looked the same after a cursory search.

@gerovac
Copy link

gerovac commented Feb 18, 2013

Same issue here, also Chrome 24.0.1312.57 / OSX 10.8

@lefnire
Copy link
Contributor

lefnire commented Feb 18, 2013

can either of you tell me if there are javascript errors showing in Chrome
Console or Firebug when you click + - ?

On Monday, February 18, 2013, gerovac wrote:

Same issue here, also Chrome 24.0.1312.57 / OSX 10.8


Reply to this email directly or view it on GitHubhttps://github.com//issues/427#issuecomment-13741671.

@mattrozak
Copy link
Author

first time i experienced a click not responding:

Screen Shot 2013-02-18 at 5 36 54 PM

second refresh, click did respond, no exception but the initial 403 error was still there.

third refresh, click did not respond with following error

Screen Shot 2013-02-18 at 5 37 48 PM

@lefnire
Copy link
Contributor

lefnire commented Feb 18, 2013

Brilliant, that gives me something to work with - thanks Matthew

On Mon, Feb 18, 2013 at 5:39 PM, Matthew Rozak [email protected]:

first time i experienced a click not responding:

[image: Screen Shot 2013-02-18 at 5 36 54 PM]https://f.cloud.github.com/assets/1066386/169369/e0a95bc8-7a1b-11e2-8c2b-354ef84bdc8f.png

second refresh, click did respond, no exception but the initial bad
gateway error was still there.

third refresh, click did not respond with following error

[image: Screen Shot 2013-02-18 at 5 37 48 PM]https://f.cloud.github.com/assets/1066386/169370/e45e0e8a-7a1b-11e2-985f-9ad01e4a7e2d.png


Reply to this email directly or view it on GitHubhttps://github.com//issues/427#issuecomment-13747129.

@kwilson328
Copy link

Confirmed for Chrome 24.0.1312.57 / OSX 10.7.5
However, my console only shows the 403 error, no others show up when I click.
And refreshing multiple times doesn't resolve it for me either.

@Pandoro
Copy link

Pandoro commented Feb 19, 2013

I can confirm this as well. In some cases I need to refresh several times to do anything at all. Including making habits, todos, deleting them, checking things off.

(Ubuntu 12.04 FF)

@mattrozak
Copy link
Author

issue was pretty bad on chrome this morning so i hopped over to Firefox 19 - same deal.

i've noticed that if i can click before the page stops loading (chrome stops "spinning") it will usually register, but that's usually only a few second time window.

@Pandoro
Copy link

Pandoro commented Feb 19, 2013

I can confirm what @mattrozak says, the site seems more responsive while it is still loading. After that it is pretty unlikely anything will work :x

@lefnire
Copy link
Contributor

lefnire commented Feb 19, 2013

Oh goodness. Ok, today's task :)

@toebu
Copy link
Contributor

toebu commented Feb 19, 2013

I can reproduce this on my local copy (latest develop branch). This is definitely the same problem as #433.

I commented out line 22 in rewards.html to get rid of the 403 mentioned in #433 (for /img/BrowserQuest/habitrpg_mods/).
However, everything is still completely unresponsive. Everything as in: adding tasks, editing, deleting, buying rewards, all doesn't work. The only thing that works is opening the profile when clicking on the avatar. The clicks seem to cause no exchange with the server at all, no data is sent over the socket.

Firbug shows the following error when loading the page:

Error: Server and client page renders do not match
}
?play=.../onload (line 3218)

Also interesting: after loading the page for the first time, I experienced #417. I lost health for uncompleted dailys, then directly clicked on a daily to complete it, which restored my health to full. This was the last thing that ever worked. Since then I couldn't click anything anymore (even after reloading the page, logging out and back in and restarting the server).

I use FF 18.0.2 on Ubuntu.

Tested on Chromium (Version 24.0.1312.56 Ubuntu 12.10) and there it seems to work much more stable. The problem also happens sometimes but much less often.

@lefnire
Copy link
Contributor

lefnire commented Feb 19, 2013

Ok, I'm gonna crack into this. @toebu you seem to have a pretty solid grasp of the code, so if you spot anything suspicious hit me up. Brb

@LittleFishChan
Copy link

I've noticed the same thing. It might respond for ONE click per every three or four refreshes, but that's it. Also, none of my habits (Non-checkboxes) are responding.

@toebu
Copy link
Contributor

toebu commented Feb 19, 2013

Tried to look through the last commits to find out what might be the problem, but didn't see anything obvious.
I have to run away now, good luck fixing this quickly!

@lefnire
Copy link
Contributor

lefnire commented Feb 19, 2013

Could y'all give that a go and tell me if it fixed anything?

@lefnire
Copy link
Contributor

lefnire commented Feb 19, 2013

btw @switz, I think this may be related to our 'validator' bug. I can get this ticket to replicate as intermittently as our 'validator' ticket on local. I think I fixed the latter with lefnire/derby-auth@17ec46f, gonna play more

@Pandoro
Copy link

Pandoro commented Feb 19, 2013

Sadly for me it is still the same :x Tested by trying to check some
dailies, edit some todos and click some habits. Nothing works once the site
is finished loading. That is the dailies are getting checked, but no points
are assigned to me.

On Tue, Feb 19, 2013 at 6:33 PM, Tyler Renelle [email protected]:

btw @switz https://github.com/switz, I think this may be related to our
'validator' bug. I can get this ticket to replicate as intermittently
as our 'validator' ticket on local. I think I fixed the latter with
lefnire/derby-auth@17ec46fhttps://github.com/lefnire/derby-auth/commit/17ec46fea4db0e615b78fa210549691397e2d4d3,
gonna play more


Reply to this email directly or view it on GitHubhttps://github.com//issues/427#issuecomment-13785758.

@lefnire
Copy link
Contributor

lefnire commented Feb 19, 2013

ok, i've got it replicating consistently on local now. I'll play around. It's strange it's only for some people, works fine on my account - and lots of people playing today. Brb.

@lefnire
Copy link
Contributor

lefnire commented Feb 19, 2013

and now?

@kwilson328
Copy link

Oh dear, I cleared all browsing history, cache, and cookies and then rebooted Chrome, and now Habit can't find my account! Guess I can't be of much help for testing the bug :(
Screen Shot 2013-02-19 at 12 03 09 PM

@lefnire
Copy link
Contributor

lefnire commented Feb 19, 2013

email me your username, email, or user-id - let me try to pull you up

@lefnire
Copy link
Contributor

lefnire commented Feb 19, 2013

interesting, user with id kwilson328 looks pretty solid in the database. try again?

@kwilson328
Copy link

Turns out it was user error. Have to login with username and not email address. Not sure it was always this way though.

Logged in successfully, click issue stil prevalent. Still able to get a few clicks in before server is done loading.

@ianjohnsa
Copy link

I am also experiencing this issue on Chrome Version 24.0.1312.57 m and Windows 7. Let me know if I can help testing anything (user name is 'ianjohnsa').

@derekantrican
Copy link

Same issue here. user name: derekantrican . User ID: 42f5dbca-a552-47aa-b038-c8df30596e7b Using both latest versions of chrome and firefox and windows 7 for both (same issue, no matter what).

@dbueller
Copy link
Contributor

It isn't responding to my clicks either. Also, when I try to rearrange a list, I get the following:

Error

@lefnire
Copy link
Contributor

lefnire commented Feb 19, 2013

Any change?

On Tue, Feb 19, 2013 at 4:59 PM, Sabin144 [email protected] wrote:

It isn't responding to my clicks either. Also, when I try to rearrange a
list, I get the following:

[image: Error]https://f.cloud.github.com/assets/3386878/173516/7bef9c46-7adf-11e2-8bd8-8ab58ec6b5d2.jpg


Reply to this email directly or view it on GitHubhttps://github.com//issues/427#issuecomment-13802519.

@derekantrican
Copy link

Works for me now! Any way I could get back the 4 or 5 HP that I lost
because I wasn't able to click?

@dbueller
Copy link
Contributor

It still isn't working for me.

@derekantrican
Copy link

Yeah, I take that back. It worked for a little bit, but now it doesn't anymore

@lefnire
Copy link
Contributor

lefnire commented Feb 19, 2013

round 3 (sorry guys, it's so intermittently replicable - and we're still working on a proper test suite - that I have to keep trying ideas)

@derekantrican
Copy link

Works for me (so far). We'll see if it stays that way...

@lefnire
Copy link
Contributor

lefnire commented Feb 20, 2013

Famous last words, but I think that last commit might have pegged it

@ianjohnsa
Copy link

Working for me now as well. Tried on chrome for Android and Chrome on Win 7.

@dbueller
Copy link
Contributor

I can also confirm that it looks like it is working fine now.

On Tue, Feb 19, 2013 at 7:46 PM, ianjohnsa [email protected] wrote:

Working for me now as well. Tried on chrome for Android and Chrome on Win
7.


Reply to this email directly or view it on GitHubhttps://github.com//issues/427#issuecomment-13809556.

@l--l
Copy link

l--l commented Feb 20, 2013

This issue is now resolved for me, but I can no longer drap and drop my tasks to sort them within columns.

Chrome 24.0.1312.57 on Mac OS 10.8.2.

@lefnire
Copy link
Contributor

lefnire commented Feb 20, 2013

Not much solace, but that's been an issue besides. Still working on that
On Feb 19, 2013 8:47 PM, "l--l" [email protected] wrote:

This issue is now resolved for me, but I can no longer drap and drop my
tasks to sort them within columns.

Chrome 24.0.1312.57 on Mac OS 10.8.2.


Reply to this email directly or view it on GitHubhttps://github.com//issues/427#issuecomment-13811357.

@kwilson328
Copy link

Confirmed - issue resolved for me as well.
Chrome 24.0.1312.57 / OSX 10.7.5

@lefnire
Copy link
Contributor

lefnire commented Feb 20, 2013

awesome, awesome. Everyone who wants me to restore them to something, email me your user id and what stats you want back (50hp, 30xp, lvl3, gold arrmor, blue sword, etc)

@lefnire lefnire closed this as completed Feb 20, 2013
@toebu
Copy link
Contributor

toebu commented Feb 20, 2013

Well done for finding it, just out of curiosity, which of your commits fixed it?

@lefnire
Copy link
Contributor

lefnire commented Feb 20, 2013

this fixed it: 223355f , and here's the comments why: 66a7716

@justuswilhelm
Copy link

I still have the same symptoms. When I try to create new elements or click on existing ones the UI does not react and often I am forced to reload the page to make it work again. This pretty much makes the site unusable.

@lefnire
Copy link
Contributor

lefnire commented Apr 4, 2013

@justuswilhelm can you try on beta.habitrpg.com?

@litenull
Copy link
Contributor

litenull commented Apr 4, 2013

The problem is persisting on beta.

On Thu, Apr 4, 2013 at 11:17 PM, Tyler Renelle [email protected]:

@justuswilhelm https://github.com/justuswilhelm can you try on
beta.habitrpg.com?

Reply to this email directly or view it on GitHubhttps://github.com//issues/427#issuecomment-15924550
.

LP, Toma¾ :)

@litenull
Copy link
Contributor

litenull commented Apr 4, 2013

There's a message:
Client timed out; asking for snapshot!

@wc8 wc8 mentioned this issue Apr 9, 2013
@dt-rush
Copy link

dt-rush commented Mar 5, 2018

This is still happening... on Android latest

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests