I have no particular problem with the latest stable version of Access Domain. However on a Microsoft IIS production environment server I tear my hair with this particular error.

subdomain.mysite.com/sites/all/modules/domain/tests/200.png is not responding as expected and may not be configured correctly at the server level. Server code -10060 was returned

m.mysite.com/sites/all/modules/domain/tests/200.png is not responding as expected and may not be configured correctly at the server level. Server code -10060 was returned

I found myself with configuration and settings blank pages + inability to edit node who have menu link activated same page blank

After an uninstall redirections doesn't work and i have always this error 16000 again

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

agentrickard’s picture

That message is designed to help you debug server problems, which you apparently have. I know nothing about IIS.

Domain Access tries to load a sample image from a known location when you are configuring a domain.

If this problem persists after an uninstall, it suggests larger problems at the IIS level, or an incomplete uninstall.

agentrickard’s picture

Status: Active » Closed (works as designed)
Alan D.’s picture

Component: User interface » Code
Category: support » feature
Priority: Normal » Major
Status: Closed (works as designed) » Needs review
FileSize
2.11 KB

I think that this needs to be configurable as it fails with HTTP restrictions. Also, I've worked on servers that can not do HTTP requests to themselves (I think that the dns was pointing to the external IP that didn't resolve to the internal IP - a strange issue that we worked around rather than resolving.)

So this patch adds a configuration setting to bypass the check, with a very bold warning attached to it. If this is too much, can you consider removing the UI but leaving the variable so that developers can set this manually themselves if required?

agentrickard’s picture

I did something similar on.a project recently. It didn't suppress the warnings, but let you ignore them.

A documented $conf settting seems reasonable here. My problem is that I can't reliably test these edge cases.

agentrickard’s picture

Priority: Major » Normal

Still not major.

Alan D.’s picture

It is major when you are developing on a public server with sensitive data! Anyways, easy to test, just password protect a directory using the .htaccess file, this will block the request and generate a fail.

agentrickard’s picture

I was referring specifically to the odd error code reported by the OP.

agentrickard’s picture

I'm tempted to add this simply as a hidden variable that can be overridden in $conf. I don't think we want to expose this in the settings UI and give people the chance to shoot themselves in the foot.

agentrickard’s picture

And a version with a warning.

agentrickard’s picture

Here's what the warning displays.

Alan D.’s picture

Looks good. The hidden settings are used in a number of places, so I think that no one would argue about it :)

agentrickard’s picture

Title: Server code -10060 was returned » Task: Document disabling the URI check
Component: Code » Documentation
Status: Needs review » Active

I'm going to commit this.

Can you follow-up with documentation here: https://drupal.org/node/1096988

Alan D.’s picture

Something like this?

Additional programmatic settings

1) Skip domain checks

The Domain Access module does additional checks on the primary domain to prevent users from accidentally misconfiguring this vitally important domain setting. Errors here can render a site inoperable. However, there are some use-cases where you need to bypass this restriction and the internal site variable flag, domain_skip_domain_check allows you to do this. Set this to TRUE to disable domain validation. Once you have saved the domain, reset this to FALSE to re-enable validation. This setting was added in version 7.x-3.????

agentrickard’s picture

Yes, plus an example of the change to settings.php

$conf['domain_skip_domain_check'] = TRUE;

It will go in to 7.x.3.4.

Alan D.’s picture

Status: Active » Fixed

Added :)

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

ph7’s picture

Issue summary: View changes

I encountered the same error when changing a project to a new default domain.
It turned out te be a DNS issue, unrelated to 'domain access', that I worked around by adding the new domain name to the hosts file of the server.

I think these tests are there for a reason and should not be disabled by default.