Unexpected 404s

I keep getting 404s out of nowhere obvious in scenes and character pages over the last several days. I was hoping I could find a real pattern, but it just keeps happening apparently randomly, sometimes even at times when I didn’t actually click anything at all. It’s not happening with any other websites, so I don’t think it’s my computer being weird, though I can’t swear it isn’t.

Most recently, it happened earlier today in a live scene when i was only hovering over the little clock to see when a pose was made, once, and happened just now when I clicked to edit a pose. The editing box came up, and as I went to click in it to make my edit, suddenly I was on an error page. When I went back and tried to edit the pose again it went fine.

I think it usually (but not always or only) happens when I click in an edit box, but I’m not entirely positive. Is this happening to anyone else? Just one moment editing a page or scene or log and the next it’s https://www.gray-harbor.com/error?message=. I’m not on any other Ares games so I don’t know if it’d be happening to me on others also…

1 Like

Thanks for the report. That’s not one I’ve seen before, but I’ll certainly keep my eye out.

@Ren Are you seeing the Ares “page not found” when this happens? If so, what does the browser address bar say the URL it’s trying to load is?

@KarmaBum Are there any weird errors in the Ares debug log?

Yup, it’s the Ares one, and the URL it ends up at is https://www.gray-harbor.com/error?message= with no actual message. It does it too fast for me to catch whether it seems to be trying anything else before that, I’m afraid – possibly partly because I’m never expecting it to happen, so I’m not specifically watching! If/when it happens again I’ll try to see if I can catch anything.

Thanks. So just to make sure I’m understanding… you’re actually seeing “Page Not Found” even though the URL is trying to go to the error page?

@KarmaBum I’m not sure how it’s ending up on www.gray-harbor.com in the first place. Maybe something in your configuration? But that site is giving a certificate error:

Redirecting navigation www.gray-harbor.com -> gray-harbor.com because the server presented a certificate valid for gray-harbor.com but not for www.gray-harbor.com. To disable such redirects launch Chrome with the following flag: --disable-features=SSLCommonNameMismatchHandling

This feature varies by browser, and on Safari gives me a security warning. Not sure if that’s related at all to the issue at hand.

I went to go see if I could make it do it on purpose and found I already left it on that page in a tab, so:

That’s what I’m actually seeing; I’m sorry if I was unclear/imprecise!

@Ren Ah, cool. That’s just a regular error page, which is different than a 404. No problemo! Now we know what to look for.

If you feel like checking, you can see certain client-side errors by activating the browser developer tools and looking at the console. In Chrome it’s under View -> Developer -> Javascript Console. This info can help if there’s nothing conclusive in the server log.

You might see something like the error in the image below. Ignore the yellow deprecation warnings; they’re harmless:

image

Ah, yeah, I was mentally placing it as a custom 404 rather than as a program error, sorry. The console’s empty; if I reload the page I get some yellow violation warnings (‘setTimeout’ handlers and requesting notification permissions) but nothing else. I attempted to make the problem happen to see if there’s anything in the console if it’s open when it happens, but couldn’t get it to happen on purpose…

I see errors like these come up in the log occasionally -

2019-07-12 15:04:27 ERROR - Web client error: No response from game for checkToken. : Error

at process (https://gray-harbor.com/assets/vendor-2b38724ed2c4f3815f395b2b4b10bce5.js:4637:12). 

at mightThrow (https://gray-harbor.com/assets/vendor-2b38724ed2c4f3815f395b2b4b10bce5.js:4569:29)

at Object. (https://gray-harbor.com/assets/ares-webportal-5a43174c40afbd06713640aefbe7e1d4.js:10971:15)

at Class.reportError (https://gray-harbor.com/assets/ares-webportal-5a43174c40afbd06713640aefbe7e1d4.js:10936:19)

2019-07-12 15:04:27 ERROR - Web client error: undefined : Error

at process (https://gray-harbor.com/assets/vendor-2b38724ed2c4f3815f395b2b4b10bce5.js:4637:12). 

at mightThrow (https://gray-harbor.com/assets/vendor-2b38724ed2c4f3815f395b2b4b10bce5.js:4569:29)

at https://gray-harbor.com/assets/ares-webportal-5a43174c40afbd06713640aefbe7e1d4.js:10981:18

at Class.reportError (https://gray-harbor.com/assets/ares-webportal-5a43174c40afbd06713640aefbe7e1d4.js:10936:19)

2019-07-12 15:04:27 ERROR - Web client error: No response from game for sidebarInfo. : Error

And then I used to see this one fairly often:

2019-07-12 12:49:01 ERROR - Web client error: a glimmer transaction was begun, but one already exists. You may have a nested transaction : Error

But no one was ever reporting anything as a problem (and the # of “nested transactions” has decreased dramatically since a few versions ago). Like, I can go days and days with none of those errors - and was actually surprised/lucky to find one I could copy as an example.

1 Like

OK thanks for the info. Nothing jumps out at me from those error messages, but I’ll see what I can dig up.

1 Like

So, the good news? I stumbled across what I’m pretty sure is the problem.

It’s the tooltips. It seems to happen pretty randomly, but you can reproduce it pretty consistently just by moving your mouse back and forth over an item with a tooltip. (Which would explain why you saw it when you hovered over the clock icon on the scenes list. I saw it on the file upload tooltip.)

The bad news? The error isn’t coming out of the Ares code (that’s why there’s no error message) but some random exception thrown by the tooltip library. I don’t know if I’m using it wrong, or the tooltip library has a bug, or it just doesn’t play nice with Ember. Fixing it is going to require a bit of digging.

2 Likes