Problem using MPD on a Raspberry local installation: Could not resolve host: homeassistant.local

Hi, I’ve set up MPD to be able to use TTS from Nabucasa and when I try it I’ve following error in the MPD logfile:

[16:19:13] INFO: Start MPD
[16:19:13] INFO: Start ympd
MPD Connecting to 127.0.0.1:6600
MPD connected.
exception: Failed to decode http://homeassistant.local:8123/api/tts_proxy/8fa6d76e94079a1d7bf5df61cdd9e47f5820e058_it-it_a9c18110b0_cloud.mp3; CURL failed: Could not resolve host: homeassistant.local
player: played “http://homeassistant.local:8123/api/tts_proxy/8fa6d76e94079a1d7bf5df61cdd9e47f5820e058_it-it_a9c18110b0_cloud.mp3

In the configuration.yaml file I’ve following set-up:

media_player
platform: mpd
host: 192.168.1.81

I also tried specifing the nabucasa host (host: xxxxxxxxxx.ui.nabu.casa) with the same result.

Can someone help me understand what is wrong?
Thanks

I don’t know what has changed but now I’ve following error:

exception: Failed to decode https://vzqs6rs782y450zqlb9ofv5b7sst32fl.ui.nabu.casa/api/tts_proxy/90d7282e642bbde71a395d812b2ea628f35ed98a_it-it_a9c18110b0_cloud.mp3; CURL failed: OpenSSL SSL_connect: Connection reset by peer in connection to vzqs6rs782y450zqlb9ofv5b7sst32fl.ui.nabu.casa:443
player: played “https://vzqs6rs782y450zqlb9ofv5b7sst32fl.ui.nabu.casa/api/tts_proxy/90d7282e642bbde71a395d812b2ea628f35ed98a_it-it_a9c18110b0_cloud.mp3

Something with SSL?
I have the add-on NGINX Home Assistant SSL proxy installed but not really sure if it is set-up correctly :frowning:
Here the configuration:

domain: xxxxxxxxxxxxxx.ui.nabu.casa
certfile: fullchain.pem
keyfile: privkey.pem
hsts: max-age=31536000; includeSubDomains
cloudflare: false
customize:
active: false
default: nginx_proxy_default*.conf
servers: nginx_proxy/*.conf

Some ideas?

I’m really confused: I tried today again (without any changes) and the error went back to “CURL failed: Could not resolve host: homeassistant.local”

What is wrong with my set-up?