I'm playing around with using DSLR cameras as webcams with gphoto (CLI to cameras over USB) and v4l2loopback (dummy video devices), which works with OBS but neither Skype nor VLC which will either show a black image or fail with an error message. Running VLC in verbose mode and digging a bit around showed that … Continue reading Skype and VLC cannot use v4l2loopback video device
Category: debugging
Thunderbird forgetting passwords
After a simultaneous Thunderbird upgrade and profile migration from Windows to Linux the mail program permanently forgets passwords. The setting: Thunderbird 52 on Windows Back up profile Restore profile to Thunderbird 60 on Linux Observe that all passwords to all accounts are lost even if entered again This seems to be some … Continue reading Thunderbird forgetting passwords
Phantomjs not showing text
TL;DR if Phantomjs doesn't show any text/fonts, give it a Truetype web font. Despite Phantomjs' [1] development slowing down [2] it still brings most of the features I need for regression testing web applications. And, thanks to Docker, it should be possible to operate it for a long time to come. Installing and operating Phantomjs … Continue reading Phantomjs not showing text
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