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

Can't log into my account #1395

Open
amycatgirl opened this issue Mar 20, 2024 · 24 comments
Open

Can't log into my account #1395

amycatgirl opened this issue Mar 20, 2024 · 24 comments

Comments

@amycatgirl
Copy link

Hey there!

I can't sign to my account over at wetdry.world for some reason.

I assume that it should open the browser so I could authenticate with my account, but nothing has opened. Even after waiting for 10 minutes.

Other clients I've tried seem to not have issues logging into WDW

Other (hopefully useful) information

Fedistar version: 1.9.0 (Linux x86_64, Appimage)
OS: Fedora Kinoite 39 (Using a custom image)

Note: I am launching the app through Gear Lever, which is a launcher/app manager for appimage files available on flathub.

@h3poteto
Copy link
Owner

I assume that it should open the browser so I could authenticate with my account, but nothing has opened. Even after waiting for 10 minutes.

After you authenticate, what content is displayed?

@amycatgirl
Copy link
Author

I can't authenticate

Screenshot_20240320_101110

It gets stuck on this screen

@h3poteto
Copy link
Owner

Hmm, I can't reproduce it. The browser is opened, and the form is changed.
Screenshot from 2024-03-21-00-18-20

@h3poteto
Copy link
Owner

@amycatgirl Could you find the logs and paste them?
https://fedistar.net/help

@amycatgirl
Copy link
Author

Sure

2024-03-11T21:57:58.117448209Z [INFO] user streamings are kicked for all accounts
2024-03-11T21:58:28.441417265Z [INFO] The favicon for https://wetdry.world is Some(
    "https://wetdry.world/favicon.ico",
)
2024-03-11T21:58:29.022882024Z [INFO] The SNS for https://wetdry.world is mastodon
2024-03-11T22:01:22.473165612Z [ERROR] [front] no rows returned by a query that expected to return at least one row
2024-03-11T22:01:30.287157904Z [ERROR] [front] no rows returned by a query that expected to return at least one row
2024-03-11T22:01:36.778254978Z [INFO] The favicon for https://wetdry.world is Some(
    "https://wetdry.world/favicon.ico",
)
2024-03-11T22:01:37.3524358Z [INFO] The SNS for https://wetdry.world is mastodon
2024-03-11T22:03:21.130706059Z [INFO] user streamings are kicked for all accounts
2024-03-11T22:03:28.561512829Z [ERROR] [front] no rows returned by a query that expected to return at least one row
2024-03-11T22:03:52.683995033Z [ERROR] [front] no rows returned by a query that expected to return at least one row
2024-03-11T22:03:55.65047908Z [ERROR] [front] no rows returned by a query that expected to return at least one row
2024-03-11T22:04:15.760358272Z [ERROR] [front] no rows returned by a query that expected to return at least one row
2024-03-11T22:04:34.1453993Z [ERROR] [front] no rows returned by a query that expected to return at least one row
2024-03-12T15:58:51.708456792Z [INFO] user streamings are kicked for all accounts
2024-03-12T15:58:58.178839818Z [ERROR] [front] no rows returned by a query that expected to return at least one row
2024-03-20T12:14:15.783473412Z [INFO] user streamings are kicked for all accounts
2024-03-20T12:14:23.299521596Z [ERROR] [front] no rows returned by a query that expected to return at least one row
2024-03-20T12:14:32.610136627Z [ERROR] [front] no rows returned by a query that expected to return at least one row
2024-03-20T12:14:41.778733719Z [INFO] The favicon for https://wetdry.world is Some(
    "https://wetdry.world/favicon.ico",
)
2024-03-20T12:14:42.408398839Z [INFO] The SNS for https://wetdry.world is mastodon
2024-03-20T14:10:56.819521928Z [INFO] user streamings are kicked for all accounts
2024-03-20T14:11:00.555722959Z [ERROR] [front] no rows returned by a query that expected to return at least one row
2024-03-20T14:12:08.382716471Z [ERROR] [front] no rows returned by a query that expected to return at least one row
2024-03-20T14:12:10.285717965Z [ERROR] [front] no rows returned by a query that expected to return at least one row

@h3poteto
Copy link
Owner

Hmm, I can't reproduce it.
I suspect this error

no rows returned by a query that expected to return at least one row

but, I'm not sure.

Do you have accounts for other servers? Can you log in to other servers?

@amycatgirl
Copy link
Author

Tried using another account on another server, no luck

@amycatgirl
Copy link
Author

I am going to try and remove fedistar's data directory

Just to see if that fixes the issue

@amycatgirl
Copy link
Author

Yeah, that did not fix the issue

@h3poteto
Copy link
Owner

That means the cause is not wetdry.world. You can't add any accounts. I will try adding more logs in the next release.

@h3poteto
Copy link
Owner

Can you please try 1.9.1?
https://github.com/h3poteto/fedistar/releases/tag/v1.9.1

This version supports log level config, please try

$ LOG_LEVEL=debug fedistar  
# If you are using AppImage, please try
$ LOG_LEVEL=debug fedistar_1.9.1_amd64.AppImage 

After that, debug level logs are recorded in the log file. Please share it.

@amycatgirl
Copy link
Author

Sure, here is the log file
fedistar.log

@h3poteto
Copy link
Owner

Wow......

no rows returned by a query that expected to return at least one row

this error is gone......
And there is no error.

@h3poteto
Copy link
Owner

Can you please try to open "Crash Report"? Help -> Crash Report in app menu.

@amycatgirl
Copy link
Author

After selection the Crash Report button, the app crashes with the following error:

thread 'main' panicked at src/main.rs:648:22:
Failed to open the URL: Custom { kind: Other, error: "Launcher \"xdg-open\" \"https://fedistar.net/help#crash_reporting\" failed with ExitStatus(unix_wait_status(1024))" }

@h3poteto
Copy link
Owner

Ah, I see. Probably, open module is not working in your environment.

h3poteto added a commit that referenced this issue Mar 27, 2024
refs #1395 Use tauri shell::open instead of open
@h3poteto
Copy link
Owner

Can you please try this version?
https://github.com/h3poteto/fedistar/releases/tag/v1.9.2

@amycatgirl
Copy link
Author

I tried using the version you provided, still no luck

I've provided the error and the logs below

thread 'tokio-runtime-worker' panicked at src/main.rs:108:55:
Failed to open the URL: Shell("failed to open: Scoped shell IO error: Launcher \"xdg-open\" \"https://wetdry.world/oauth/authorize?response_type=code&client_id=5OhdqSHYrjfakifrEcZA5RmL9dwDW9eVq1l0BcRLcPk&state=ihi5TtS8taZ8qzJhJ1ia6w&redirect_uri=urn%3Aietf%3Awg%3Aoauth%3A2.0%3Aoob&scope=read+write+follow\" failed with ExitStatus(unix_wait_status(1024))")
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

fedistar.log

@h3poteto
Copy link
Owner

Hmm...difficult.
In this version, I used the open function of tauri-apps. That means open function is not working in your environment. I can temporarily skip this process, but open function is used in various places after you authenticate.

By the way, what happens if you execute xdg-open https://www.google.com/ in your terminal?

h3poteto added a commit that referenced this issue Mar 29, 2024
refs #1395 Execute open url in another thread
@amycatgirl
Copy link
Author

It opened google. I also tried running xdg-open with the url that fedistar tried to open and it worked just fine.

Since I've switched distros recently (due to another unrelated issue), I'll try again.

@h3poteto
Copy link
Owner

And I released a new version.
https://github.com/h3poteto/fedistar/releases/tag/v1.9.2

@amycatgirl
Copy link
Author

Ok, I am able to get the authorization code now, but I still can't log in. After pasting the autorization code and pressing "Authorize", i get the following error from the webkit console:

[Error] error decoding response body: invalid value: integer `-1`, expected u32 at line 1 column 884
	(anonymous function) (index-599ff5d81100b1cf.js:1:96201)

@h3poteto
Copy link
Owner

h3poteto commented Apr 2, 2024

Does it happen only wetdry.world? Or happens on other servers?

@amycatgirl
Copy link
Author

amycatgirl commented Apr 2, 2024

Not sure if it happens on other servers, I'll try later today

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants