The solution I posted did not work for another project, so it must have been a coincidence.
The list of solutions we’ve tried from the other thread still applies:
Using a clean docker-compose.yaml file from the docs
Only defining dnsresolver together with the DirectPay app in docker compose
Changing the dnsresolver ip from 192.168.65.5 to 192.168.65.7 as per the docs
Tried with both localtest.me and localhost domains
Upgrading docker desktop
Using the latest cytopia/bind
Upgrading and downgrading the DirectPayment app
Re-trusted the dev cert and re-exported it
Deleted data folder and restarted/rebuilt the containers
Me and a collegue spent like an entire day trying to get the apps to work properly my local dev machine. We always suspect that our company installed antivirus/firewall makes it really hard to get this to work. It seems to block alot of stuff. But since that day, I can get the apps to work every time on my local dev machine, this is the setup we have:
yaml file changes (works for me for direct pay, direct shipment and klarna):
Done. Now resume normal development/testning/whatever using the normal url to access Litium, project.localtest.me:5001 or whatever you’ve set up, and the apps work for me every time. Done it like 20 times or something now.