Connection timeout to sts.amazonaws.com: pecularity of AWS STS PrivateLink Integration Issue with Lambda & Boto3

I have a Python-based Lambda function in VPC with an VPC endpoint creates for Amazon STS. However I could not connect to STS with timeout error:

STS timeout error

Continue reading

FreePBX Letsencrypt certificate expired

freepbx

Recently Letsencrypt certificate expired on one of my FreePBX servers. It supposed to update itself automatically as it is set in cron file for “asterisk” user. Continue reading

TypeError: Argument 1 passed to Carbon\CarbonInterval::setLocalTranslator()

You may encounter the following error after updating through WHMCS v8.0:

Continue reading

PowerShell List Memory Usage by IIS Application Pools

IISIf you need quick overview on RAM usage of you IIS application pools you can use the following Powershell command to retrieve the information: Continue reading

Zabbix Agent: Active vs. Passive Modes

Zabbix-monitoring-systemWhen it comes to Zabbix agent modes, there is a choice between the active and the passive modes. Each time new items or hosts are added in the front end, you need to choose the item type.

This is mandatory as the item type determines how the item will work and collect data. For the Zabbix agent, there is a choice between ‘Zabbix agent (passive)’ and ‘Zabbix agent (active)’. Continue reading

Laravel Relation “Attempt to read property on null”

Laravel property on null

It usually means that the related record is NULL or soft-deleted. There are multiple ways to gracefully handle such a situation, without showing the error to the user.

A practical example would be a list of Posts with belongs To relation to Categories.

Migration file for Posts:

Continue reading

SQL Reporting Services. HTTP Error 503 The service is unavailable

After I installed new certificate using SQL RS Configuration Manager upon opening any report I see the following:

In comparison to this case the root cause is the same: when binding a certificate Configuration Manager creates shitty URL bindings like Continue reading

Firewalld failed to start timeout

Try to start firewalld service via the following command

but get the following error after few seconds no response:

firewalld.service: Start operation timed out. Terminating.
firewalld.service: Failed with result ‘timeout’.
systemd: Failed to start firewalld – dynamic firewall daemon.

Continue reading

Fail2ban: already banned

I have Fail2Ban running on my Centos Server.

In my /var/log/messages
I noticed something really weird:

I configured Fail2Ban to add the banned IP to iptables so they cannot reach my server anymore

Continue reading

Cloudmin passthrough CPU information to VM

your-cpu-does-not-support-avx-or-avx2
I have Rocket Chat in VM hosted in Cloudmin that relies on qemu. When I tried to update Rocket Chat to the latest version I got the following error:
Your cpu does not support avx or avx2 instructions, which is required to run mongo 5.x, shipped with the next version of this snap. Continue reading

Load more