Code Monkey home page Code Monkey logo

Comments (11)

christf avatar christf commented on May 22, 2024 2

I am having this issue with 0.11.1 without pulseaudio.
in my raspbian installation this was due to the home directory of the snapclient user not existing and not being writable to th snapclient user. after creating the directory /var/lib/snapclient and chowning it to the snapclient user, everything works like a charm.
This may be an issue of the snapclient package...

Update: here is the command:
mkdir /var/lib/snapclient
chown snapclient /var/lib/snapclient

from snapcast.

menghan avatar menghan commented on May 22, 2024 1

I also encountered this problem with exactly the same log, use @christf 's fix and it works.

from snapcast.

badaix avatar badaix commented on May 22, 2024

Are you sure that client and server are both on 0.7?
Did you make clean after pulling the latest version?

from snapcast.

deisi avatar deisi commented on May 22, 2024

You are completely right, the updated didnt work. Thanks a lot.

from snapcast.

ivanbalashov239 avatar ivanbalashov239 commented on May 22, 2024

@deisi @badaix have the same issue, fresh installation raspberry Arch linux and x64 Manjaro(Arch distribution) both have 0.10.0-2 version builded from aur
on client

Jan 16 01:35:26 jarvis snapclient[20550]: Connected to 192.168.1.187
Jan 16 01:35:28 jarvis snapclient[20550]: Exception in Controller::worker(): sum timeout exceeded 10s

and
on server x64

Jan 15 22:27:25 alarmpi snapserver[4728]: Exception in StreamSession::reader(): read_some: End of file
Jan 15 22:27:26 alarmpi snapserver[4728]: StreamServer::NewConnection: 192.168.1.2

clients on android(two smartphones works ok) server runned on x64 works with clients on androids and client on x64 machine gives the same issue.

Any ideas what i've faced?

from snapcast.

deisi avatar deisi commented on May 22, 2024

uff, I currently have a broken rpi and cant test. In any case, I will change back to debian, because I hat too much trouble with Arch on ARM.

So no, Idear sry.

from snapcast.

stephanedaviet avatar stephanedaviet commented on May 22, 2024

I get exactly the same problem with 2 freshly install Snapcast 0.11.1 installed from Arch AUR:

  • exact same version on streaming server and client,
  • client on server itself (loopback) works,
  • client on my laptop don't with the error messages indicated by @seniorivn.

from snapcast.

deisi avatar deisi commented on May 22, 2024

hey how you start the client? From systemd?
Try starting it maual with:
snapclient and see if it works

If it works, you might have the same problem as I just described in #229

If this is the problem It would be interesting to hear if you are using pulseaudio as well.

from snapcast.

stephanedaviet avatar stephanedaviet commented on May 22, 2024

Ok, further testing with two clients both running Arch (same dist on the server too):

  • Raspberry Pi without PulseAudio: works flawlessly launched in command line with or without daemon mode, and launched through systemd,
  • Laptop with PulseAudio: works when launched in command line with or without daemon, not when launched through systemd (errors indicated above).

So, it seems it is linked in some way to #229.

from snapcast.

atze09 avatar atze09 commented on May 22, 2024

Hello menghan and christf,

I have the same problem, what is the code you use to get this working?
i tried "sudo` chown -c snapsclient /var/lib/snapclient/"
But that does not work.
Can you please help me?
i am using version 0.11.1.
Thank you in advance

from snapcast.

menghan avatar menghan commented on May 22, 2024

@atze09 sorry for the late response.

The fix command: mkdir /var/lib/snapclient; chown snapclient /var/lib/snapclient works for me as 0.11.1. Since snapcast has newer release, I think it best to try the latest release.
Fix commands working for 0.11.1 may not works for the latest.

from snapcast.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.