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

Domain tests 200.png not responding as expected #33

Open
izmeez opened this issue Oct 5, 2024 · 6 comments
Open

Domain tests 200.png not responding as expected #33

izmeez opened this issue Oct 5, 2024 · 6 comments
Labels
needs - more feedback This issue needs more input from others type - bug report Something isn't working

Comments

@izmeez
Copy link
Contributor

izmeez commented Oct 5, 2024

This may only occur on some platforms.

When creating or editing a domain, even when the domain is working, the following error is displayed:

https://example.com/modules/domain/tests/200.png is not responding as expected and may not be configured correctly at the server level. Server code 0 was returned. 

Furthermore, the checkbox option Ignore server response warning is not preserved when checked and saved with the error continuing to be displayed while the module appears to continue to work.

@izmeez izmeez added the type - bug report Something isn't working label Oct 11, 2024
@izmeez
Copy link
Contributor Author

izmeez commented Nov 12, 2024

I am still seeing this message. Is any one else seeing it?

@izmeez izmeez added the needs - more feedback This issue needs more input from others label Nov 12, 2024
@yorkshire-pudding
Copy link
Collaborator

@izmeez I can't reproduce the first part. I made sure all warnings and errors set to display and log. I edited an existing domain and created a new domain.

Also, I looked but couldn't find checkbox "Ignore server response warning" - where is it?

@izmeez
Copy link
Contributor Author

izmeez commented Nov 12, 2024

Also, I looked but couldn't find checkbox "Ignore server response warning" - where is it?

Go to domain list at /admin/structure/domain and click to edit a domain. Then at the bottom of the form you will see Ignore server response warning. Even with it left unchecked everything appears to work fine, just the notice is displayed.

@yorkshire-pudding
Copy link
Collaborator

This is what my edit screen looks like:
image

Looking at the code, this only appears if there is an error with the domain_check_response():

  // If the server did not respond properly, do not allow this record to be set
  // as the default domain.
  if ($error) {
    $form['is_default']['#description'] .= '<br />' . t('<strong>This domain did not respond correctly. It cannot be set as your primary domain unless you select <em>Ignore server response warning</em></strong>.');
    $form['ignore'] = [
      '#type' => 'checkbox',
      '#title' => t('Ignore server response warning'),
      '#default_value' => 0,
    ];
  }

@izmeez
Copy link
Contributor Author

izmeez commented Nov 13, 2024

@yorkshire-pudding That's interesting, because it does appear at the bottom as the very last option.

@izmeez
Copy link
Contributor Author

izmeez commented Nov 13, 2024

So, this must be environment specific.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs - more feedback This issue needs more input from others type - bug report Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants