Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Oauth failing #2764

Open
yamborghinifly opened this issue Feb 28, 2025 · 2 comments
Open

Oauth failing #2764

yamborghinifly opened this issue Feb 28, 2025 · 2 comments
Labels
os-linux This affects Linux related code. user raised Issue was raised by a user. DON'T RENAME!

Comments

@yamborghinifly
Copy link

Bug Report

Summary

OAuthJob fails. Can not log in and manage my client.

Steps to reproduce

Don't know any exact reproduction steps yet. Will follow up as soon as I know more. As of right now I only have the stack trace.

What is the expected behaviour?

Log In screen to open

Other information

Stack Trace:

System.AggregateException: One or more errors occurred. (org.freedesktop.DBus.Error.InvalidArgs: No such interface “org.freedesktop.portal.OpenURI”)
 ---> Tmds.DBus.Protocol.DBusException: org.freedesktop.DBus.Error.InvalidArgs: No such interface “org.freedesktop.portal.OpenURI”
   at Tmds.DBus.Protocol.DBusConnection.CallMethodAsync[T](MessageBuffer message, MessageValueReader`1 valueReader, Object state)
   at Tmds.DBus.Protocol.Connection.CallMethodAsync[T](MessageBuffer message, MessageValueReader`1 reader, Object readerState)
   at LinuxDesktopUtils.XDGDesktopPortal.OpenUriPortal.CreateAsync(DesktopPortalConnectionManager connectionManager)
   at LinuxDesktopUtils.XDGDesktopPortal.DesktopPortalConnectionManager.GetPortalImplAsync[T](Func`2 factory)
   at NexusMods.CrossPlatform.Process.OSInteropLinux.GetPortal() in /_/src/NexusMods.CrossPlatform/Process/OSInteropLinux.cs:line 65
   at NexusMods.CrossPlatform.Process.OSInteropLinux.OpenUrl(Uri url, Boolean logOutput, Boolean fireAndForget, CancellationToken cancellationToken) in /_/src/NexusMods.CrossPlatform/Process/OSInteropLinux.cs:line 39
   at NexusMods.Networking.NexusWebApi.OAuthJob.StartAsync(IJobContext`1 context) in /_/src/Networking/NexusMods.Networking.NexusWebApi/OAuthJob.cs:line 70
   at NexusMods.Jobs.JobContext`2.Start() in /_/src/NexusMods.Jobs/JobContext.cs:line 42
   --- End of inner exception stack trace ---

nexusmods.app.main.current.log

@erri120 erri120 added os-linux This affects Linux related code. user raised Issue was raised by a user. DON'T RENAME! labels Feb 28, 2025
@erri120
Copy link
Member

erri120 commented Feb 28, 2025

What Linux distro are you using? You need the XDG Desktop Portal and one portal backend installed.

@Pickysaurus
Copy link
Contributor

If this comes from a unexpected/uncommon configuration of Linux the best we may be able to do here is just put a better error in the logs to provide the information needed by the user to fix it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
os-linux This affects Linux related code. user raised Issue was raised by a user. DON'T RENAME!
Projects
None yet
Development

No branches or pull requests

3 participants