Answers.Body: <p>When you visit CiviCRM's admin page, by default it loads a couple of dashlets that pull content from civicrm.org</p>
  <p>If it's you first time in a while visiting that page, it's going to pull it fresh, but if you then go back in the same session, it'll show you a cached version.</p>
  <p>Your description tells me either that your server's connection to civicrm.org is extremely slow (and/or your server itself is underprovisioned), or (more likely) it's actually failing to connect to civicrm.org for reasons like a firewall or network topology.</p>
  <p>Conclusion: if you do eventually see those dashlets, it's likely to be a network or server type issue. If you don't, then it's probably a firewall or (intentional) network setup that prevents your install from connecting to civicrm.org.</p>
  <p>Note: you can test this by removing all the dashlets from your admin page and see what impact it has.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-10-27T07:34:17.223Z
Answers.Text: thanks for the tips. Unfortunately, the dashlets were available and not used. If i use them,  civicrm ressources and news are blanked, so it must be a network restriction as you said.
  I didn't see how to delete these daslets.
   I tried to use a wordpress plugin redirection, but it seem not working with php pages.
Answers.UserDisplayName: stevy44
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-10-28T13:01:02.180Z
Answers.Text: A network issue like this not just a hassle here, but likely will impact other things (e.g. WP's ability to update itself or even tell you when it needs an update). You should get the network/firewall issue fixed. If your site is on a public ip and is intended to be publicly accessible, then it's likely a firewall that needs to allow outgoing port 80/443 connections.
Answers.UserDisplayName: Alan Dixon
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-11-07T12:50:05.020Z
Answers.Text: sorry for the delay (holidays). My server is behind a university firewall and we use proxy to access the internet. Ports 80 and 443 are open. I use a debian with wordpress. With proxy I can update debian, and worpress update too. Why civicrm doesn't have a file to indicate a proxy ? All others virtual servers i take care have this option. Another thing : i realized today that even if i connect with an admin user in wordpress, i don't have the rights to manage dashboard on the civicrm homepage (this is why i said i have 3 ressources available/enabled, no other choice).
Answers.UserDisplayName: stevy44
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-11-08T18:19:53.920Z
Answers.Text: Ah, so the actual mechanism at work to load the dashlets is a bit complicated. Here's the most useful post I've seen: https://civicrm.stackexchange.com/questions/4448/ssl-enabled-civicrm-with-forever-loading-dashlets
Answers.UserDisplayName: Alan Dixon
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-11-08T18:21:10.357Z
Answers.Text: In other words, there seems to be a few ways to fail. If you have a cli to your server, you could try accessing yourself via curl, that might expose an issue, for example.
Answers.UserDisplayName: Alan Dixon
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-10-25T19:22:40.687Z
Answers.LastActivityDate: 2022-10-25T19:37:04.250Z
Answers.LastEditDate: 2022-10-25T19:37:04.250Z
Answers.UserDisplayName: Alan Dixon
Body: <p>I have installed a site under wordpress with Civicrm.
  Everytime i log on the site, i have to wait 2 minutes befor i can have access to civicrm.
  After that, no problem to navigate between the pages.
  I looked for past messages:
  <a href="https://civicrm.stackexchange.com/questions/12886/civicrm-dashboard-hangs-for-5-minutes">CiviCRM Dashboard Hangs for 5+ minutes</a></p>
  <p><a href="https://civicrm.stackexchange.com/questions/14343/civicrm-dashboard-hangs-for-5-minutes-part-2">CiviCRM Dashboard Hangs for 5+ minutes part 2</a></p>
  <p><a href="https://docs.civicrm.org/sysadmin/en/latest/troubleshooting/" rel="nofollow noreferrer">https://docs.civicrm.org/sysadmin/en/latest/troubleshooting/</a></p>
  <p><a href="https://civicrm.stackexchange.com/questions/22068/first-civicrm-request-of-each-session-takes-4-minutes-afterwards-works-fine">first CiviCRM request of each session takes 4 minutes, afterwards works fine</a></p>
  <p>Here is the results :
  no errors in wp-content/plugins/files/civicrm/ConfigAndLog/</p>
  <p>I changed the value to 1 to const CHECK_TIMER in plugings/civicrm/civicrm/CRM/Utils/Check.php to see if civicrm check were responsible : no change after that, i can switch between pages et menus with no delay   -&gt; NOK</p>
  <p>I replaced th ip value by the site address in civicrm.settings.php -&gt;NOK</p>
  <p>I changed in /etc/hosts 127.0.0.1  address_of_my-site  -&gt;NOK</p>
  <p>I used the suppresses civicrm checks extension in wordpress  -&gt;NOK</p>
  <p>My DNS is ok in /etc/resolv.conf</p>
  <p>I don't have any other idea, a clue would be much appreciate :)</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2022-10-21T13:50:22.897Z
Comments.Text: I forgot to tell that everytime i click on civicrm (https://mysite/wp-admin/admin.php?page=CiviCRM), i have to wait for 2 minutes.
  If i click on settings and for example settings/ressources urls, i can find the menu and everything is ok after that, until i click again on CiviCRM
Comments.UserDisplayName: stevy44
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2022-10-24T17:45:49.160Z
Comments.Text: What extensions are in use?
Comments.UserDisplayName: Guitarman
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2022-10-25T11:38:02.607Z
Comments.Text: in worpress, none. In civicrm, CKeditor4, contribution cancel actions and FlexMailer (i think these extensions are activated by default). For the Components, none are activated.
Comments.UserDisplayName: stevy44
Tags: <base-page>
Title: CiviCRM Dashboard Hangs for 2 minutes
ThreadText: # CiviCRM Dashboard Hangs for 2 minutes
  
  (Asked by: username_0 on 2022-10-21)
  
  I have installed a site under wordpress with Civicrm.
  Everytime i log on the site, i have to wait 2 minutes befor i can have access to civicrm.
  After that, no problem to navigate between the pages.
  I looked for past messages:
  [CiviCRM Dashboard Hangs for 5+ minutes](https://civicrm.stackexchange.com/questions/12886/civicrm-dashboard-hangs-for-5-minutes)
  
  [CiviCRM Dashboard Hangs for 5+ minutes part 2](https://civicrm.stackexchange.com/questions/14343/civicrm-dashboard-hangs-for-5-minutes-part-2)
  
  <https://docs.civicrm.org/sysadmin/en/latest/troubleshooting/>
  
  [first CiviCRM request of each session takes 4 minutes, afterwards works fine](https://civicrm.stackexchange.com/questions/22068/first-civicrm-request-of-each-session-takes-4-minutes-afterwards-works-fine)
  
  Here is the results :
  no errors in wp-content/plugins/files/civicrm/ConfigAndLog/
  
  I changed the value to 1 to const CHECK\_TIMER in plugings/civicrm/civicrm/CRM/Utils/Check.php to see if civicrm check were responsible : no change after that, i can switch between pages et menus with no delay -> NOK
  
  I replaced th ip value by the site address in civicrm.settings.php ->NOK
  
  I changed in /etc/hosts 127.0.0.1 address\_of\_my-site ->NOK
  
  I used the suppresses civicrm checks extension in wordpress ->NOK
  
  My DNS is ok in /etc/resolv.conf
  
  I don't have any other idea, a clue would be much appreciate :)
  
  **Tags:** base-page
  
  > **Comments:**
  > **username_0**: I forgot to tell that everytime i click on civicrm (https://mysite/wp-admin/admin.php?page=CiviCRM), i have to wait for 2 minutes. If i click on settings and for example settings/ressources urls, i can find the menu and everything is ok after that, until i click again on CiviCRM  
  > **username_1**: What extensions are in use?  
  > **username_0**: in worpress, none. In civicrm, CKeditor4, contribution cancel actions and FlexMailer (i think these extensions are activated by default). For the Components, none are activated.  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_2 on 2022-10-25. Score: 1
  
  When you visit CiviCRM's admin page, by default it loads a couple of dashlets that pull content from civicrm.org
  
  If it's you first time in a while visiting that page, it's going to pull it fresh, but if you then go back in the same session, it'll show you a cached version.
  
  Your description tells me either that your server's connection to civicrm.org is extremely slow (and/or your server itself is underprovisioned), or (more likely) it's actually failing to connect to civicrm.org for reasons like a firewall or network topology.
  
  Conclusion: if you do eventually see those dashlets, it's likely to be a network or server type issue. If you don't, then it's probably a firewall or (intentional) network setup that prevents your install from connecting to civicrm.org.
  
  Note: you can test this by removing all the dashlets from your admin page and see what impact it has.
  
  > **Comments:**
  > **username_0**: thanks for the tips. Unfortunately, the dashlets were available and not used. If i use them,  civicrm ressources and news are blanked, so it must be a network restriction as you said. I didn't see how to delete these daslets.  I tried to use a wordpress plugin redirection, but it seem not working with php pages.  
  > **username_2**: A network issue like this not just a hassle here, but likely will impact other things (e.g. WP's ability to update itself or even tell you when it needs an update). You should get the network/firewall issue fixed. If your site is on a public ip and is intended to be publicly accessible, then it's likely a firewall that needs to allow outgoing port 80/443 connections.  
  > **username_0**: sorry for the delay (holidays). My server is behind a university firewall and we use proxy to access the internet. Ports 80 and 443 are open. I use a debian with wordpress. With proxy I can update debian, and worpress update too. Why civicrm doesn't have a file to indicate a proxy ? All others virtual servers i take care have this option. Another thing : i realized today that even if i connect with an admin user in wordpress, i don't have the rights to manage dashboard on the civicrm homepage (this is why i said i have 3 ressources available/enabled, no other choice).  
  > **username_2**: Ah, so the actual mechanism at work to load the dashlets is a bit complicated. Here's the most useful post I've seen: https://civicrm.stackexchange.com/questions/4448/ssl-enabled-civicrm-with-forever-loading-dashlets  
  > **username_2**: In other words, there seems to be a few ways to fail. If you have a cli to your server, you could try accessing yourself via curl, that might expose an issue, for example.  
  
  ---
  
  