On some of my (many) Ubuntu desktop installations, Hearts of Iron 4 has an annoying bug, in that right-clicking for partial border selection selects the entire border and borders can't be edited. It seems to be caused by a weird combination of Gnome session, Wayland/Xorg and using a touchpad. This command fixes the issue for … Continue reading HOI4 right-click border selection fix
Tag: debugging
USB harddrive not showing on USB 3.0 port
A particular USB harddrive won't show up in the device list under Ubuntu 18.04 when connected to a USB 3.0 port of the HP proliant microsever gen8 though it will show up when connected to a USB 2.0 port. The symptoms are that the drive won't list with fdisk -l nor how up under /dev/sdX. … Continue reading USB harddrive not showing on USB 3.0 port
Constant disk access with ext4 caused by kmmp
I don't know how I never noticed this, but the mechanical hard disks in the perfect NAS emit a clicking noise at regular intervals that never stops. The NAS runs Ubuntu 18.04 server, an md software RAID 6 with dmcrypt on top, formatted with ext4. Disk I/O is way too low to show anything useful … Continue reading Constant disk access with ext4 caused by kmmp
Debugging Spring REST bad request 400 codes
This happens way too often: you POST or PUT something to a Spring @RestController and Spring only tells you that there is a bad request, HTTP 400 code; no further explanations, no logs, no exceptions. Spring logs the error cause under the category "org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod" so you can enable logging for that in your log4j.properties: log4j.logger.org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod=DEBUG,stdout … Continue reading Debugging Spring REST bad request 400 codes
SSLHandshakeException: unsupported certificate
When: loading client certificates from a custom keystore Reason: multiple certificates for the same domain but different purposes, e.g. one certificate handles email authentication, the other authenticates the user against a web server Solution: either fix the buggy code that selects the wrong certificate from the keystore or make sure only one certificate per domain … Continue reading SSLHandshakeException: unsupported certificate
