RTSP: Failed to connect to UDP port 48010
Hi there,
since the GFE Update to 2.11 i got the RTSP error 11. After the moonlight-embedded update to 2.2.0 the error changed to another RTSP error:
RTSP: Failed to connect to UDP port 48010 failed: -1
So the fix of https://github.com/irtimmer/moonlight-embedded/issues/340 just changed the problem to another.
What i have done so far:
- Checked UPD port 48010 in my windows firewall. The port is by default open for nvstreamer.exe and is named on the firewall "SHIELD Streaming NvStreamer UDP Exception".
- Check if the nvidia services are running
- Try uninstalling the driver using DDU in safe mode. And install the latest "normal" driver, choose "advanced" and check "clean install".
- Setting up a new Raspbian Jessie with moonlight-embedded.
- Disabled the firewall. The error changed to some 404 error.
Information about my stuff:
- Windows 10 Pro 64-bit (wired connected)
- NVidia Geforce Experience version: 2.11.2.66 (also tested it with 2.11.2.55)
- Moonlight Embedded version: 2.2.0
- Graphic Card: Nvidia GeForce GTX 760 (driver: 364.72)
- Raspberry Pi with Rasbpian Jessie (wired connected)
- The Streaming PC and Raspberry are on the same network.
Has anybody an idea?
Greetings Alex
Can you capture a Wireshark pcap file on your PC while you're trying to stream from your Pi and post a link to it here? The fact that the error changes if you disable your firewall suggests that the firewall is somehow involved here.
I had this issue, and solved it by updating to 2.11.2.66. disabling Windows Firewall, and rebooting the host PC.
Thank you Amy, i just tested it, but it didn't solved my problem. The problem is the same (RTSP: Failed to connect to UDP port 48010).
@cgutman I will take in the next days a pcap file from my streaming PC. The strange thing is, that my Nvidia Shield Tablet work with the streaming PC. So i didn't think that the firewall is blocking the UDP ports for streaming. FYI: Forget the 404 errorcode. I can't get it back or retrace it, when i disable the firewall. There is just the "RTSP: Failed to connect to UDP port 48010 failed: -1" error left.
Grettings Alex
Hi, here is the pcap file: http://workupload.com/file/yJnCtMQ
I think I know what might be happening.
@Septiron Can you try Moonlight Android on your Shield Tablet and see if that works?
Hi, i tested it on my OnePlus X and Nvidia Shield and it works. So what is the difference between you´re moonlight-android project and the embedded? :D
I think the bug is that nvstreamer.exe is not starting up in time for the connect packet from Moonlight. Since @irtimmer is using the stock version of libenet, it doesn't have my fix to make retransmissions work without multiple calls to enet_host_service(). This means only one connect packet is sent and if it is dropped, the connection will never succeed.
I've committed a patch to moonlight-common-c to fix this: https://github.com/moonlight-stream/moonlight-common-c/commit/d5e0950ec6fc3a803bf8918be72cff7463299ba0
Cool, i´m looking forward for the patch. Many thanks Cameron!
Is there a way around this problem? currently can't play games because of this error..
Any news on this patch being available? I am unable to stream on the raspberry, because of this error (streaming works only using android at the moment). @irtimmer This is a significant bug, that prevents us from being able to stream. The solution was most likely found (thanks to cgutman), but as of now I still can't make it work. Is the patch included in the Raspbian repos?
Just noticed, if i stream to moonlight on android (on my phone) for just a moment, the RTSP 48010 error disappears on moonlight-embedded for me. Then i can then start streaming just fine until the next reboot of my pc. No actual solution, but maybe a helpful quick fix for some people.
My rig has 2 Network cards and i found that i had to disable one of them for it to work, not ideal but i found the RTSP error so far has gone. Could this be a binding or hostname resolve issue as well ?
@CanOfColliders I'm not sure if I'm doing the workaround correctly since it still gives me that error when I tried. What I did was: connected to android's app and streamed for a minute a Steam's game. Then I closed the app (and phone's wifi), and tried streaming the same game on Raspberry. Sadly it still froze at the RTPS handshake, did I do it incorrectly?
@typinghands Hm, odd. That's what seems to work for me. Installed moonlight from the play store (the non-root version), connected to my pc, started the stream, closed the stream. Then streaming to moonlight-embedded (on a pi 3) seems to work without the RTSP error for me, until i do a reboot of the pc. I'm using the current GFE (2.11.3.5) on Win10.
I have done more experiments and noticed that I was mostly unable to stream if Steam was involved, and I was trying to launch a Steam game. The error didn't appear with a game like Tera instead, and I was able to stream it. A bit odd, especially since from Android's Moonlight I'm able to stream also Steam games. @irtimmer Any news on this bug getting fixed?
Fix has been merged in version 2.2.1
Hello, i am getting same error on GFE 3.0.7.34 and moonlight 2.2.2 i have disabled windows firewall but still getting the error
Same here. Worked fine last week but now I'm getting this error.
I have rebooted my host PC (Windows 10 Anniversary) and rebooted Raspberry Pi 2 (OSMC). I have disabled all other network interfaces from the host. I have tried launching several different games & Steam itself, none works. I am using -720 stream. Still no luck.
Last week I didn't have Oculus Rift but now I have one. Maybe that is causing issues? I don't know...
Also tried to add UDP port 48010 to Windows Firewall incoming & outgoing exceptions but didn't help... Also tried to disable the whole Windows Firewall.
GFE 3.0.7.34 and moonlight 2.2.2
I think this is about some new fancy Windows Update that causes this issue...
UPDATE: Just tried Moonlight Android on my phone (which also worked previously) no more works. This sure seems like a Winblows 10 Update Issue... So many breaking updates recently, truly making me mad....
Start getting this problem today. Thought it might have been due to having to connections on my host.
I on the most recent version of moonlight and GFE running from the most recent version of RetroPie via a wired(poweline) connection.
The work-around for me was to open up Steam, GFE, and UPlay(god damn ubisoft) on the host then run my moonlight script on pi. This seems to successfully run fine.
I get the error too, but only when i choose a custom resolution. I want to run it in 1600x900, which my monitor is definitly able to show, and get the error. With default 720p there are no problems.
GFE 3.0.7.34 and moonlight 2.2.2