Podman on mac: tls failed to verify certificate: x509: certificate signed by unknown authority

Recently when using podman on mac system, I encountered the error when pulling UBI base image from Red Hat’s registry. Here is the error from terminal I realised that, since, I was using a VM created using podman machine init command, adding the cert to my host machine was not going to help. Therefore we … Read more

CoreOS: Adding CA certificates to list of trusted CA’s in system

In CoreOS if you want to add CA certificate to the list of trusted CA”s in the system, there are 2 options. Using “/usr/share/pki/ca-trust-source/” directory: /usr/share/pki/ca-trust-source/ contains CA certificates and trust settings in the PEM file format. The trust settings found in this directory will be interpreted with a low priority. To add a certificate … Read more

Linux store stderr in a variable

First thing that we need to keep in mind is that in Linux everything is treated as a file. Also each open file is assigned a unique number called file descriptor. Also there are 3 standard streams. Each one of them as a unique file descriptor Let’s take one example, below we are trying to … Read more

Use Ingress to direct traffic to an HTTPS backend

Recently working on exposing an application which was running on HTTPS port, I used following yaml to create ingress. Note here that backend service “connaisseur-svc-health” was redirecting traffic to a pod which was listening on HTTPS port only. Therefore backend service was only reachable via HTTPS . When accessing this via Ingress I got an … Read more

Ansible async_status could not find job.

Recently while using Ansible async_status module to get status of previously ran async tasks I got an error :- In Ansible we know that, to run tasks asynchronously we can use async and poll. Also ansible.builtin.async_status module can be used to obtain status of asynchronous task. This was confusing to me because same task was … Read more

How do I fix NoneType attribute error in Python?

NoneType attribute error in Python? Recently while running a Python program I encountered an error AttributeError: ‘NoneType’ object has no attribute ‘xxx’. When looking at the code, I could not initially identify why this was happening. Later on I realized that I was setting an attribute on a function that was returning ‘None’ . Therefore … Read more

GitHub Copilot Extension activation failed: “getaddrinfo EAI_AGAIN api.github.com”

Recently for me GitHub Copilot extension activation failed on Visual Studio Code, I got an error ‘Extension activation failed: “getaddrinfo EAI_AGAIN api.github.com”‘ In this case I was using proxy to connect to internet. To solve this problem, I had to follow directions in following article to setup proxy in Visual Studio Code. Also helpful links … Read more

Enhanced Image Generation: Discovering the Exciting Features of Midjourney v5.2

Midjourney v5.2

Introduction: Midjourney, the cutting-edge text-to-image generation model, has recently unveiled its latest version, ¸This update brings a host of exciting features that push the boundaries of aesthetic intricacy and provide users with enhanced options for creating stunning visuals. In this blog post, we will explore six spectacular features of Midjourney v5.2 that will elevate your … Read more

How to check if port is opened without telnet OR custom script ?

Computer networks POCGuru

Sometimes we might need to check if a specific network port is opened for various reasons. There are various tool available out there and most of them serves the purpose. In this article, we will talk about few tools that can be used to check if a port is opened, without needing to write a … Read more