cloudControl deploys same build several times - cloudcontrol

I'm running a Spring-Boot application on cloudControl and a simple Jenkins task to check every 10 minutes whether the application is still available or not. So it occurs every couple days that the check-alive fails, but it is available again only minutes later. The cloudControl log says there was a deployment in these times, but the hash value of the build is the same as no changes were made.
Why are these (IMHO unnecessary) deployments happening?
[Wed Sep 10 12:20:16 2014] lb-101 INFO Routing requests to new version
[Wed Sep 10 12:20:44 2014] lb-102 INFO Routing requests to new version
[Wed Sep 10 16:43:50 2014] lxc-1752 INFO Deploying ...
[Wed Sep 10 16:44:03 2014] lxc-1752 INFO Deployed version: b6a4eb94702f9a9aaeb9baa367d7a74c8d1c75e8
[Wed Sep 10 16:44:03 2014] lb-97 INFO Routing requests to new version
[Wed Sep 10 16:44:03 2014] lb-98 INFO Routing requests to new version
...
[Mon Sep 15 08:44:01 2014] lxc-1767 INFO Deploying ...
[Mon Sep 15 08:44:16 2014] lxc-1767 INFO Deployed version: b6a4eb94702f9a9aaeb9baa367d7a74c8d1c75e8
[Mon Sep 15 08:44:16 2014] ngx-72 INFO Routing requests to new version
[Mon Sep 15 08:44:16 2014] lb-120 INFO Routing requests to new version

If a deployments is in the free tier its containers are hibernated to free up resources if not used. If hibernated deployments get a request a new container is started to serve that request. This is the behaviour you are seeing.
To avoid having your application hibernated simply scale the deployment up or out.

Related

SoftException in Application.cpp:630: Could not execute script

I’ll try to keep this short :)
I have internal server error on my site that comes and goes and happens like twice a week for the past 4 months. This week it happens everyday like if I’m browsing 10 pages at least one will be 500 internal server error. I had many plugins and thought that they are causing it. I deactivated plugins and still have the error, I’m using Avada theme and switch to native theme and still have the error (when I test it by opening many pages). I’m using incognito window + using www.brokenlinkcheck.com and www.drlinkcheck.com.
Error:
Wed Feb 05 14:36:50.903810 2020] [:error] [pid 404293:tid
139773324543744] [client 38.128.66.10:0] SoftException in
Application.cpp:630: Could not execute script
“/home1/xxxxxxx/public_html/index.php”
[Wed Feb 05 14:36:50.013640 2020] [:error] [pid 404293:tid
139773692856064] [client 5.244.163.91:0] SoftException in
Application.cpp:630: Could not execute script
“/home1/xxxxxxx/public_html/index.php”, referer:
https://www.google.com/
[Wed Feb 05 14:36:49.740221 2020] [:error] [pid 404293:tid
139773681346304] [client 197.253.196.171:0] SoftException in
Application.cpp:630: Could not execute script
“/home1/hatitnet/public_html/index.php”, referer:
https://www.xxxxxxx.net/5280/
[Wed Feb 05 14:36:48.736710 2020] [:error] [pid 412638:tid
139774268344064] [client 37.43.228.175:57520] SoftException in
Application.cpp:630: Could not execute script
“/home1/xxxxxxx/public_html/index.php”, referer:
https://www.xxxxxxx.net/wp-admin/post.php?post=10231&action=edit
Actions taken to solve the issue:
1- deactivated all plugins
2- generated new htaccess file
3- change themes
4- re-installed WordPress fresh copy
And nothing has worked.

wordpress wp-plugin as referrer in non wordpress server

I have recently found some strange logs on my webserver (something about wordpress):
[Wed Nov 15 19:44:28 2017] [error] [client 209.90.225.243] File does not exist: /path/to/vhosts/docroot/wp-content, referer: http://my.domain/wp-content/plugins/revslider/temp/
[Mon Nov 13 19:05:51 2017] [error] [client 209.90.225.243] File does not exist: /path/to/vhosts/docroot/wp-content, referer: http://my.domain/wp-content/themes/famous/style.css
[Sat Nov 11 22:21:38 2017] [error] [client 209.90.225.243] File does not exist: /path/to/vhosts/docroot/wp-content, referer: http://my.domain/wp-content/plugins/complete-gallery-manager/frames/upload-images.php
The main problem is that I don't have a wordpress installed in the virtual-host where I found the these errors. On the same server, there are other intallations of word-press that I don't have access to.
Does anybody know why I'm seeing these logs messages? The referer page doesn't exist on my server, but it's easy to change in a http request made from scratch.
Could it be a random attack?

MAMP server not working after OS Sierra update

