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

Calendar missing sometimes when accessing the App #76

Closed
ane-gabriela opened this issue Dec 16, 2021 · 6 comments
Closed

Calendar missing sometimes when accessing the App #76

ane-gabriela opened this issue Dec 16, 2021 · 6 comments

Comments

@ane-gabriela
Copy link

ane-gabriela commented Dec 16, 2021

Preconditions: Have a calendar with some events created.

Steps to reproduce:

  1. Access the Calendar App

Expected results: The Calendar appears with the created events.

Actual results: Sometimes the Calendar doesn't appear. In the browser console:

require.min.js?r=1:5 Uncaught Error: Load timeout for modules: fullcalendar,moment/min/moment.min https://requirejs.org/docs/errors.html#timeout at makeError (require.min.js?r=1:5) at R (require.min.js?r=1:5) at require.min.js?r=1:5

146378585-bef98a25-9ce3-4cc9-8a60-1cd5d9525688

NOTE: After many reloads/refresh the Calendar appears.

Environment: Windows 10, XWiki 13.10 with MySQL 8.0 and XWiki 13.4.5, Calendar Application (Pro) 2.11-rc-1, Chrome 69

@lucaa
Copy link

lucaa commented Dec 20, 2021

I cannot reproduce this issue on my side.

The cause seems to be a timeout upon loading the javascript libraries for calendar, this may be related to a server that is (temporarily) slow or a (temporarily) slow internet connexion...

@ane-gabriela you managed to reproduce this at different moments in time, in different days or at different times or it happened for a period and then it stopped?

@ane-gabriela
Copy link
Author

I could reproduce this issue on Local instance too. It happens from time to time when I access the calendars.

LocalInstance

@lucaa
Copy link

lucaa commented Dec 20, 2021

I could reproduce this issue on Local instance too. It happens from time to time when I access the calendars.

so there may be something making the generation / rendering of that javascript slow, next time this happens it would be interesting to check how slow it actually is (by going in the network tab and checking the time it actually took to load).

moment.js is a coming from a webjar, just as fullcalendar that timesout in the screenshot from the original issue description. the question is whether there could be anything on the XWiki server side that may make webjars take a long time to be served from the server.

@lucaa lucaa changed the title Calendar missing when accessing the App Calendar missing sometimes when accessing the App Dec 20, 2021
@ane-gabriela
Copy link
Author

Console1

Network

Network1

Network2

Network3

@tmortagne
Copy link
Member

tmortagne commented Apr 4, 2022

I often have reports of this problem, but it seems to happen way more often on Chrome than on Firefox (for the same persons and on the same network).

@mflorea mflorea self-assigned this Apr 16, 2022
@mflorea mflorea added this to the 2.11.1 milestone Apr 16, 2022
@mflorea
Copy link

mflorea commented Apr 16, 2022

Fixed in the fullcalendar macro with https://jira.xwiki.org/browse/FULLCAL-69 .

@mflorea mflorea closed this as completed Apr 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants