chiaki icon indicating copy to clipboard operation
chiaki copied to clipboard

Chiaki Session has quit: Unknown Session Request Error

Open KushalP opened this issue 4 years ago • 9 comments

Environment

Operating System Version

Ubuntu 20.04 LTS (64 bit) Kernel Version: 5.4.0-33-generic X Server Release: 12008000 X Window Manager: GNOME Shell

Hardware

CPU Brand: Intel(R) Core(TM) i7-8809G CPU @ 3.10GHz Driver: X.Org AMD VEGAM (DRM 3.35.0, 5.4.0-33-generic, LLVM 9.0.1) Driver Version: 4.6 (Compatibility Profile) Mesa 20.0.4 OpenGL Version: 4.6

Exact Version or Commit Hash and Installation Method

Opening downloaded AppImage file in terminal ./Chiaki-v1.2.1-Linux-x86_64.AppImage

Describe the bug

Unable to start a remote play session at all. This was previously working 2 weeks ago.

To Reproduce

  1. Open Chiaki-v1.2.1-Linux-x86_64.AppImage with pre-existing registered console
  2. Try to load session with console
  3. See error screenshot below

Expected behavior

Previously the window would load and let me interact with the PlayStation home screen, or to play a game.

Log Files

[2020-06-07 20:24:32:802802] [I] Logging to file /home/k/.local/share/Chiaki/Chiaki/log/chiaki_session_2020-06-07_20-24-32-802802.log
[2020-06-07 20:24:32:802802] [I] Chiaki Version 1.2.1
[2020-06-07 20:24:32:802802] [I] Controller 0 opened: "PS4 Controller"
[2020-06-07 20:24:32:802802] [I] Starting session request
[2020-06-07 20:24:32:806806] [I] OpenGL initialized with version "4.6 (Core Profile) Mesa 20.0.4"
[2020-06-07 20:25:02:824824] [E] Session request connect failed eventually.
[2020-06-07 20:25:02:824824] [I] Session has quit

Screenshots

Screenshot from 2020-06-07 20-25-08

Additional context

Previously, on Ubuntu 19.04 this worked fine. From what I can remember the only big changes I've made between this last working and now is upgrading to Ubuntu 20.04

KushalP avatar Jun 07 '20 19:06 KushalP

I originally saw this issue with version 1.2.0 and then upgraded the AppImage in use to 1.2.1 which is seeing the same issue.

KushalP avatar Jun 07 '20 19:06 KushalP

Just because I was curious, I removed the registered console and tried to re-register it. I'm now seeing the following error:

[I] Regist starting search
[I] Regist sending search packet
[E] Regist failed to receive search response: Connection refused
[E] Regist search failed

This looks somewhat network related?

KushalP avatar Jun 07 '20 19:06 KushalP

I have the same problem. My Ubuntu is 20.04.

wrqcode avatar Jul 01 '20 03:07 wrqcode

Please check if Ubuntu's firewall block the incoming connection of UDP.

https://www.cyberciti.biz/faq/how-to-configure-firewall-with-ufw-on-ubuntu-20-04-lts/

hobby-lc avatar Jul 09 '20 07:07 hobby-lc

Please check if Ubuntu's firewall block the incoming connection of UDP.

It is disabled for me:

❯ sudo ufw status
Status: inactive

KushalP avatar Jul 09 '20 09:07 KushalP

Can someone follow up on this? I'm having the same problem on Ubuntu.

NarNarfighter007 avatar Aug 18 '20 04:08 NarNarfighter007

Same issue here with Ubuntu 20.04 Both AppImage binary and latest master branch self-built.

falkTX avatar Aug 19 '20 19:08 falkTX

I was able to get it to work by commenting out a few lines. Specifically this: https://github.com/thestr4ng3r/chiaki/blob/042e698749f2c796ce65c575384a8e028aebfe0b/lib/src/session.c#L611 So getnameinfo is failing, but everything else still works fine...

before: Screenshot_20200819_204610

after: image

falkTX avatar Aug 19 '20 19:08 falkTX

How can I build after changing this line, please? To an AppImage to execute

bortolattolucas avatar Dec 28 '20 02:12 bortolattolucas