Code Monkey home page Code Monkey logo

Comments (22)

streetpea avatar streetpea commented on June 15, 2024

You’re missing udp 9295 in your port forward rules

from chiaki4deck.

DeaTh-G avatar DeaTh-G commented on June 15, 2024

I was following the guide over at https://streetpea.github.io/chiaki4deck/setup/remoteconnection/#port-forwarding, which didn't have that. I'll give that a shot.

from chiaki4deck.

streetpea avatar streetpea commented on June 15, 2024

Nevermind, you only need 9295 for remote registration since you're actually connecting from a local registration it's not needed

from chiaki4deck.

DeaTh-G avatar DeaTh-G commented on June 15, 2024

I gave it a shot before your response, and yeah as expected from reading your response now, yeah it didn't change anything.

from chiaki4deck.

streetpea avatar streetpea commented on June 15, 2024

So from the logs you first get a takion recv failed: message too long meaning the socket is no longer useable and then after that you get a bad file descriptor error on subsequent sends. Ideally we should close and reopen socket on error to fix this.

from chiaki4deck.

streetpea avatar streetpea commented on June 15, 2024

Having said that I'm not sure why you are getting a message too long for the buffer when you are using a remote connection. I don't get that using a remote connection of my own using port forwarding. Can you also try the app image build in releases and see if you can reproduce? (you can copy the settings from the flatpak version with cp ~/.var/app/io.github.streetpea.Chiaki4deck/config/Chiaki/Chiaki.conf ~/.config/Chiaki/Chiaki.conf)

from chiaki4deck.

DeaTh-G avatar DeaTh-G commented on June 15, 2024

I get the same error from the AppImage version as well in the application.
Here's the log from that: chiaki_session_2024-02-06_22-39-29-651651.log

from chiaki4deck.

streetpea avatar streetpea commented on June 15, 2024

Can you try this build https://github.com/streetpea/chiaki4deck/actions/runs/7807522340/artifacts/1225363187?

from chiaki4deck.

streetpea avatar streetpea commented on June 15, 2024

Hmm, it seems with the appimage version before you have a different log, senkusha is succeeding and determining you need a lower mtu over 9297 but the packet response isn't being received for a long time and the bang hits timeout over 9296

from chiaki4deck.

DeaTh-G avatar DeaTh-G commented on June 15, 2024

Can you try this build https://github.com/streetpea/chiaki4deck/actions/runs/7807522340/artifacts/1225363187?

Same thing happens in this build, here's the log from that:
chiaki_session_2024-02-07_08-25-51-808808.log

from chiaki4deck.

DeaTh-G avatar DeaTh-G commented on June 15, 2024

Interesting to note is that if I switch the remote connection from being a mobile hotspot from my phone to USB tethering the error changes to a "Remote is already in use" error in the app. This happens both on the flatpak version and the latest AppImage artifact in this thread.
Log from Flatpak build using this method:
chiaki_session_2024-02-07_15-22-04-400400.log

Log from the AppImage artifact uploaded here using this method:
chiaki_session_2024-02-07_15-24-26-578578.log

from chiaki4deck.

streetpea avatar streetpea commented on June 15, 2024

From the logs you are still getting the same error ... you are getting remote play in use when it automatically tries to retry upon the failed connection and it isn't fully shut down yet

from chiaki4deck.

streetpea avatar streetpea commented on June 15, 2024

Can you try this build https://github.com/streetpea/chiaki4deck/actions/runs/7824339624/artifacts/1228976765?

from chiaki4deck.

DeaTh-G avatar DeaTh-G commented on June 15, 2024

Unfortunately, it still fails to connect.
chiaki_session_2024-02-08_10-27-48-913913.log

from chiaki4deck.

streetpea avatar streetpea commented on June 15, 2024

There seems to be 2 issues. The first one is an incorrect mtu being set that should be fixed by the new build and the second is that you aren't getting traffic back on 9296 (specifically the bag when you send the big after getting some initial acks) when you start a connection. You aren't getting the first error with the appimage build in mobile hotspot mode so I can't see if it's fixed or not. Can you please try the usb tethering and post a log from that so I can see if the first error is indeed fixed?

from chiaki4deck.

DeaTh-G avatar DeaTh-G commented on June 15, 2024

Sure thing, here's a log from trying to connect whilst sharing my mobile data using USB tethering.
chiaki_session_2024-02-08_19-05-46-943943.log

from chiaki4deck.

DeaTh-G avatar DeaTh-G commented on June 15, 2024

So I currently have to travel outside of the country and I've decided to make a little experiment. I've left my PS5 on in rest mode at home and tried to connect to it using the same mobile data hotspot except from Germany in roaming. chiaki4deck successfully connected this way somehow.
20240212_160128.jpg

The only other thing that changed besides me not being in my home country is that earlier today, before leaving I've setup remote play on my phone with the official android app too.

Edit: I forgot to mention that I captured this in the official flatpak version.

from chiaki4deck.

streetpea avatar streetpea commented on June 15, 2024

Possibly because you are connected to a different cellular network..Could you post logs of your successful connection? Just the beginning logs would be fine.

from chiaki4deck.

DeaTh-G avatar DeaTh-G commented on June 15, 2024

For sure, here's a log for a successful connection from Germany over a mobile hotspot.
chiaki_session_2024-02-13_17-11-12-139139.log

from chiaki4deck.

streetpea avatar streetpea commented on June 15, 2024

It looks like the big difference here is your mtu is 1454 while your mtu is being limited on the other connection seemingly causing your problem

from chiaki4deck.

streetpea avatar streetpea commented on June 15, 2024

@DeaTh-G are you still there? Can you test a new build that should have fixed your problem to make sure its solved? If not you can reopen. (I'll create a build for you when you're ready lmk)

from chiaki4deck.

DeaTh-G avatar DeaTh-G commented on June 15, 2024

@DeaTh-G are you still there? Can you test a new build that should have fixed your problem to make sure its solved? If not you can reopen. (I'll create a build for you when you're ready lmk)

Sorry I am just seeing now, currently unable to test it but should be able to in 2 weeks.

from chiaki4deck.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.