perfsonar / graphs

Graphs that display perfSONAR measurement data (Formerly the serviceTest package)
Apache License 2.0
5 stars 1 forks source link

Details graph is not loading under FF 51.0.1 and IE11 Win10 #60

Closed szymontrocha closed 7 years ago

szymontrocha commented 7 years ago

With the latest changes the main page of toolkit works fine but when clicked on Details link to go to a separate page with graphs from regular tests it constantly show Loading page and doesn't load. I cleared cache, restarted FF even reinstalled it and it didn't help. Using FF 51.0.1 Win10. The same behaviour is observed with IE11. I checked with other colleague PC using the same browser and the page also doesn't load. At the same time old release like http://psmall-poz1.man.poznan.pl/toolkit/ is loading properly. notloadingff

szymontrocha commented 7 years ago

Here is the url: http://150.254.160.17/toolkit/

apertome commented 7 years ago

That works for me, maybe there wasn't any data yet?

However, that is not the way it should behave when there is no data, so if that's the case there is still an issue.

szymontrocha commented 7 years ago

Yes, there was data as I was able to properly launched this window under Linux. Did you check it in a similar Win and FF environment?

apertome commented 7 years ago

I tried FF but I'm on a Mac. I can try Windows later today.

apertome commented 7 years ago

I was able to reproduce this in a Windows VM.

I believe I have a fix for this; I will push a new build later today and hopefully it will be fixed overnight by auto-updates. It turned out I was using a method for parsing URLs that's not compatible with Edge/IE. It should have worked in FF, and indeed when I look at this in FF (including on Windows), it does work.

Thanks for catching this!

szymontrocha commented 7 years ago

I made some more testing (updated to latest packages today in my host) also using our development testing dashboard and launching graphs there. What I see is:

All tested under Windows10. There must be something specific to browser support with this graphs plugin :-(

apertome commented 7 years ago

This should be fixed. Can you verify?

szymontrocha commented 7 years ago

It still doesn't work for me :-( Under Edge my toolkit host works. I can't also see the graphs from development testing dashboard. I checked on other computers and it's the same. Do you have a test host which has public toolkit interface so that I can verify something else than just my host?

apertome commented 7 years ago

Ahh bad timing, looks like an issue I thought I had fixed isn't fixed yet, so it's not surprisng these won't load at the moment. Does it work if you change the time period to 1d instead of 1w?

apertome commented 7 years ago

I just pushed a fix for that other issue, so you can update again and try again.

You could also test on this host -- not a lot of data but enough to see if it's working: http://ps-test.bldc.grnoc.iu.edu/toolkit/

szymontrocha commented 7 years ago

Is this in staging? There haven't been any updated packages since yesterday...

apertome commented 7 years ago

Hi Szymon, no, it's in nightly.

szymontrocha commented 7 years ago

Will it go to staging? I still don't see any updates

apertome commented 7 years ago

Hi Szymon, I just started a new build; it should be in the staging repo in an hour or so, and then you should be able to update.

szymontrocha commented 7 years ago

Still nothing

[root@localhost psudouser]# date Wed Feb 22 09:57:43 CET 2017 [root@localhost psudouser]# yum repolist Loaded plugins: fastestmirror, langpacks Loading mirror speeds from cached hostfile

apertome commented 7 years ago

Hi @szymontrocha, I figured out that I missed a step when I build the new package. It's rebuilding now and should be in the repo in about an hour. Sorry about that -- thanks for your patience.

apertome commented 7 years ago

I verified the package is in the staging repo.

szymontrocha commented 7 years ago

Here is after today's update:

apertome commented 7 years ago

Spoke with Szymon this morning, he is still having issues that I cannot reproduce in Firefox. I will continue trying, but it also appears he is traveling until late this week, so this might need to wait.

apertome commented 7 years ago

I am confused by this, you mention issues with the Toolkit but your screenshot is maddash. Can you share the exact URL where you are having this problem? Thanks!

szymontrocha commented 7 years ago

That's because graphs launched from both sources are not loading! I guess these are the same libraries. Launched from toolkit (and not loading): http://150.254.160.17/perfsonar-graphs/?source=150.254.160.17&dest=207.75.164.240&url=http%3A%2F%2F150.254.160.17%2Fesmond%2Fperfsonar%2Farchive%2F#start=1487948291&end=1488553091&summaryWindow=3600. I didn't send this prinscreen as it's empty web page :-) From maddash - it's not loading any graphs I choose but of course my host is not in dev mash so it's not the same data

apertome commented 7 years ago

If you bring up the browser debugger, do you see errors in there?

Are you saying the page is completely blank?

szymontrocha commented 7 years ago

Yes, that's what I'm saying :-) I checked on other PCs with Win10 and it's the same. There must be something specific to FF and Win10. What should I look at debugger? empty_page

szymontrocha commented 7 years ago

Finally we catch something :) error

apertome commented 7 years ago

@szymontrocha , I just pushed some changes to the staging repo that I hope will fix this. It turned out to be timezone-related, which explains why I couldn't reproduce the issue. If you could update your perfsonar-graphs package and see if that fixes it, that would be very helpful.

I also added some additional debug logging -- it would be helpful to see that text. You can find that by doing Inspect Element as before, going to Console, and searching within that window for "unknown timezone". The date string should be just to the right of that text.

If you could either take a screenshot of what it says on that line or copy and paste it, that would help me better understand what happened (the timezone is detected by parsing a string, but I have a feeling that whatever string comes up on your system is not what my code is expecting).

Thanks!

szymontrocha commented 7 years ago

Well done - seems it helped. See screenshot. I'm also attaching console output as you requested. I also checked and it works when looking at dev maddash. graphs console

apertome commented 7 years ago

Great, thanks for your help!