Write error

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #968
    blamm
    Participant

    Hi.

    Regularly my Firefly connection stops. This time I checked the log and found the connection had been aborter. (Note the write error). Any idea why this is?

    2007-01-07 21:21:15 (1b47f67f): Entering config_set_status
    2007-01-07 21:21:15 (1b47f67f): Exiting config_set_status
    2007-01-07 21:21:15 (1b47f67f): Session 0: Streaming file ’09. Smells Like Teen Spirit.mp3′ to 192.168.2.4 (offset 0)
    2007-01-07 21:21:15 (1b47f67f): Found image file C:Documents and SettingsAll UsersDocumentsMy MusicMy Music on SeagateMy MusicPaul Anka – Rock Swingsfolder.jpg (fd 5)
    2007-01-07 21:21:15 (1b47f67f): Dynamic add artwork to 09. Smells Like Teen Spirit.mp3 (fd 5)
    2007-01-07 21:21:15 (1b47f67f): Image appears to be 23160 bytes
    2007-01-07 21:21:15 (1b47f67f): Current tag size is 4342 bytes
    2007-01-07 21:21:15 (1b47f67f): Write error: An established connection was aborted by the software in your host machine.

    2007-01-07 21:21:15 (1b47f67f): Done copying IMG 23174
    2007-01-07 21:21:15 (1b47f67f): Write error: An established connection was aborted by the software in your host machine.

    2007-01-07 21:21:15 (1b47f67f): Finished streaming file to remote: 0 bytes
    2007-01-07 21:21:15 (1b47f67f): Entering config_set_status
    2007-01-07 21:21:15 (1b47f67f): Exiting config_set_status
    2007-01-07 21:21:15 (1b47f67f): Thread 110: Terminating
    2007-01-07 21:21:15 (1b47f67f): Thread 110: Freeing request headers
    2007-01-07 21:21:15 (1b47f67f): Thread 110: Freeing response headers
    2007-01-07 21:21:15 (1b47f67f): Thread 110: Freeing request vars
    2007-01-07 21:21:15 (1b47f67f): Thread 110: Closing fd
    2007-01-07 21:21:15 (1b47f67f): With thread 110 exiting, 0 are still running

    #8284
    fizze
    Participant

    Well, I guess your client is iTunes?
    Maybe this is related to the artwork. Did you try and disable the dynamic artwork stuff?

    Looks like there is something wrong on the client side, imho.

    #8285
    blamm
    Participant

    Client is a Roku. Maybe I will remove the album art config and see what happens.

    #8286
    kanstey
    Participant

    Hi,

    I am experiencing the same problem with my setup
    I have FireFly (svn-1586) running on Windows XP and serving songs (all of which are MP3 files) to my Roku Soundbridge (M1001) which is using a wired network connection (as opposed to its wireless)

    The MP3 files are stored on a DLink NAS (FAT32 file system).
    I have no issues seeing the files on my network, nor playing them directly from something like WinAMP.
    I have also set the Firefly service to run as a priviliged user (me 🙂 in order to guarantee access to the files.
    I am NOT using the album art feature as per the other post.

    I am listening to tunes with no visible (or audible) issues on the Roku end, but I have many entries in my Firefly log as follows:

    =============================================
    2007-06-03 23:11:51 (3d1f5c3c): Rescanning database
    2007-06-03 23:11:57 (1b329a8f): Session 0: Streaming file ‘Young, Neil-03-Old Man.mp3’ to 192.168.0.51 (offset 0)
    2007-06-03 23:16:54 (1b33b351): Session 0: Streaming file ‘Young, Neil-05-Helpless.mp3’ to 192.168.0.51 (offset 0)
    2007-06-03 23:21:11 (1b34cc13): Session 0: Streaming file ‘Young, Neil-06-Love In Mind.mp3’ to 192.168.0.51 (offset 0)
    2007-06-03 23:22:29 (3d1f5c3c): Starting playlist scan
    2007-06-03 23:22:33 (3d1f5c3c): Updating playlists
    2007-06-03 23:22:34 (3d1f5c3c): Scanned 5753 songs (was 5753) in 643 seconds
    2007-06-03 23:23:57 (1b35e4d5): Session 0: Streaming file ‘Young, Neil-07-A Man Needs A Maid-Heart Of Gold Suite.mp3’ to 192.168.0.51 (offset 0)
    2007-06-03 23:30:36 (1b36fd97): Session 0: Streaming file ‘Young, Neil-08-Cowgirl In The Sand.mp3’ to 192.168.0.51 (offset 0)
    2007-06-03 23:32:36 (3d1f5c3c): Rescanning database
    2007-06-03 23:34:22 (1b381659): Session 0: Streaming file ‘Young, Neil-11-Bad Fog Of Loneliness.mp3’ to 192.168.0.51 (offset 0)
    2007-06-03 23:37:50 (1b392f1b): Session 0: Streaming file ‘Young, Neil-12-Needle & Damage Done.mp3’ to 192.168.0.51 (offset 0)
    2007-06-03 23:41:45 (1b3a47dd): Session 0: Streaming file ‘Young, Neil-13-Ohio.mp3’ to 192.168.0.51 (offset 0)
    2007-06-03 23:43:13 (3d1f5c3c): Starting playlist scan
    2007-06-03 23:43:18 (3d1f5c3c): Updating playlists
    2007-06-03 23:43:18 (3d1f5c3c): Scanned 5753 songs (was 5753) in 642 seconds
    2007-06-03 23:45:25 (1b3b609f): Session 0: Streaming file ‘Young, Neil-14-See The Sky About To Rain.mp3’ to 192.168.0.51 (offset 0)
    2007-06-03 23:49:30 (1b3c7961): Session 0: Streaming file ‘Young, Neil-16-Dance Dance Dance.mp3’ to 192.168.0.51 (offset 0)
    2007-06-03 23:53:20 (3d1f5c3c): Rescanning database
    2007-06-03 23:55:55 (1b3d9223): Session 0: Streaming file ‘Young, Neil-10-There’s A World.mp3’ to 192.168.0.51 (offset 0)
    2007-06-03 23:56:03 (5df2e115): Session 0: Streaming file ‘Young, Neil-15-Down By The River.mp3’ to 192.168.0.51 (offset 0)
    2007-06-03 23:56:04 (1b3d9223): Write error: An established connection was aborted by the software in your host machine.

    2007-06-03 23:56:06 (1b3eaae5): Session 0: Streaming file ‘Young, Neil-17-I Am A Child.mp3’ to 192.168.0.51 (offset 0)
    2007-06-03 23:56:06 (1b3eaae5): Write error: An established connection was aborted by the software in your host machine.

    2007-06-03 23:56:07 (d614629e): Session 0: Streaming file ‘Young, Neil-01-On The Way Home.mp3’ to 192.168.0.51 (offset 0)
    2007-06-03 23:56:07 (5df2e115): Write error: An established connection was aborted by the software in your host machine.

    2007-06-03 23:56:11 (5df36d76): Session 0: Streaming file ‘Young, Neil-03-Old Man.mp3’ to 192.168.0.51 (offset 0)
    2007-06-03 23:56:11 (5df36d76): Write error: An established connection was aborted by the software in your host machine.
    =============================================

    As I stated, I was not able to perceive the signal degrading or breaking up from an audio standpoint.
    Also, you can see from the log that some files were streamed with no issues.

    I was just wondering if anyone could give me a hint as to what could be causing this.

    Any help is appreciated.

    #8287
    rpedde
    Participant

    @kanstey wrote:

    Hi,

    I am experiencing the same problem with my setup
    I have FireFly (svn-1586) running on Windows XP and serving songs (all of which are MP3 files) to my Roku Soundbridge (M1001) which is using a wired network connection (as opposed to its wireless)

    The MP3 files are stored on a DLink NAS (FAT32 file system).
    I have no issues seeing the files on my network, nor playing them directly from something like WinAMP.
    I have also set the Firefly service to run as a priviliged user (me 🙂 in order to guarantee access to the files.
    I am NOT using the album art feature as per the other post.

    I am listening to tunes with no visible (or audible) issues on the Roku end, but I have many entries in my Firefly log as follows:

    =============================================
    2007-06-03 23:11:51 (3d1f5c3c): Rescanning database
    2007-06-03 23:11:57 (1b329a8f): Session 0: Streaming file ‘Young, Neil-03-Old Man.mp3’ to 192.168.0.51 (offset 0)
    2007-06-03 23:16:54 (1b33b351): Session 0: Streaming file ‘Young, Neil-05-Helpless.mp3’ to 192.168.0.51 (offset 0)
    2007-06-03 23:21:11 (1b34cc13): Session 0: Streaming file ‘Young, Neil-06-Love In Mind.mp3’ to 192.168.0.51 (offset 0)
    2007-06-03 23:22:29 (3d1f5c3c): Starting playlist scan
    2007-06-03 23:22:33 (3d1f5c3c): Updating playlists
    2007-06-03 23:22:34 (3d1f5c3c): Scanned 5753 songs (was 5753) in 643 seconds
    2007-06-03 23:23:57 (1b35e4d5): Session 0: Streaming file ‘Young, Neil-07-A Man Needs A Maid-Heart Of Gold Suite.mp3’ to 192.168.0.51 (offset 0)
    2007-06-03 23:30:36 (1b36fd97): Session 0: Streaming file ‘Young, Neil-08-Cowgirl In The Sand.mp3’ to 192.168.0.51 (offset 0)
    2007-06-03 23:32:36 (3d1f5c3c): Rescanning database
    2007-06-03 23:34:22 (1b381659): Session 0: Streaming file ‘Young, Neil-11-Bad Fog Of Loneliness.mp3’ to 192.168.0.51 (offset 0)
    2007-06-03 23:37:50 (1b392f1b): Session 0: Streaming file ‘Young, Neil-12-Needle & Damage Done.mp3’ to 192.168.0.51 (offset 0)
    2007-06-03 23:41:45 (1b3a47dd): Session 0: Streaming file ‘Young, Neil-13-Ohio.mp3’ to 192.168.0.51 (offset 0)
    2007-06-03 23:43:13 (3d1f5c3c): Starting playlist scan
    2007-06-03 23:43:18 (3d1f5c3c): Updating playlists
    2007-06-03 23:43:18 (3d1f5c3c): Scanned 5753 songs (was 5753) in 642 seconds
    2007-06-03 23:45:25 (1b3b609f): Session 0: Streaming file ‘Young, Neil-14-See The Sky About To Rain.mp3’ to 192.168.0.51 (offset 0)
    2007-06-03 23:49:30 (1b3c7961): Session 0: Streaming file ‘Young, Neil-16-Dance Dance Dance.mp3’ to 192.168.0.51 (offset 0)
    2007-06-03 23:53:20 (3d1f5c3c): Rescanning database
    2007-06-03 23:55:55 (1b3d9223): Session 0: Streaming file ‘Young, Neil-10-There’s A World.mp3’ to 192.168.0.51 (offset 0)
    2007-06-03 23:56:03 (5df2e115): Session 0: Streaming file ‘Young, Neil-15-Down By The River.mp3’ to 192.168.0.51 (offset 0)
    2007-06-03 23:56:04 (1b3d9223): Write error: An established connection was aborted by the software in your host machine.

    2007-06-03 23:56:06 (1b3eaae5): Session 0: Streaming file ‘Young, Neil-17-I Am A Child.mp3’ to 192.168.0.51 (offset 0)
    2007-06-03 23:56:06 (1b3eaae5): Write error: An established connection was aborted by the software in your host machine.

    2007-06-03 23:56:07 (d614629e): Session 0: Streaming file ‘Young, Neil-01-On The Way Home.mp3’ to 192.168.0.51 (offset 0)
    2007-06-03 23:56:07 (5df2e115): Write error: An established connection was aborted by the software in your host machine.

    2007-06-03 23:56:11 (5df36d76): Session 0: Streaming file ‘Young, Neil-03-Old Man.mp3’ to 192.168.0.51 (offset 0)
    2007-06-03 23:56:11 (5df36d76): Write error: An established connection was aborted by the software in your host machine.
    =============================================

    As I stated, I was not able to perceive the signal degrading or breaking up from an audio standpoint.
    Also, you can see from the log that some files were streamed with no issues.

    I was just wondering if anyone could give me a hint as to what could be causing this.

    Any help is appreciated.

    Does the server disappear from the roku at the same time? These seems to be because the roku is closing the connection to the server, but I don’t know why. I’ve seen the packet traces showing disconnects from the roku side, but I don’t have any idea why that would be so.

    If the server *doesn’t* dissappear, can you get a packet trace of it in action?

    #8288
    kanstey
    Participant

    The server doesn’t seem to disappear, since, as I mentioned in the original post, I don’t seem to see (or hear) any indication that anything has gone wrong from the Roku side.

    I will collect an Ethereal trace of the disconnect occurring (if I can) and make it available as soon as I can.

    Thanks for getting back so quickly.

    Will be in touch.

    Thanks,

    Kevin

    #8289
    rpedde
    Participant

    @kanstey wrote:

    The server doesn’t seem to disappear, since, as I mentioned in the original post, I don’t seem to see (or hear) any indication that anything has gone wrong from the Roku side.

    I will collect an Ethereal trace of the disconnect occurring (if I can) and make it available as soon as I can.

    Thanks for getting back so quickly.

    Will be in touch.

    Thanks,

    Kevin

    Like I said, the one other one I had traces on showed the roku disconnecting. The general consensus was “dunno why that’s happening”. I’d like to see something different, though.

    Oh, are you using a recent nightly? Those are VS2005, rather than VS2003, and a newer libc might be a difference too.

    — Ron

    #8290
    kanstey
    Participant

    @rpedde wrote:

    @kanstey wrote:

    The server doesn’t seem to disappear, since, as I mentioned in the original post, I don’t seem to see (or hear) any indication that anything has gone wrong from the Roku side.

    I will collect an Ethereal trace of the disconnect occurring (if I can) and make it available as soon as I can.

    Thanks for getting back so quickly.

    Will be in touch.

    Thanks,

    Kevin

    Like I said, the one other one I had traces on showed the roku disconnecting. The general consensus was “dunno why that’s happening”. I’d like to see something different, though.

    Oh, are you using a recent nightly? Those are VS2005, rather than VS2003, and a newer libc might be a difference too.

    — Ron

    I am using svn-1586 which I believe is the most recent available.

    Ron, on an unrelated note, do you require any additional development assistance, specifically for the windows environment?

    #8291
    rpedde
    Participant

    @kanstey wrote:

    I am using svn-1586 which I believe is the most recent available.

    Ron, on an unrelated note, do you require any additional development assistance, specifically for the windows environment?

    I’ll *always* take more help, particuarly on the windows side. I’m finishing up the file and socket abstraction so I’m using native functions on the windows side (CreateFile, etc) rather than libc wrappers like open(), etc. That might see some improvements.

    I need help on packaging too… I really need to move to an msi installer, but have some questions on how it will work with frequent (or not so, lately!) updates.

    I need a 64 bit target. I need some iconv work, and unicode/utf8 fixes in writing of the config file from the tray applet. I need updated ffmpeg on the windows side, and generally I need to clean up the port — make it more native on the windows side. There are lots of hacks in the windows implementation, although I think once I finish the file/socket stuff I mentioned, I’ll have a big chunk of the uglyness gone.

    But yeah, there’s lots of help I could use. If you are interested in any of it, email me at [email protected] — I’d be happy for the help.

    — Ron

    #8292
    kanstey
    Participant

    @rpedde wrote:

    @kanstey wrote:

    I am using svn-1586 which I believe is the most recent available.

    Ron, on an unrelated note, do you require any additional development assistance, specifically for the windows environment?

    I’ll *always* take more help, particuarly on the windows side. I’m finishing up the file and socket abstraction so I’m using native functions on the windows side (CreateFile, etc) rather than libc wrappers like open(), etc. That might see some improvements.

    I need help on packaging too… I really need to move to an msi installer, but have some questions on how it will work with frequent (or not so, lately!) updates.

    I need a 64 bit target. I need some iconv work, and unicode/utf8 fixes in writing of the config file from the tray applet. I need updated ffmpeg on the windows side, and generally I need to clean up the port — make it more native on the windows side. There are lots of hacks in the windows implementation, although I think once I finish the file/socket stuff I mentioned, I’ll have a big chunk of the uglyness gone.

    But yeah, there’s lots of help I could use. If you are interested in any of it, email me at [email protected] — I’d be happy for the help.

    — Ron

    Sent you an email re: the dev work.

    Should svn-1586 be a fairly recent (and stable) build?

    #8293
    rpedde
    Participant

    @kanstey wrote:

    Should svn-1586 be a fairly recent (and stable) build?

    Yeah, that’s pretty much the latest stuff, and should be fairly stable. Any work I’ve done since then has been on non-trunk branches. I hope to merge it all up soon, though.

    — Ron

Viewing 11 posts - 1 through 11 (of 11 total)
  • The forum ‘General Discussion’ is closed to new topics and replies.