Answers.Body: <p>I solved the problem. The reason CrafCMS did not log any error, is that there is no craft error. :) The SSL Certificate to the XHR was blocked by some combination effect between Firefox and the AntiVir System. Without AntiVir Software or in Chrome it runs great.</p>
  <p>The error message &quot;a server error occured&quot; was missleading, because it was a client connection error.</p>
  <p>thank you for your help / Merkur</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-07-22T14:58:37.077Z
Answers.LastActivityDate: 2022-07-22T14:58:37.077Z
Answers.UserDisplayName: Merkur
Body: <p>I use Craft Pro CMS 3.7.39 [edit: now updated to  Craft Pro CMS 3.7.42] in headless mode. Worked fine for some weeks now - but without configuration or code change some of many sections entry lists failes to load. The loading spinner keeps spinning - after ~1 minute a empty entry list is loaded. There are ~ 3000 entries in the database.</p>
  <p><a href="https://i.sstatic.net/3fhu5.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/3fhu5.png" alt="empty entry list is loaded" /></a></p>
  <p>Nginx, PHP-FPM and MySQL logs are clean. :(</p>
  <p><a href="https://i.sstatic.net/Eb0c3.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/Eb0c3.png" alt="System Info" /></a></p>
  <p>any ideas how to figure out thats going on?</p>
  <h2>edit 1</h2>
  <p>there is a little error banner:
  <a href="https://i.sstatic.net/UxlUM.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/UxlUM.png" alt="a server error occoured" /></a></p>
  <h2>edit 2</h2>
  <p>in the browser log there is one XHR Request, that dosnt return - i think thats the error:</p>
  <p><a href="https://i.sstatic.net/811Wx.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/811Wx.png" alt="enter image description here" /></a></p>
  <h2>edit 3</h2>
  <p>graphql is successfully able to query the sections that do not work in the admin gui. so the database part cloud be okay.</p>
  <h2>edit 4</h2>
  <p>this is the .env file</p>
  <pre><code># The environment Craft is currently running in (dev, staging, production, etc.)
  ENVIRONMENT=dev
  
  # The application ID used to to uniquely store session and cache data, mutex locks, and more
  APP_ID=XXXXX
  
  # The secure key Craft will use for hashing and encrypting data
  SECURITY_KEY=XXXX
  
  # Database Configuration
  DB_DRIVER=mysql
  DB_SERVER=XXXX
  DB_PORT=XXXX
  DB_DATABASE=XXXX
  DB_USER=XXXX
  DB_PASSWORD=XXXX
  DB_SCHEMA=XXXX
  DB_TABLE_PREFIX=XXXX
  
  CRAFT_CMS_URL=https://craft.xxxxx.de
  CRAFT_CMS_ROOT=/srv/www/xxxxx_craft/web
  </code></pre>
  <p>this is the general.php</p>
  <pre><code>&lt;?php
  /**
   * General Configuration
   *
   * All of your system's general configuration settings go in here. You can see a
   * list of the available settings in vendor/craftcms/cms/src/config/GeneralConfig.php.
   *
   * @see \craft\config\GeneralConfig
   */
  
  use craft\helpers\App;
  
  $isDev = App::env('ENVIRONMENT') === 'dev';
  $isProd = App::env('ENVIRONMENT') === 'production';
  
  return [
      // Default Week Start Day (0 = Sunday, 1 = Monday...)
      'defaultWeekStartDay' =&gt; 1,
  
      // Whether generated URLs should omit &quot;index.php&quot;
      'omitScriptNameInUrls' =&gt; true,
  
      // The URI segment that tells Craft to load the control panel
      'baseCpUrl' =&gt;  null,
      'cpTrigger' =&gt; 'admin',
  
      // The secure key Craft will use for hashing and encrypting data
      'securityKey' =&gt; App::env('SECURITY_KEY'),
  
      // Whether Dev Mode should be enabled (see https://craftcms.com/guides/what-dev-mode-does)
      'devMode' =&gt; $isDev,
  
      // Whether administrative changes should be allowed
      'allowAdminChanges' =&gt; $isDev,
  
      // Whether crawlers should be allowed to index pages and following links
      'disallowRobots' =&gt; !$isProd,
  
      // Whether the system should run in Headless Mode, which optimizes the system and control panel for headless CMS implementations.
      'headlessMode' =&gt; true,
      'limitAutoSlugsToAscii' =&gt; true,
  
      // Whether the EXIF data should be preserved when manipulating and uploading images.
      'preserveExifData' =&gt; true,
  //    'defaultDirMode' =&gt; '2775',
  
      'aliases' =&gt; [
          '@web' =&gt; App::env('CRAFT_CMS_URL') ? App::env('CRAFT_CMS_URL') : null,
          '@webroot' =&gt; App::env('CRAFT_CMS_ROOT') ? App::env('CRAFT_CMS_ROOT') : null,
      ]
  ];
  </code></pre>
  <h1>edit 5</h1>
  <p>both site configurations:</p>
  <p><a href="https://i.sstatic.net/8GczW.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/8GczW.png" alt="both site configurations" /></a></p>
  <h1>edit 6</h1>
  <p>section configuration:
  <a href="https://i.sstatic.net/zTXkb.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/zTXkb.png" alt="section configuration" /></a></p>
  <h1>edit 7</h1>
  <p>here you see the console output in the error case
  <a href="https://i.sstatic.net/MrjEy.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/MrjEy.png" alt=" error case" /></a></p>
  <p>here you see the console output in the no error case
  <a href="https://i.sstatic.net/g4wrN.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/g4wrN.png" alt=" no error case" /></a></p>
  <p>XHR the index.php?admin/actions/.../get-elements/ fail to return ANY value.</p>
  <h1>edit 8</h1>
  <ul>
  <li>there are no relevant errors in web.log.</li>
  </ul>
  <p><a href="https://i.sstatic.net/1Ze4m.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/1Ze4m.png" alt="web.log" /></a></p>
  <ul>
  <li>there are no relevant errors in /storage/logs/phperrors.log</li>
  <li>there are no relevant errors in /var/log/php7.3-fpm.log</li>
  <li>there are no relevant errors in /var/log/nginx/XXXXX_craft.error.log</li>
  <li>there are no relevant errors in /var/log/mysql/error.log</li>
  </ul>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2022-05-18T11:49:55.050Z
Comments.Text: Not in all cases an empty list is loaded. If i open a other entry view before the faulty one - the previous list stays
Comments.UserDisplayName: Merkur
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2022-05-18T14:21:09.837Z
Comments.Text: Hey Merkur, how is your config (env & general.php)? Whats the url and what did you set as siteUrl? Did you set the url of the backend? Maybe https issues? Is there any output in the console?
Comments.UserDisplayName: Max Strebel
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2022-05-19T08:42:19.867Z
Comments.Text: Hello Max, I added .env and general.php to the post. nothing crazy there I belive. I use Craft CMS in headless mode only - the section urls are just defined by the entry id. there are 2 sites a german and a english variation they are configured as sub directories of the the craft cms url  @web
Comments.UserDisplayName: Merkur
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2022-05-19T09:49:47.580Z
Comments.Text: Updated to Version Craft Pro CMS 3.7.42 - nothing changed :(
Comments.UserDisplayName: Merkur
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2022-05-19T10:01:52.500Z
Comments.Text: I just discoverd that the entries overview of the secound site - the english version works. I updated the post with screen shots of the site configuration. I also configured a fixed @web and increased the php max_execution_time to 120 - still no joy
Comments.UserDisplayName: Merkur
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2022-05-19T14:10:21.610Z
Comments.Text: Could you share a screenshot of your browsers console (in the chrome dev tools)? Maybe there's a hint where the javascript has problems
Comments.UserDisplayName: Max Strebel
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2022-05-19T14:39:44.967Z
Comments.Text: i added screen shots of the error and no error case as edit 7. as you see the XHR get-elements dont return a value / error
Comments.UserDisplayName: Merkur
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2022-05-19T14:40:35.860Z
Comments.Text: is there some kind of database consistency check utility for craft cms?
Comments.UserDisplayName: Merkur
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2022-05-19T14:45:41.783Z
Comments.Text: You could have a look at the console commands. They hav utilities to repair structures. But I guess there's rather something wrong with your site setup, if one shows and the other does not. You might also want to check out the discord. Did you try to query the url directly?
Comments.UserDisplayName: Max Strebel
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2022-05-19T14:51:20.820Z
Comments.Text: I toke another look at the log files - see edit 8, no joy :/
Comments.UserDisplayName: Merkur
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2022-05-19T15:30:51.693Z
Comments.Text: Hello Max, thank you for your time and questions. I'll try to get help from the developers.
Comments.UserDisplayName: Merkur
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2022-05-23T15:06:17.270Z
Comments.Text: Hello, i solved the problem. The reason CrafCMS did no log any error, is that there is no craft error. :) The SSL Connection is blocked by some combination effect btween Firefox and the AntiVir System. Without AntiVir Software or in Chrome it runs great.
Comments.UserDisplayName: Merkur
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2022-05-24T18:34:47.943Z
Comments.Text: @Merkur Can you add that as an official answer in case it helps someone in the future?
Comments.UserDisplayName: Brad Bell
Tags: <entries><admin>
Title: Backend: Entry list failes to load
ThreadText: # Backend: Entry list failes to load
  
  (Asked by: username_0 on 2022-05-18)
  
  I use Craft Pro CMS 3.7.39 [edit: now updated to Craft Pro CMS 3.7.42] in headless mode. Worked fine for some weeks now - but without configuration or code change some of many sections entry lists failes to load. The loading spinner keeps spinning - after ~1 minute a empty entry list is loaded. There are ~ 3000 entries in the database.
  
  [![empty entry list is loaded](https://i.sstatic.net/3fhu5.png)](https://i.sstatic.net/3fhu5.png)
  
  Nginx, PHP-FPM and MySQL logs are clean. :(
  
  [![System Info](https://i.sstatic.net/Eb0c3.png)](https://i.sstatic.net/Eb0c3.png)
  
  any ideas how to figure out thats going on?
  
  ## edit 1
  
  there is a little error banner:
  [![a server error occoured](https://i.sstatic.net/UxlUM.png)](https://i.sstatic.net/UxlUM.png)
  
  ## edit 2
  
  in the browser log there is one XHR Request, that dosnt return - i think thats the error:
  
  [![enter image description here](https://i.sstatic.net/811Wx.png)](https://i.sstatic.net/811Wx.png)
  
  ## edit 3
  
  graphql is successfully able to query the sections that do not work in the admin gui. so the database part cloud be okay.
  
  ## edit 4
  
  this is the .env file
  
  ```
  # The environment Craft is currently running in (dev, staging, production, etc.)
  ENVIRONMENT=dev
  
  # The application ID used to to uniquely store session and cache data, mutex locks, and more
  APP_ID=XXXXX
  
  # The secure key Craft will use for hashing and encrypting data
  SECURITY_KEY=XXXX
  
  # Database Configuration
  DB_DRIVER=mysql
  DB_SERVER=XXXX
  DB_PORT=XXXX
  DB_DATABASE=XXXX
  DB_USER=XXXX
  DB_PASSWORD=XXXX
  DB_SCHEMA=XXXX
  DB_TABLE_PREFIX=XXXX
  
  CRAFT_CMS_URL=https://craft.xxxxx.de
  CRAFT_CMS_ROOT=/srv/www/xxxxx_craft/web
  
  ```
  
  this is the general.php
  
  ```
  <?php
  /**
   * General Configuration
   *
   * All of your system's general configuration settings go in here. You can see a
   * list of the available settings in vendor/craftcms/cms/src/config/GeneralConfig.php.
   *
   * @see \craft\config\GeneralConfig
   */
  
  use craft\helpers\App;
  
  $isDev = App::env('ENVIRONMENT') === 'dev';
  $isProd = App::env('ENVIRONMENT') === 'production';
  
  return [
      // Default Week Start Day (0 = Sunday, 1 = Monday...)
      'defaultWeekStartDay' => 1,
  
      // Whether generated URLs should omit "index.php"
      'omitScriptNameInUrls' => true,
  
      // The URI segment that tells Craft to load the control panel
      'baseCpUrl' =>  null,
      'cpTrigger' => 'admin',
  
      // The secure key Craft will use for hashing and encrypting data
      'securityKey' => App::env('SECURITY_KEY'),
  
      // Whether Dev Mode should be enabled (see https://craftcms.com/guides/what-dev-mode-does)
      'devMode' => $isDev,
  
      // Whether administrative changes should be allowed
      'allowAdminChanges' => $isDev,
  
      // Whether crawlers should be allowed to index pages and following links
      'disallowRobots' => !$isProd,
  
      // Whether the system should run in Headless Mode, which optimizes the system and control panel for headless CMS implementations.
      'headlessMode' => true,
      'limitAutoSlugsToAscii' => true,
  
      // Whether the EXIF data should be preserved when manipulating and uploading images.
      'preserveExifData' => true,
  //    'defaultDirMode' => '2775',
  
      'aliases' => [
          '@web' => App::env('CRAFT_CMS_URL') ? App::env('CRAFT_CMS_URL') : null,
          '@webroot' => App::env('CRAFT_CMS_ROOT') ? App::env('CRAFT_CMS_ROOT') : null,
      ]
  ];
  
  ```
  
  # edit 5
  
  both site configurations:
  
  [![both site configurations](https://i.sstatic.net/8GczW.png)](https://i.sstatic.net/8GczW.png)
  
  # edit 6
  
  section configuration:
  [![section configuration](https://i.sstatic.net/zTXkb.png)](https://i.sstatic.net/zTXkb.png)
  
  # edit 7
  
  here you see the console output in the error case
  [![ error case](https://i.sstatic.net/MrjEy.png)](https://i.sstatic.net/MrjEy.png)
  
  here you see the console output in the no error case
  [![ no error case](https://i.sstatic.net/g4wrN.png)](https://i.sstatic.net/g4wrN.png)
  
  XHR the index.php?admin/actions/.../get-elements/ fail to return ANY value.
  
  # edit 8
  
  * there are no relevant errors in web.log.
  
  [![web.log](https://i.sstatic.net/1Ze4m.png)](https://i.sstatic.net/1Ze4m.png)
  
  * there are no relevant errors in /storage/logs/phperrors.log
  * there are no relevant errors in /var/log/php7.3-fpm.log
  * there are no relevant errors in /var/log/nginx/XXXXX\_craft.error.log
  * there are no relevant errors in /var/log/mysql/error.log
  
  **Tags:** entries, admin
  
  > **Comments:**
  > **username_0**: Not in all cases an empty list is loaded. If i open a other entry view before the faulty one - the previous list stays  
  > **username_1**: Hey username_0, how is your config (env & general.php)? Whats the url and what did you set as siteUrl? Did you set the url of the backend? Maybe https issues? Is there any output in the console?  
  > **username_0**: Hello Max, I added .env and general.php to the post. nothing crazy there I belive. I use Craft CMS in headless mode only - the section urls are just defined by the entry id. there are 2 sites a german and a english variation they are configured as sub directories of the the craft cms url  @web  
  > **username_0**: Updated to Version Craft Pro CMS 3.7.42 - nothing changed :(  
  > **username_0**: I just discoverd that the entries overview of the secound site - the english version works. I updated the post with screen shots of the site configuration. I also configured a fixed @web and increased the php max_execution_time to 120 - still no joy  
  > **username_1**: Could you share a screenshot of your browsers console (in the chrome dev tools)? Maybe there's a hint where the javascript has problems  
  > **username_0**: i added screen shots of the error and no error case as edit 7. as you see the XHR get-elements dont return a value / error  
  > **username_0**: is there some kind of database consistency check utility for craft cms?  
  > **username_1**: You could have a look at the console commands. They hav utilities to repair structures. But I guess there's rather something wrong with your site setup, if one shows and the other does not. You might also want to check out the discord. Did you try to query the url directly?  
  > **username_0**: I toke another look at the log files - see edit 8, no joy :/  
  > **username_0**: Hello Max, thank you for your time and questions. I'll try to get help from the developers.  
  > **username_0**: Hello, i solved the problem. The reason CrafCMS did no log any error, is that there is no craft error. :) The SSL Connection is blocked by some combination effect btween Firefox and the AntiVir System. Without AntiVir Software or in Chrome it runs great.  
  > **username_2**: @username_0 Can you add that as an official answer in case it helps someone in the future?  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2022-07-22. Score: 1
  
  I solved the problem. The reason CrafCMS did not log any error, is that there is no craft error. :) The SSL Certificate to the XHR was blocked by some combination effect between Firefox and the AntiVir System. Without AntiVir Software or in Chrome it runs great.
  
  The error message "a server error occured" was missleading, because it was a client connection error.
  
  thank you for your help / username_0
  
  
  ---
  
  