eizedev / AirConnect-Synology

Updated AirConnect packages for Synology NAS and Synology Router
https://github.com/philippe44/AirConnect
MIT License
306 stars 14 forks source link

Air connect stop automatically after 1s #106

Closed Gandulf78 closed 3 months ago

Gandulf78 commented 3 months ago

Describe the bug

Airconnect stop automatically after running 1s.

To Reproduce

Steps to reproduce the behavior. Just start airconnect from DSM dashboard.

Expected behavior

A clear and concise description of what you expected to happen.

Logfiles

If applicable, add logfiles to help understand your problem. airconnect.log

Hardware

Device on which you are running AirConnect-Synology):

Package

Which package from the releases page have you downloaded):

AirConnect-dsm7-x86_64-static-1.8.3-20240327.spk

Additional context

Add any other context about the problem here.

eizedev commented 3 months ago

Could you please try the non static version? x84_64 without static: https://github.com/eizedev/AirConnect-Synology/releases/download/1.8.3-20240327/AirConnect-dsm7-x86_64-1.8.3-20240327.spk

Gandulf78 commented 3 months ago

Sorry, same result.

eizedev commented 3 months ago

Ok, thanks, will check it tomorrow. Changed 1.8.3 back to pre-release.

WiteWulf commented 3 months ago

Same problem here with both packages. Nothing very meaningful in the logs, I'm afraid:

[17:17:21] Starting AirConnect ... [17:17:21] Linking airconnect configuration to "/volume1/airconnect/airconnect.conf". [17:17:21] Linking airupnp configuration to "/volume1/airconnect/config.xml". [17:17:21] Starting airupnp on 192.168.1.13:49154 [17:17:21] AirConnect successfully started on ip "192.168.1.13"! [17:17:22] Status: airupnp not running! [17:17:22] Status: airupnp not running! [17:17:35] Status: airupnp not running! [17:17:50] Status: airupnp not running!

(Only running UPnP, fwiw, no need for Chromecast)

Rolled back to 1.7.0 and it's working fine again

Xavantes81 commented 3 months ago

@WiteWulf try 1.8.1, works faster than 1.7.0 on my setup:

https://github.com/eizedev/AirConnect-Synology/files/14075677/AirConnect-Synology-1.8.1.zip

eizedev commented 3 months ago

The Easter holidays were a little more complicated than expected. I'm still looking at it. Please stick with 1.7.0 or the zipped 1.8.1 for testing. Thank you

eizedev commented 3 months ago

Should now be fixed in the latest release: https://github.com/eizedev/AirConnect-Synology/releases/tag/1.8.3-20240403. New version 1.8.3 with all the enhancements are working on my devices.

thanks to @seiryIsNotABlock @seiry for your help to find the problem and creating the pull request!!