#SharePointProblems | Koskila.net

Solutions are worthless unless shared! Antti K. Koskela's Personal Professional Blog

Posts from May 2022

Blog posts published in May 2022

Posts from May 2022 (5)

  • Cover image for How to fix "The listener for function was unable to start. Out of retries creating lease for partition 0"
    NEW
    Published on
    Authors
    koskila

    How to fix "The listener for function was unable to start. Out of retries creating lease for partition 0"

    Here is another pretty quick one - trying to debug Azure Functions fails with a confusing error message about failing to create a lease for a partition. But as usual, the fix is (probably) simple, and this article explains what to do :) So, hey future me, finding this article on Google! 🙋‍♂️ Let's get to it, then! Problem When trying to debug your Azure Function, you get an error somewhat like this: The listener for function [function name] was unable to start. Microsoft.Azure.EventHubs.
  • Cover image for Using role claims to target WebSockets
    Published on
    Authors
    koskila

    Using role claims to target WebSockets

    This article explains a (fairly) simple solution on how you can grab role claims - or any other claims with some tweaking - and use them as the basis for targeting your WebSocket messages. Very nifty, if you ask me, without all the enterprisiness of SignalR. Talking about SignalR, another way to implement pretty much the same thing, but with all of the enterprisey goodness of SignalR, is described in this blog post: How to access claims of a SignalR user in ASP.NET Core?
  • Cover image for The simplest fixes to "500 (Internal Server Error)" from Azurite
    Published on
    Authors
    koskila

    The simplest fixes to "500 (Internal Server Error)" from Azurite

    This quick blog post explains a couple of very simple fixes - essentially, user errors - to a simple problem that you might run into with Visual Studio when developing the latest of your cool Azure bits. Well, to be fair, a few simple fixes and one heavyweight. A final ditch effort to learn to live with Azurite. But we'll get to it. So, let's embark on a journey, to try and make some sense of the whole Azure Storage emulating/exploring a side of things in your inner development loop.
  • Cover image for How to solve "Npgsql: 42883: function create_hypertable(...) does not exist"?
    Published on
    Authors
    koskila

    How to solve "Npgsql: 42883: function create_hypertable(...) does not exist"?

    Have you run into this puzzling error? It comes in a couple of flavors, but it boils down to you failing miserably when you run the create_hypertable() function on your PostgreSQL TimescaleDB database server! Annoyingly, it might mean that the whole function is missing (extension is not installed or loaded) or that your parameters are not properly parsed (an issue with your command). I know, that it sucks. I have been there. That's why I wrote this article!
  • Cover image for How to configure Azure PostgreSQL to allow Cloud Shell connections?
    Published on
    Authors
    koskila

    How to configure Azure PostgreSQL to allow Cloud Shell connections?

    I was setting up a PostgreSQL database in Azure, to be used by a cutesy little Azure Function storing telemetry from a bunch of Azure IoT Edge Devices. But when everything was (supposed to be) configured successfully, my Azure Function failed to store anything anywhere because of a missing database... Oh, right. Entity Framework can't create PostgreSQL databases, as the connection is made to an existing database - so it can't be instantiated if the database doesn't exist on the server already.
Whitewater Magpie Ltd.
© 2026
Static Site Generation timestamp: 2026-02-03T09:01:56Z