Category: Sitecore

No Processes Listed when Debugging Docker Container

It’s no secret I’m a big fan of working with Docker on a local developer environment. The ability to quickly spin up a project and spin it down, the lack of 18 versions of solr running in conflict, the way docker just thrashes my concept of “I have plenty of Hard Drive to work”… It’s…


‘globalThis is not defined’ in JSS Site

We recently pushed out an update to our JSS project and were greeted with one of those “Well that’s fun, we’ve never seen that error before” moments. Here’s the entire text of the YSOD, for SEO purposes 😉 [NodeInvocationException: globalThis is not defined ReferenceError: globalThis is not defined at react.Component.react.Component.LayoutServiceBase (C:\home\site\wwwroot\dist\[SNIP]\server.bundle.js:76193:63) at C:\home\site\wwwroot\dist\[SNIP]\server.bundle.js:80869:3 at Object.<anonymous>…


Windows Hosts Writer v 2.0

It’s been quite a while since WHW has received an update. Michael West (yes, that Michael West) has been gracious enough to get things up to speed with the latest version of dotnet core, docker, and even made a few enhancements. I’m not going to regurgitate it here, as you can read about all the…


AKS Quality of Life: Warming your Containers in k8s

UPDATE: I totally forgot to put the source code link in here! https://github.com/RAhnemann/Container-Warmer If you’ve been around the docker block a little bit with Sitecore, you know by now that when a container is launched, it’s not really ready to do anything. It’s barely alive. In fact, Docker and k8s know this, and have a…


Troubleshooting SSO and Azure AD Groups

We’re currently in the middle of an upgrade project and one of the new requirements was to add in Azure AD for Single Sign On. This is relatively easy, given you just have to update a single config file in Identity Server (And configure AD, but that’s not my job!). You can read all about…


Migrating from Docker Desktop

If you’re reading this, you’re probably aware that there’s some changes coming to Docker Desktop. Notably, it’s not going to be free to use for companies that make over $10M or have over 250 employees. This isn’t a nail in the coffin for docker on your desktop, however. Most docker users on windows usually are…


Securing your Connection Strings with Key Vault

I’ll start off that this entry isn’t inherently specific to Sitecore. It’s more of an Azure exercise in Principle of Least Privilege (PLP). So, let’s talk about a couple baselines here: What’s Azure Key Vault? Azure Key Vault is a service/product offered within Azure. It allows for the storage of Key, Secrets and Certificates. Each…


Recovering your CM From a Solr Hiccup

We’ve all been there before. Sometimes Solr does something funky and you end up with this on your Index Rebuild screen: What happened? Probably some sort of hiccup with solr. Once Sitecore loses connectivity though, it usually takes a restart in order for things to come back together. I did a little digging into how…


Docker and Firefox – Fix OOTB HTTP Redirect

I’m a Firefox guy. It’s ok. I’m good with it. I like Firefox. It has some quirks. Some of those quirks are actually some security practices. One of them…I’ll share today. Ok, so I’ve been doing some docker-ing. Wanting to create some specific pre-built images/accelerator type things on my own, I started off with a…


Experience Profile: XdbSearchUnavailableException

Our team was standing up a new instance of Sitecore XP1 10.1 and noticed that anytime you loaded Experience Profile, you got a nice error about “An error has occurred”. Digging into the XHR posts, there’s a big fat 500 response from the Contact Search API: Exception calling GetService() – Service Type: “ContactsController” System.InvalidOperationException: Unable…