Windows – Forcibly closed error

FireFly Media Server Firefly Media Server Forums Firefly Media Server Setup Issues Windows – Forcibly closed error

Viewing 10 posts - 11 through 20 (of 33 total)
  • Author
    Posts
  • #15823
    Anonymous
    Inactive

    @rpedde wrote:

    @Casao wrote:

    It’s when connecting – it occurs as soon as I click on it in my iTunes.

    The one you quoted came from 1696 I believe it was – the latest nightly. It spit that error out about 500 times in a 3 second period. I’ve uninstalled that and gone back to 1586 as suggested, and it spit it out only once at the end of the huge log I posted about.

    I noticed one odd thing – I stopped the server and then used Add/Remove programs to uninstall. It said “Stopping Service” at the beginning of the uninstaller, which I figured was weird. I made it a point to reboot to be sure everything was cleared out of the system. I booted back up and went to install 1586 – the first thing it said was “Stopping Service” – I’m not sure if it naturally says this whether the service is running or not, but I thought it odd. I assumed that was the case before, but not as much now.

    I’d absolutely love to get this working, as I’m using iTunes on my server to sync up my iPod and it can’t hold my entire library. I’d like to be able to keep the same set of music on my iPod but access it all via my laptop over Firefly – especially if I can avoid converting all of my ogg files to mp3 or another format iTunes can share.

    Is it possible you can email me your songs3.db from program filesfirefly media server? ([email protected])

    I’d like to be able to replicate this.

    Thanks.

    — Ron

    Sending now, hope this helps.

    #15824
    rpedde
    Participant

    @Casao wrote:

    Sending now, hope this helps.

    I can’t make this go. It works okay for me on both osx and windows.

    What windows version and iTunes version are you using?

    And how are the client and server connected? Are they both wired? Is one wireless?

    #15825
    Anonymous
    Inactive

    @rpedde wrote:

    @Casao wrote:

    Sending now, hope this helps.

    I can’t make this go. It works okay for me on both osx and windows.

    What windows version and iTunes version are you using?

    And how are the client and server connected? Are they both wired? Is one wireless?

    I’m running Windows 2003 R2 SP1. The Firefly server I’m running is 1586 – I tried with 1696 and it just spit out the same error about forcibly closed sockets.

    iTunes I’m running 7.5, I just updated to 7.6 and it’s still not working.

    The client and server are through a router – client is generally on rock-solid wireless, but I’ve tried it wired too and it doesn’t work.

    #15826
    rpedde
    Participant

    @Casao wrote:

    @rpedde wrote:

    @Casao wrote:

    Sending now, hope this helps.

    I can’t make this go. It works okay for me on both osx and windows.

    What windows version and iTunes version are you using?

    And how are the client and server connected? Are they both wired? Is one wireless?

    I’m running Windows 2003 R2 SP1. The Firefly server I’m running is 1586 – I tried with 1696 and it just spit out the same error about forcibly closed sockets.

    iTunes I’m running 7.5, I just updated to 7.6 and it’s still not working.

    The client and server are through a router – client is generally on rock-solid wireless, but I’ve tried it wired too and it doesn’t work.

    Any strange networking stuff on the server? VPN software, anything like that? I tried the db on a WHS box, and that’s essentially 2k3r2. No problems. Firewall software? Or Norton with the anti-worm protection?

    Anything strange like that?

    #15827
    Anonymous
    Inactive

    Nope. My server sits behind my router so I’ve never felt the need for a firewall. Windows Firewall is off and I have no form of antivirus installed on it.

    I have Hamachi installed and running, I could try closing it down to see if that helps, but it’s never interfered with anything before.

    Other than that, nothing I can think of. The SMB shares mount fine so I don’t think it’s any kind of communication error between the computers.

    #15828
    rpedde
    Participant

    @Casao wrote:

    Nope. My server sits behind my router so I’ve never felt the need for a firewall. Windows Firewall is off and I have no form of antivirus installed on it.

    I have Hamachi installed and running, I could try closing it down to see if that helps, but it’s never interfered with anything before.

    Other than that, nothing I can think of. The SMB shares mount fine so I don’t think it’s any kind of communication error between the computers.

    The hamachi might be worth a try… the only thing I can think is that it’s advertising the wrong ip or something. (like that of a vpn interface)

    #15829
    Anonymous
    Inactive

    @rpedde wrote:

    @Casao wrote:

    Nope. My server sits behind my router so I’ve never felt the need for a firewall. Windows Firewall is off and I have no form of antivirus installed on it.

    I have Hamachi installed and running, I could try closing it down to see if that helps, but it’s never interfered with anything before.

    Other than that, nothing I can think of. The SMB shares mount fine so I don’t think it’s any kind of communication error between the computers.

    The hamachi might be worth a try… the only thing I can think is that it’s advertising the wrong ip or something. (like that of a vpn interface)

    I just went ahead and tried it without Hamachi – still no go. It doesn’t give any error in the log at all, iTunes just says “Connecting to Firefly Media Server” indefinitely. I’ve left it running for hours before and still no go.

    Just to make sure I’m doing everything correctly:

    I install version 1586 from the Nightlies section of the download page.

    During the install I pointed it to my music folder (It has no spaces in it, but it does have a non-C drive letter, if that makes a difference)

    I tell it to start server.

    I go into iTunes, see it on the list and connect to it.

    I’ve had Bonjour installed for a while now, and the web status page confirms that Bonjour is running.

    The music all works fine because I can access it from inside iTunes when it’s running, and I can also access it via normal iTunes sharing.

    I don’t have to create any smart playlists, do I?

    I pointed it out before, but while reinstalling, I saw it say “Stopping Service” even though I had done an uninstall of the previous version and rebooted before trying to install the version I’m using now – should I have seen this, or does it imply the server wasn’t properly shut down?

    I think I’m going to uninstall Firefly Media Server, make sure it’s off of my Services list, run CCleaner and then try a fresh install – hopefully this’ll make things work for me.

    #15830
    Anonymous
    Inactive

    Well, to update on the situation, I went ahead and tried what I described in the last post – a completely clean installation.

    After doing so, I came up with the following results:

    – Trying it with iTunes 7.6 on the Leopard MBP comes up with a “[null]” result on the web panel from my laptops IP, along with the following log:

    2008-01-17 21:33:08 (9b65e856): Unknown meta code: daap.songalbumartist

    2008-01-17 21:33:08 (9b65e856): Unknown meta code: com.apple.itunes.has-videodaap.songcategory

    2008-01-17 21:33:08 (9b65e856): Unknown meta code: daap.songextradata

    2008-01-17 21:33:08 (9b65e856): Unknown meta code: daap.songcontentdescription

    2008-01-17 21:33:08 (9b65e856): Unknown meta code: daap.songlongcontentdescription

    2008-01-17 21:33:08 (9b65e856): Unknown meta code: daap.songkeywords

    2008-01-17 21:33:08 (9b65e856): Unknown meta code: com.apple.itunes.is-podcast

    2008-01-17 21:33:08 (9b65e856): Unknown meta code: com.apple.itunes.mediakind

    2008-01-17 21:33:08 (9b65e856): Unknown meta code: com.apple.itunes.series-name

    2008-01-17 21:33:08 (9b65e856): Unknown meta code: com.apple.itunes.network-name

    2008-01-17 21:33:08 (9b65e856): Unknown meta code: com.apple.itunes.episode-num-str

    2008-01-17 21:33:08 (9b65e856): Unknown meta code: com.apple.itunes.episode-sort

    2008-01-17 21:33:08 (9b65e856): Unknown meta code: com.apple.itunes.season-num

    2008-01-17 21:33:08 (9b65e856): Unknown meta code: daap.songgapless

    2008-01-17 21:33:08 (9b65e856): Unknown meta code: com.apple.itunes.gapless-enc-del

    2008-01-17 21:33:08 (9b65e856): Unknown meta code: com.apple.itunes.gapless-heur

    2008-01-17 21:33:08 (9b65e856): Unknown meta code: com.apple.itunes.gapless-enc-dr

    2008-01-17 21:33:08 (9b65e856): Unknown meta code: com.apple.itunes.gapless-dur

    2008-01-17 21:33:08 (9b65e856): Unknown meta code: com.apple.itunes.gapless-resy

    2008-01-17 21:33:11 (9b65e856): Unknown meta code: com.apple.itunes.is-podcast-playlist

    2008-01-17 21:33:11 (9b65e856): Unknown meta code: com.apple.itunes.special-playlist

    2008-01-17 21:33:44 (9b65e856): Thread 98: could not read: An existing connection was forcibly closed by the remote host.

    – Tried it under iTunes 7.5 in Parallels on my Macbook Pro, it didn’t generate the log entry, but showed the same “[null]” connection in the web panel.

    – Tried it on a completely unrealted Windows PC running Windows XP SP2 and iTunes 7.6,, it generated an identical log and showed a “[null]” on the web control panel.

    – I just tried it by running iTunes on the server and it actually connected fine – however, instead of showing a lan ip on the Server Status page, it shows my internet IP. The music plays fine.

    To confirm, I am NOT running Windows Firewall (the service is completely diabled) and my server has no antivirus or other software firewall running or even installed. I’ve tried with Hamachi on, off and completely not running with no difference.

    I attempted to open port 9999 & 5353 on my router because I saw that it worked when connecting via the external port. However, it’s still a no go and I can’t get it to work.

    Is there any reason why the iTunes on the server can get to the shares while the others can’t? I figured since it was an external IP there was something wrong with my local network – however, samba shares and everything will work just fine.

    All of the above attempts ended up generating the Unknown Meta Code messages along with a forcibly closed connection. Including the one that actually works.

    Are there any ports beside 9999 and 5353 that need to be forwarded from my router to the server? Is there any reason why iTunes from the same machine can connect to the server, but comes up as my external IP instead of one of the local hosts? On the server status page, should I be seeing a connection from 127.0.0.1 with status “Serving xml-rpc method”? And is there any other information or other files you need to help diagnose this problem? If you tell me what you want, I can provide just about any information about my setup.

    #15831
    rpedde
    Participant

    @Casao wrote:

    2008-01-17 21:33:44 (9b65e856): Thread 98: could not read: An existing connection was forcibly closed by the remote host.[/code]

    The metacode stuff is normal. The error above is because iTunes closed the connection ungracefully. Usually that’s because it doesn’t like what it sees and quits the connection or something like that.

    – Tried it under iTunes 7.5 in Parallels on my Macbook Pro, it didn’t generate the log entry, but showed the same “[null]” connection in the web panel.

    – Tried it on a completely unrealted Windows PC running Windows XP SP2 and iTunes 7.6,, it generated an identical log and showed a “[null]” on the web control panel.

    That’s likely a bug in that the server isn’t closing the connection right when the client terminates ungracefully. Still… same root cause though.

    – I just tried it by running iTunes on the server and it actually connected fine – however, instead of showing a lan ip on the Server Status page, it shows my internet IP. The music plays fine.

    ??

    Are you saying that your server has multiple interfaces? Like two nics, one connected to your internal network and another connected to the internet?

    Or is one the hamachi interface? Or what?

    Sounds like you have some unique network configuration here, and that’s probably what’s going on. The fact that you are connecting to a public ip is probably also a clue.

    I attempted to open port 9999 & 5353 on my router because I saw that it worked when connecting via the external port. However, it’s still a no go and I can’t get it to work.

    5353 is udp, and it’s the discovery protocol. If it shows up in iTunes at all, that part is working. 9999 is the part that serves the music. You can connect to port 9999 with a web browser (http://ip.address:9999) and see if you get a password prompt. That can help debug firewall issues, or problems with binding particular interfaces.

    Is there any reason why the iTunes on the server can get to the shares while the others can’t? I figured since it was an external IP there was something wrong with my local network – however, samba shares and everything will work just fine.

    I expect that’s the root of the problem. Mdns uses different discovery techniques than does windows browsing, so likely the different discovery stuff is doing something enough differently that the apple discovery stuff is discovering the external interface, while the broadcast based discovery is discoving the internal interface. Or that’s my guess, anyway.

    Are there any ports beside 9999 and 5353 that need to be forwarded from my router to the server? Is there any reason why iTunes from the same machine can connect to the server, but comes up as my external IP instead of one of the local hosts?

    see above. Yeah, my guess is that if you are multihomed, the server itself can connect to the outside ip. Again, I’d have to have more info on how you network is set up. From inside the network, you shouldn’t be able to access the machine by public ip. Most routers don’t support one-armed natting like that.

    On the server status page, should I be seeing a connection from 127.0.0.1 with status “Serving xml-rpc method”?

    yes. 127.0.0.1 is the local machine, and when you are viewing the status page, it’s logging into the server to fetch the status… and the connection it’s seeing is the connection it’s making to check connections. 🙂

    And is there any other information or other files you need to help diagnose this problem? If you tell me what you want, I can provide just about any information about my setup.

    Net info… how many interfaces, what routing devices, access points, etc. A general idea of how your public/private are set up, at least in terms of how you are natting and that kind of thing.

    But yeah, the public ip thing is the thing that’s breaking it, I’m sure.

    — Ron

    #15832
    Anonymous
    Inactive

    @rpedde wrote:

    @Casao wrote:

    2008-01-17 21:33:44 (9b65e856): Thread 98: could not read: An existing connection was forcibly closed by the remote host.[/code]

    The metacode stuff is normal. The error above is because iTunes closed the connection ungracefully. Usually that’s because it doesn’t like what it sees and quits the connection or something like that.

    – Tried it under iTunes 7.5 in Parallels on my Macbook Pro, it didn’t generate the log entry, but showed the same “[null]” connection in the web panel.

    – Tried it on a completely unrealted Windows PC running Windows XP SP2 and iTunes 7.6,, it generated an identical log and showed a “[null]” on the web control panel.

    That’s likely a bug in that the server isn’t closing the connection right when the client terminates ungracefully. Still… same root cause though.

    – I just tried it by running iTunes on the server and it actually connected fine – however, instead of showing a lan ip on the Server Status page, it shows my internet IP. The music plays fine.

    ??

    Are you saying that your server has multiple interfaces? Like two nics, one connected to your internal network and another connected to the internet?

    Or is one the hamachi interface? Or what?

    Sounds like you have some unique network configuration here, and that’s probably what’s going on. The fact that you are connecting to a public ip is probably also a clue.

    I attempted to open port 9999 & 5353 on my router because I saw that it worked when connecting via the external port. However, it’s still a no go and I can’t get it to work.

    5353 is udp, and it’s the discovery protocol. If it shows up in iTunes at all, that part is working. 9999 is the part that serves the music. You can connect to port 9999 with a web browser (http://ip.address:9999) and see if you get a password prompt. That can help debug firewall issues, or problems with binding particular interfaces.

    Is there any reason why the iTunes on the server can get to the shares while the others can’t? I figured since it was an external IP there was something wrong with my local network – however, samba shares and everything will work just fine.

    I expect that’s the root of the problem. Mdns uses different discovery techniques than does windows browsing, so likely the different discovery stuff is doing something enough differently that the apple discovery stuff is discovering the external interface, while the broadcast based discovery is discoving the internal interface. Or that’s my guess, anyway.

    Are there any ports beside 9999 and 5353 that need to be forwarded from my router to the server? Is there any reason why iTunes from the same machine can connect to the server, but comes up as my external IP instead of one of the local hosts?

    see above. Yeah, my guess is that if you are multihomed, the server itself can connect to the outside ip. Again, I’d have to have more info on how you network is set up. From inside the network, you shouldn’t be able to access the machine by public ip. Most routers don’t support one-armed natting like that.

    On the server status page, should I be seeing a connection from 127.0.0.1 with status “Serving xml-rpc method”?

    yes. 127.0.0.1 is the local machine, and when you are viewing the status page, it’s logging into the server to fetch the status… and the connection it’s seeing is the connection it’s making to check connections. 🙂

    And is there any other information or other files you need to help diagnose this problem? If you tell me what you want, I can provide just about any information about my setup.

    Net info… how many interfaces, what routing devices, access points, etc. A general idea of how your public/private are set up, at least in terms of how you are natting and that kind of thing.

    But yeah, the public ip thing is the thing that’s breaking it, I’m sure.

    — Ron

    My network configuration is fairly standard – I’m running a Linksys WRT54G w/ Tomato Firmware. Connected to this are 4 computers:

    – The Win2k3R2 server, which is running Firefly Media Server. This is connected directly via an Ethernet cable to the router. It’s got a permanent ip of 192.168.1.100

    – My Macbook Pro running Leopard – this connects via Wireless, but it’s generally only a few feet from the router so Ethernet is an option, which I’ve tested. It’s got a static IP of 192.168.1.101

    – An old Dell box running Windows XP SP2. Connected via an ethernet cable. It doesn’t have a permanently assigned address, but it tends to receive 192.168.1.121

    – A beige-box PC running Windows XP SP2. This is connected via WiFi, but I’ve not used this to test anything.

    I’ve got a few other things connected, mostly game consoles. This doesn’t really come into account though.

    For my earlier tests, I tried it on the Macbook Pro, which shows “Connecting to Firefly Media Server” indefinitely. I tried it on the old Dell box, which came up with the same error. I tried it on the Win2k3 box running the server, and it seemed to work and in the web interface it gave me an IP I mistakenly identified as an external IP – I just went back and checked again, and Hamachi’s network connection was running but the program itself was closed. The IP was my Hamachi IP, so apparently it looped back on itself via Hamachi. After closing the Hamachi IP, it’s still able to connect to the local Firefly server, but it instead gives an ip of 192.168.1.100 – its local IP.

    Connecting to http://192.168.1.100:9999 on my Macbook Pro comes up with the no_access.html page – it appears to be connecting and serving fine. After adding an admin password, I can access the web configuration panel fine.

    Sorry for the earlier confusion about IP addresses, to reiterate, it was Hamachi’s IP, and once I disabled Hamachi I am still able to connect to it and it gives my private IP.

    Everything listed in the network connection uses only a single interface, with any spare interfaces disabled in the OS.

    Actually, as an experiment, I went ahead and loaded up Hamachi on this machine and logged into the network, and it was completely capable of connecting to the share and playing files through Hamachi – looking at the web config panel now shows the connection through the Hamachi IP. I’m not sure why this would be the case, but it appears to work. I’d still be more than glad to help diagnose the root problem if you’re interested, but for my purposes, I can tunnel everything through Hamachi without problems.

Viewing 10 posts - 11 through 20 (of 33 total)
  • The forum ‘Setup Issues’ is closed to new topics and replies.