r/ps2homebrew • u/ristar • 2d ago
RiptOPL infinite loading loop when connecting to UDPFS share
I'm trying to get my PS2 to connect to a UDPFS share I set up with the https://hub.docker.com/r/gordallott/udpfsd-docker/ docker image (Which I have pointed to my OPL directory containing all the usual subdirectories like /CD and /DVD) and I have RiptOPL set up with a static unused IP and connected to the correct gateway, but it seems to load indefinitely when trying to load the game list. In the docker logs for the server, I can see that the following line is printed indefinitely:
2026/11/29 15:34:09 [192.168.1.35:62966]: discovery request received
So it's definitely connecting, it's just that it's not loading any of the games in the list. Do I need to point at the /DVD directory specifically or something?
1
u/RiggsRidiculous 1d ago
If you could reach out on github, I'd be more than happy to solve this with you.
Testing is done with PS2-Servers, but I would like this to work with all backends and network protocol variations, including the docker you mention.
1
u/RiggsRidiculous 1d ago
To answer your question first: no, you have it right. Point the server at the folder that holds CD and DVD, not at DVD itself.
I set up the same server your image packages (pcm720's udpfsd, 0.1.6 and 0.1.7, data port 62967 like the image uses) and ran RiptOPL's network code against it. Two things came out of that.
**1. That log line should only show up once.** On a working link the server prints "discovery request received" one time and then "creating new connection". Seeing it over and over means the PS2 finds the server, but the next step never completes: either the server's answer isn't getting back to the PS2, or the PS2's follow-up packets to UDP 62967 aren't reaching the container. Could you check a few things for me?
- Is there a "creating new connection" line anywhere in the log?
- Is the container running with `network_mode: host`?
- Is there a firewall on the docker host? Both 62966/udp and 62967/udp need to be open.
- Which RiptOPL build are you on, and which PS2 model and network adapter?
If you add `VERBOSE: "1"` to the container's environment and post the log from container start, that would tell us exactly where it stops.
**2. I did find a real difference with udpfsd.** It refuses a request RiptOPL uses to check that the server is alive, one that PS2 Servers answers. That alone doesn't cause the loop you're seeing in my testing, but it is a RiptOPL problem with this server either way. A fix is written and I'll reply here when it's in a rolling build.
In the meantime, PS2 Servers (https://github.com/NathanNeurotic/PS2-Servers) is what we test against if you want to get playing right away. I still want this docker to work, so anything you can send helps. GitHub issue is the easiest place for logs: https://github.com/NathanNeurotic/RiptOPL/issues