{"action":"created","issue":{"url":"https://api.github.com/repos/carnager/clerk/issues/12","repository_url":"https://api.github.com/repos/carnager/clerk","labels_url":"https://api.github.com/repos/carnager/clerk/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/carnager/clerk/issues/12/comments","events_url":"https://api.github.com/repos/carnager/clerk/issues/12/events","html_url":"https://github.com/carnager/clerk/issues/12","id":132756711,"number":12,"title":"mpd error: Connection closed by the server","user":{"login":"Phyks","id":3856586,"avatar_url":"https://avatars.githubusercontent.com/u/3856586?v=3","gravatar_id":"","url":"https://api.github.com/users/Phyks","html_url":"https://github.com/Phyks","followers_url":"https://api.github.com/users/Phyks/followers","following_url":"https://api.github.com/users/Phyks/following{/other_user}","gists_url":"https://api.github.com/users/Phyks/gists{/gist_id}","starred_url":"https://api.github.com/users/Phyks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Phyks/subscriptions","organizations_url":"https://api.github.com/users/Phyks/orgs","repos_url":"https://api.github.com/users/Phyks/repos","events_url":"https://api.github.com/users/Phyks/events{/privacy}","received_events_url":"https://api.github.com/users/Phyks/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-10T16:53:50Z","updated_at":"2016-02-11T13:19:36Z","closed_at":"2016-02-11T13:19:36Z","body":"Hi,\r\n\r\nI was getting this error when updating the cache. I found a solution by increasing `max_output_buffer_size` in my `mpd.conf` in the FAQ. Default is 8192 according to the doc, and I set it to be `262144` (because I have about 45k music in my MPD library and I increased `max_playlist_length` by a factor 16 to be in range).\r\n\r\nHowever, even after such increase, I still get three `mpd error: Connection closed by the server` when updating the cache.\r\n\r\n```\r\n% ls .config/clerk -alh   \r\ntotal 5,1M\r\ndrwxr-xr-x  2 phyks phyks 4,0K 10 févr. 17:46 ./\r\ndrwxr-xr-x 53 phyks phyks 4,0K 10 févr. 17:10 ../\r\n-rw-r--r--  1 phyks phyks  92K 10 févr. 17:46 albums.cache\r\n-rw-r--r--  1 phyks phyks 1,5K 10 févr. 17:28 config\r\n-rw-r--r--  1 phyks phyks   39 10 févr. 17:39 .lastupdate\r\n-rw-r--r--  1 phyks phyks  95K 10 févr. 17:45 latest.cache\r\n-rw-r--r--  1 phyks phyks 4,9M 10 févr. 17:47 tracks.cache\r\n```\r\nshows me that the cache has been, at least partially, built, however. But it may be incomplete.\r\n\r\nDo you know what is happening exactly and how to fix it? My value for `max_output_buffer_size` corresponds to more than 200Mo if I am correct, which seems to be really a lot and much more than what could potentially be needed. I did not see anything special in the logs or by running `mpd --verbose`.\r\n\r\nThanks\r\n\r\nEDIT: I never saw such error with `mpc` (basic usage) or `gmpc` / `ario`."},"comment":{"url":"https://api.github.com/repos/carnager/clerk/issues/comments/182859525","html_url":"https://github.com/carnager/clerk/issues/12#issuecomment-182859525","issue_url":"https://api.github.com/repos/carnager/clerk/issues/12","id":182859525,"user":{"login":"Phyks","id":3856586,"avatar_url":"https://avatars.githubusercontent.com/u/3856586?v=3","gravatar_id":"","url":"https://api.github.com/users/Phyks","html_url":"https://github.com/Phyks","followers_url":"https://api.github.com/users/Phyks/followers","following_url":"https://api.github.com/users/Phyks/following{/other_user}","gists_url":"https://api.github.com/users/Phyks/gists{/gist_id}","starred_url":"https://api.github.com/users/Phyks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Phyks/subscriptions","organizations_url":"https://api.github.com/users/Phyks/orgs","repos_url":"https://api.github.com/users/Phyks/repos","events_url":"https://api.github.com/users/Phyks/events{/privacy}","received_events_url":"https://api.github.com/users/Phyks/received_events","type":"User","site_admin":false},"created_at":"2016-02-11T13:19:36Z","updated_at":"2016-02-11T13:19:36Z","body":"Seems that this was due to the use of a `ssh -L` command to access the MPD server. Nothing to do with Clerk…"}}