I'm seeing the following at the top of the browser window intermittently.
Warning: fsockopen(): unable to connect to mydomain.com:80 (Connection timed out) in /var/www/html/mydomain.com/modules/CmsJobManager/CmsJobManager.module.php on line 300
It popped up with clean install of 2.2.6, but the 2.2.7 update followed shortly, and did not result in a fix. Other versions of cmsms are running without issues.
unable to connect /CmsJobManager/CmsJobManager.module.php on
-
- Forum Members
- Posts: 36
- Joined: Wed Sep 26, 2007 10:53 pm
Re: unable to connect /CmsJobManager/CmsJobManager.module.ph
Probably something you need to talk about with your hosting provider. Guess the module wants to open a connection to the web server to call a background job.
Might be blocked by some (firewall) rules.
Might be blocked by some (firewall) rules.
Re: unable to connect /CmsJobManager/CmsJobManager.module.ph
I'm noticing this on some sites where the site is accessible from multiple protocols (both https and http) or multiple domains, or directly by IP. Setting a root_url in config seemed to eliminate it when that was possible, and/or forcing https in htaccess.
Still need to do a bit more testing on what to do where the site is accessible from multiple domain names (without redirect).
Still need to do a bit more testing on what to do where the site is accessible from multiple domain names (without redirect).
Not getting the answer you need? CMSMS support options
-
- Forum Members
- Posts: 36
- Joined: Wed Sep 26, 2007 10:53 pm
Re: unable to connect /CmsJobManager/CmsJobManager.module.ph
I tried setting root url as shown in the documentation here:
https://docs.cmsmadesimple.org/configur ... g_root_url
I initially thought this was working. I discovered later that if the site was inactive for a period of time the message would come up again. Loading and reloading some pages causes it to go away.
https://docs.cmsmadesimple.org/configur ... g_root_url
I initially thought this was working. I discovered later that if the site was inactive for a period of time the message would come up again. Loading and reloading some pages causes it to go away.
Re: unable to connect /CmsJobManager/CmsJobManager.module.ph
at the very least you may want to disable "display errors". Have them go to the log instead. You can still continue to troubleshoot, but what visitors don't know won't hurt them.
Not getting the answer you need? CMSMS support options