SpringAll icon indicating copy to clipboard operation
SpringAll copied to clipboard

Internal server error after pressing 'More' at /stream on mobile

Open jaywink opened this issue 15 years ago • 11 comments

When on a mobile browser, accessing /stream and pressing 'More' brings up internal server error.

jaywink avatar Nov 10 '11 21:11 jaywink

Can't reproduce on my droid, neither on my local dev pod nor my production pod.

Maybe you can give a more detailed explanation on how to reproduce?

jhass avatar Nov 10 '11 22:11 jhass

Hi Jonne, a few screenshots here, with the URL included.

My phone is the Nokia N9.

Br, Jason

On 11.11.2011 0:02 Jonne Hass wrote: Can't reproduce on my droid, neither on my local dev pod nor my production pod.

Maybe you can give a more detailed explanation on how to reproduce?


Reply to this email directly or view it on GitHub: https://github.com/diaspora/diaspora/issues/2378#issuecomment-2701852

jaywink avatar Nov 11 '11 06:11 jaywink

Sent a few screenshots via email.

Browser is NokiaN9 and affected URL after clicking more is https://joindiaspora.com/stream?max_time=1315925506&sort_order=created_at

jaywink avatar Nov 11 '11 06:11 jaywink

though the & actually shows normally in the url, copypaste converted into HTML code hmm

jaywink avatar Nov 11 '11 06:11 jaywink

I just updated my dev environment to the diaspora master and I cannot replicate the problem with my N9. It still happens on joindiaspora.com though. So the issue is either being corrected as we speak - or it is somehow related to joindiaspora.com web server configuration :(

Maybe tomorrow I will create an account on another pod to test whether the problem occurs there.

jaywink avatar Nov 11 '11 22:11 jaywink

I can't confirm the internal server error but in my mobile stream the first klick on "more' shows posts older 9 months.

mblog avatar Nov 12 '11 08:11 mblog

Created an account at diasp.eu and followed enough hashtags to create a longer stream. Tried it on my N9 and it works as it should. So I have no idea why my account at joindiaspora.com is not working as it should. Maybe I'll try to get some people to try and if I can't find anyone else with the issue I guess this can be closed.. (although I don't know if mblog's issue could be related..)

jaywink avatar Nov 12 '11 18:11 jaywink

Can't quite get to the bottom of this yet but I think the timestamp is generated wrongly for the next page. Or I am sure it is, at least in some situations, like mblog said here and Alberto* when I asked on D* itself.

I looked at what timestamp I am generated when I go to the mobile page and click 'More. The result was a timestamp of 1315925506, Tuesday, September 13th 2011, 16:51:46 (GMT +2) :)

I narrowed it down to the second of where it starts to bring up internal server error: max_time=1316939041 still works max_time=1316939040 gives error

The latter translates to Sun Sep 25 08:24:00 2011 GMT. Btw sort_order is created_by.

  1. What could cause an internal server error when the engine looks for posts via the max_time filter?
  2. Why is the timestamp wrong with some(?) users when 'More' is pressed?

Been looking at the code but it is still new to me so any hints would be cool if someone has some guesses :)

jaywink avatar Nov 12 '11 22:11 jaywink

I think it's fixed

mblog avatar Jan 08 '12 10:01 mblog

This should be fixed now. Re-open if it's not.

sarahmei avatar Jan 09 '12 06:01 sarahmei

Yeah looks fixed on joindiaspora.com thanks!

jaywink avatar Jan 12 '12 08:01 jaywink