I recently updated to the latest version of macOS and can't get an old MAMP-dependent project I have to run. It was working fine right before I upgraded. I googled my way around thinking the upgrade might be something simple like the previous OS upgrade fix that required simply renaming the file but I couldn't fine anything.
Has anyone else had any MAMP issues with the latest macOS update or what are some common local environment fixes to look into after an OS update?
apache_error_log:
[Sun Nov 27 17:40:12 2016] [notice] FastCGI: process manager initialized (pid 2517)
[Sun Nov 27 17:40:12 2016] [notice] Digest: generating secret for digest authentication ...
[Sun Nov 27 17:40:12 2016] [notice] Digest: done
[Sun Nov 27 17:40:13 2016] [notice] Apache/2.2.26 (Unix) mod_fastcgi/2.4.6 mod_wsgi/3.4 Python/2.7.6 PHP/5.5.10 DAV/2 mod_ssl/2.2.26 OpenSSL/0.9.8zh mod_perl/2.0.8 Perl/v5.18.2 configured -- resuming normal operations
[Sun Nov 27 18:41:25 2016] [notice] caught SIGTERM, shutting down
[Sun Nov 27 18:41:34 2016] [notice] FastCGI: process manager initialized (pid 2928)
[Sun Nov 27 18:41:34 2016] [notice] Digest: generating secret for digest authentication ...
[Sun Nov 27 18:41:34 2016] [notice] Digest: done
[Sun Nov 27 18:41:35 2016] [notice] Apache/2.2.26 (Unix) mod_fastcgi/2.4.6 mod_wsgi/3.4 Python/2.7.6 PHP/5.5.10 DAV/2 mod_ssl/2.2.26 OpenSSL/0.9.8zh mod_perl/2.0.8 Perl/v5.18.2 configured -- resuming normal operations
I was also having trouble with MAMP after having upgraded the Mac operating system to the High Sierra. The Apache Server was not starting. My MAMP is an old version (version 1.9). To solve I just created a folder called logs inside the Library folder. Only that and MAMP returned to normal operation.
I found this solution by seeing in the logs folder. In the Apache log (apache_error_log) I saw that it was looking for the "logs" folder inside the "Library" folder, which did not exist. So just creating this folder solved.

XAMPP / WP localhost loads one website fine, but Connection Reset on second

I am running the latest XAMPP and Wordpress on my Windows 10 machine, and everything has been working fine for more than a week. I run two websites under XAMPP/htdocs, web1 and web2. This morning Chrome said Connection Reset for web2.
localhost/dashboard loads the XAMPP page correctly.
localhost/web1 loads web1 correctly.
From this I conclude that XAMPP, Apache, WP, and MySql are all working correctly, for web1.
But for some reason Chrome and IE get Connection Reset errors on web2.
I can't log into the wp-admin screen on web2 either.
I've looked for solutions on the net, emptied browser caches, etc, and even did a 'netsh winsock reset' on the whole computer, but with no success.
I think it's something wrong with wordpress on website 2, because web1 works fine, right beside web2. Does anyone have any ideas on how to troubleshoot this? I may end up reinstalling wordpress and all my plugins, etc.
Here's my apache error log. Not sure if these errors are relevant, because they are in the log when everything was working fine, too.
[Sat Oct 29 09:11:23.875588 2016] [mpm_winnt:notice] [pid 2248:tid 528] AH00428: Parent: child process 16144 exited with status 255 -- Restarting.
[Sat Oct 29 09:11:24.084459 2016] [ssl:warn] [pid 2248:tid 528] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sat Oct 29 09:11:24.105497 2016] [mpm_winnt:notice] [pid 2248:tid 528] AH00455: Apache/2.4.23 (Win32) OpenSSL/1.0.2h PHP/5.6.24 configured -- resuming normal operations
[Sat Oct 29 09:11:24.105497 2016] [mpm_winnt:notice] [pid 2248:tid 528] AH00456: Apache Lounge VC11 Server built: Jul 7 2016 11:13:22
[Sat Oct 29 09:11:24.105497 2016] [core:notice] [pid 2248:tid 528] AH00094: Command line: 'C:\\Users\\jameson\\Documents\\xampp\\apache\\bin\\httpd.exe -d C:/Users/jameson/Documents/XAMPP/apache'
[Sat Oct 29 09:11:24.106499 2016] [mpm_winnt:notice] [pid 2248:tid 528] AH00418: Parent: Created child process 17048
[Sat Oct 29 09:11:24.477157 2016] [ssl:warn] [pid 17048:tid 500] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sat Oct 29 09:11:24.563811 2016] [ssl:warn] [pid 17048:tid 500] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sat Oct 29 09:11:24.585366 2016] [mpm_winnt:notice] [pid 17048:tid 500] AH00354: Child: Starting 150 worker threads.
[Sat Oct 29 09:11:25.869511 2016] [mpm_winnt:notice] [pid 2248:tid 528] AH00428: Parent: child process 17048 exited with status 255 -- Restarting.
I finally gave up, reinstalled wordpress, and imported an old backup of the site. I lost a tiny bit of work (my backup was recent), but in total it was far less work than trying to debug the failed site.
One of the biggest problems with a "Connection reset" error is that you can't easily interact with the site through a browser. Unless you know exactly what the problem is under the hood (I didn't know), and know exactly what system / wordpress files to change (I didn't know), debugging is impossible.
I'm answering this question and closing it so that others might benefit from my experience, and reinstall their own failed site before wasting too much time like I did.

500 Internal server error in wp admin ,at update & plugin (Wordpress)

I'm having Internal server error in some sessions(parts) after I login in wp dashboard.
Issues are in wp-admin/plugins.php and some few other places where is relating with any plugins.
I have checked .htaccess, memory limit to my server and in wp file is ok, I have deactivated all the plugins, changed themes, updated WordPress and still have the same issue.
I have check the error log and this is what it shows:
[Thu Jun 09 12:22:25 2016] [error] [client 217.73.141.38] Premature end of script headers: update-core.php, referer: http://www.salus.al/wp-admin/
[Thu Jun 09 12:22:29 2016] [warn] [client 217.73.141.38] (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server, referer: http://www.salus.al/wp-admin/
[Thu Jun 09 12:22:29 2016] [error] [client 217.73.141.38] Premature end of script headers: plugins.php, referer: http://www.salus.al/wp-admin/
[Thu Jun 09 12:22:32 2016] [warn] [client 217.73.141.38] (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server, referer: http://www.salus.al/wp-admin/
Remove or rename your plugins folder and see if the problem goes away. If it does, then add each plugin one at a time to see which one produces the error. Perhaps clear all cache, cookies, etc as well.

Resources