Open amycatgirl opened 3 months ago
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?
I can't authenticate
It gets stuck on this screen
Hmm, I can't reproduce it. The browser is opened, and the form is changed.
@amycatgirl Could you find the logs and paste them? https://fedistar.net/help
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
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?
Tried using another account on another server, no luck
I am going to try and remove fedistar's data directory
Just to see if that fixes the issue
Yeah, that did not fix the issue
That means the cause is not wetdry.world. You can't add any accounts. I will try adding more logs in the next release.
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.
Sure, here is the log file fedistar.log
Wow......
no rows returned by a query that expected to return at least one row
this error is gone...... And there is no error.
Can you please try to open "Crash Report"? Help -> Crash Report in app menu.
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))" }
Ah, I see. Probably, open
module is not working in your environment.
Can you please try this version? https://github.com/h3poteto/fedistar/releases/tag/v1.9.2
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
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?
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.
And I released a new version. https://github.com/h3poteto/fedistar/releases/tag/v1.9.2
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)
Does it happen only wetdry.world? Or happens on other servers?
Not sure if it happens on other servers, I'll try later today
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.