Skip to main content

Posts

Azure Az: Operation failed with status: 'Forbidden'. Details: 403 Client Error

I was trying to create a new resource group on Azure using a Shell script. An app registration was created followed by assigning the 'Contributor' role to the Service Principal. However, the az group create command repeatedly returned 403 Client errors. 
Operation failed with status: 'Forbidden'. Details: 403 Client Error: Forbidden for url: https://management.azure.com/subscriptions/<subscription id>/resourcegroups/rg-internal?api-version=2018-05-01

Changing the host name on Ubuntu 18.04

I cloned an Ubuntu 18.04 Server instance post which I wished to change the hostname of the new instance. What was supposed to be a simple operation of updating the hostname in the /etc/hostname and running sudo hostname <new hostname> didn't work as expected. The hostname used to revert on reboot. It took me quite some time to arrive at the right solution. An Ask Ubuntu answer set me in the right direction though it did not work as-is. The reason is the shipment of cloud-init in Ubuntu 18.04. I got it to work with the following steps -

Why I moved away from Airtel?

Little over a year ago, I ported one of my BSNL numbers to Airtel. The idea was to make Airtel my primary number, essentially due to strong coverage at my workplace. However, post becoming a customer things took a different turn. It turned out that Airtel's coverage is pretty bad across Hyderabad - except for okayish internet speeds, calls were a nightmare. Call drops and getting connected to a number other than the called number was way too common. The experience became even poorer after much-hyped network upgrades to offer VoLTE services. I'm yet to meet anyone in Hyderabad who is constantly seeing VoLTE active on the device. In contrast, several of my friends and colleagues who even use high-end devices like iPhone and OnePlus didn't see VoLTE show up even once. In the recent months, several of them ported out and the first choice was Jio. Speaks volumes about India's fastest network. 
I should add that beyond the network experience, there are several other factors…

Nginx - Solution for 10060: A connection attempt failed because the connected party did not properly respond

I was in the process of setting up Nginx to serve as the reverse proxy for Nexus Repository Manager OSS. However, the Nexus repository started loading really slowly post this and used to repeatedly display disconnected and reconnected messages. The Nginx log file used to log the below error -

<timestamp> [error] 3240#3632: *1 upstream timed out (10060: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond) while connecting to upstream, client: <ip address="">, server: <fqdn>, request: "GET /nexus HTTP/1.1", upstream: "http://[::1]:8081/nexus", host: "<fqdn>"

Making a custom field mandatory for a specific project in JIRA

Often we have project teams seeking the addition of custom fields and request that it be mandatory for only their project. These projects essentially share the same JIRA workflow, issue type, field, permission schemes but have different screens to enable display of the new custom fields. Now comes the tricky part - making the custom field mandatory would start throwing up errors while creating issues in the screens where they are not even available -

Turning off a Dell Laptop Monitor: Keyboard shortcut(s)

I am someone who is particular about power savings and I don't leave appliances powered on when not in use. The same applies to computing devices - be it a smartphone or a PC/Laptop. I power off the desktop monitor when I step out for a tea break or hit Fn+F2 on my Lenovo laptop that turns off the display. Recently, I got a Dell Laptop and I was surprised to discover that Dell does not provide any shortcut to turn off the display. This led to some exploration and I found two ways to achieve that which are outlined below -

SSL VPN: Configuring and Using Forticlient on Ubuntu, creating a Launcher

Is your primary OS at home Linux and do you use Windows only to connect to your work PC over VPN or to attend meetings? Do you often wish to connect to your work VPN from a Linux PC?  If your answer is 'Yes' to the above questions, I have an answer if your workplace uses Fortinet SSL VPN. Note that it's possible to connect to Fortinet and other VPNs like Cisco VPN from Linux through the inbuilt network manager by installing additional tools but this post would focus on using the standard Forticlient for accessing the resources on your work network.
Obtaining Forticlient The most important thing to note w.r.t. using Forticlient for Ubuntu (or any Linux distro) is to note that the client is not publicly available for download from the official website. You will have to ask your IT department to download the client for you, in case they haven't provided it.