unable to connect /CmsJobManager/CmsJobManager.module.php on

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
greenftechn
Forum Members
Forum Members
Posts: 36
Joined: Wed Sep 26, 2007 10:53 pm

unable to connect /CmsJobManager/CmsJobManager.module.php on

Post by greenftechn »

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.
User avatar
velden
Dev Team Member
Dev Team Member
Posts: 3483
Joined: Mon Nov 28, 2011 9:29 am
Location: The Netherlands

Re: unable to connect /CmsJobManager/CmsJobManager.module.ph

Post by velden »

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.
User avatar
DIGI3
Dev Team Member
Dev Team Member
Posts: 1629
Joined: Wed Feb 25, 2009 4:25 am
Location: Victoria, BC

Re: unable to connect /CmsJobManager/CmsJobManager.module.ph

Post by DIGI3 »

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).
Not getting the answer you need? CMSMS support options
greenftechn
Forum Members
Forum Members
Posts: 36
Joined: Wed Sep 26, 2007 10:53 pm

Re: unable to connect /CmsJobManager/CmsJobManager.module.ph

Post by greenftechn »

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.
User avatar
DIGI3
Dev Team Member
Dev Team Member
Posts: 1629
Joined: Wed Feb 25, 2009 4:25 am
Location: Victoria, BC

Re: unable to connect /CmsJobManager/CmsJobManager.module.ph

Post by DIGI3 »

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
Post Reply

Return to “CMSMS Core”