I finally solved it, but I don’t understand the reason.
This was the log:
Install Spotify Connect Started
Install-Script for Spotify Connect Server
No Current Release Found! Using v20170717!
–2017-10-18 21:22:43– https://github.com/herrernst/librespot/releases/download/v20170717-910974e/librespot-linux-armhf-raspberry_pi.zip
Resolving github.com (github.com)… 184.108.40.206, 220.127.116.11
Connecting to github.com (github.com)|18.104.22.168|:443… failed: No route to host.
Connecting to github.com (github.com)|22.214.171.124|:443… failed: No route to host.
End-of-central-directory signature not found. Either this file is not
a zipfile, or it constitutes one disk of a multi-part archive. In the
latter case the central directory and zipfile comment will be found on
the last disk(s) of this archive.
unzip: cannot find zipfile directory in one of /opt/max2play/cache/librespot.zip or
/opt/max2play/cache/librespot.zip.zip, and cannot find /opt/max2play/cache/librespot.zip.ZIP, period.
chmod: cannot access ‘/opt/spotifyconnect/librespot’: No such file or directory
finished – Now Click here to Reload Page
I solved my problem connecting my m2p through wifi instead of lan cable.