lencx / ChatGPT

🔮 ChatGPT Desktop Application (Mac, Windows and Linux)
https://nofwl.com
52.81k stars 5.94k forks source link

Logging in via "Continue with Google" option leads nowhere. #1371

Open jdahlblom opened 2 months ago

jdahlblom commented 2 months ago

When choosing to login with the "Continue with Google" option it stays on "Verifying" and the green dots circling.

./chat-gpt_1.1.0_amd64.AppImage      
Gtk-Message: 18:40:37.342: Failed to load module "xapp-gtk3-module"
[2024-08-20][15:40:37][chatgpt::app::setup][INFO] stepup
[2024-08-20][15:40:37][chatgpt::app::setup][INFO] global_shortcut_unregister
[2024-08-20][15:40:37][chatgpt::app::setup][INFO] run_check_update
[2024-08-20][15:40:37][chatgpt::utils][INFO] run_check_update: silent=false has_msg=None
[2024-08-20][15:40:37][chatgpt::app::setup][INFO] stepup_tray
[2024-08-20][15:40:37][attohttpc][DEBUG] trying to connect to lencx.github.io:443
[2024-08-20][15:40:37][attohttpc][DEBUG] trying to connect to [2606:50c0:8001::153]:443
[2024-08-20][15:40:37][attohttpc][DEBUG] failed to connect to [2606:50c0:8001::153]:443: Network is unreachable (os error 101)
[2024-08-20][15:40:37][attohttpc][DEBUG] trying to connect to 185.199.108.153:443
[2024-08-20][15:40:37][attohttpc][DEBUG] successfully connected to 185.199.108.153:443, took 9ms
[2024-08-20][15:40:37][reqwest::connect][DEBUG] starting new connection: https://raw.githubusercontent.com/
Gtk-Message: 18:40:37.645: Failed to load module "xapp-gtk3-module"
Gtk-Message: 18:40:37.661: Failed to load module "xapp-gtk3-module"
[2024-08-20][15:40:37][attohttpc][DEBUG] GET /ChatGPT/install.json HTTP/1.1
[2024-08-20][15:40:37][attohttpc][DEBUG] creating a length body reader
[2024-08-20][15:40:37][attohttpc][DEBUG] creating gzip decoder
[2024-08-20][15:40:37][attohttpc][DEBUG] status code 200
Gtk-Message: 18:40:38.290: Failed to load module "xapp-gtk3-module"
Gtk-Message: 18:40:38.759: Failed to load module "xapp-gtk3-module"
src/nv_gbm.c:288: GBM-DRV error (nv_gbm_create_device_native): nv_common_gbm_create_device failed (ret=-1)

KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied
Gtk-Message: 18:40:42.990: Failed to load module "xapp-gtk3-module"
Gtk-Message: 18:40:44.845: Failed to load module "xapp-gtk3-module"

** (chat-gpt:6924): WARNING **: 18:41:02.421: atk-bridge: get_device_events_reply: unknown signature
jdahlblom commented 2 months ago

I set export GTK_MODULES=/usr/lib/gtk-3.0/modules These are the libs located there.

14182477 -rwxr-xr-x 1 root root 26576 12. 7. 22:26 libcanberra-gtk3-module.so
14182476 lrwxrwxrwx 1 root root    26 12. 7. 22:26 libcanberra-gtk-module.so -> libcanberra-gtk3-module.so
14185697 -rwxr-xr-x 1 root root 14056 25. 5. 23:45 libcolorreload-gtk-module.so
14185698 -rwxr-xr-x 1 root root 14224 25. 5. 23:45 libwindow-decorations-gtk-module.so
14189675 -rwxr-xr-x 1 root root 14128 24. 7. 20:19 libxapp-gtk3-module.so

Now I got further but still errors. When I enter my email addresses and click the button it stops.

~ > ./chat-gpt_1.1.0_amd64.AppImage            
Gtk-Message: 18:57:33.483: Failed to load module "xapp-gtk3-module"
Gtk-Message: 18:57:33.483: Failed to load module "/usr/lib/gtk-3.0/modules"
[2024-08-20][15:57:33][chatgpt::app::setup][INFO] stepup
[2024-08-20][15:57:33][chatgpt::app::setup][INFO] global_shortcut_unregister
[2024-08-20][15:57:33][chatgpt::app::setup][INFO] run_check_update
[2024-08-20][15:57:33][chatgpt::utils][INFO] run_check_update: silent=false has_msg=None
[2024-08-20][15:57:33][chatgpt::app::setup][INFO] stepup_tray
[2024-08-20][15:57:33][attohttpc][DEBUG] trying to connect to lencx.github.io:443
[2024-08-20][15:57:33][attohttpc][DEBUG] trying to connect to [2606:50c0:8000::153]:443
[2024-08-20][15:57:33][attohttpc][DEBUG] failed to connect to [2606:50c0:8000::153]:443: Network is unreachable (os error 101)
[2024-08-20][15:57:33][attohttpc][DEBUG] trying to connect to 185.199.109.153:443
[2024-08-20][15:57:33][attohttpc][DEBUG] successfully connected to 185.199.109.153:443, took 7ms
[2024-08-20][15:57:33][reqwest::connect][DEBUG] starting new connection: https://raw.githubusercontent.com/
[2024-08-20][15:57:33][attohttpc][DEBUG] GET /ChatGPT/install.json HTTP/1.1
[2024-08-20][15:57:33][attohttpc][DEBUG] creating a length body reader
[2024-08-20][15:57:33][attohttpc][DEBUG] creating gzip decoder
[2024-08-20][15:57:33][attohttpc][DEBUG] status code 200
Gtk-Message: 18:57:33.832: Failed to load module "xapp-gtk3-module"
Gtk-Message: 18:57:33.832: Failed to load module "/usr/lib/gtk-3.0/modules"
Gtk-Message: 18:57:33.846: Failed to load module "xapp-gtk3-module"
Gtk-Message: 18:57:33.846: Failed to load module "/usr/lib/gtk-3.0/modules"
Gtk-Message: 18:57:34.719: Failed to load module "xapp-gtk3-module"
Gtk-Message: 18:57:34.719: Failed to load module "/usr/lib/gtk-3.0/modules"
Gtk-Message: 18:57:34.760: Failed to load module "xapp-gtk3-module"
Gtk-Message: 18:57:34.760: Failed to load module "/usr/lib/gtk-3.0/modules"
Gtk-Message: 18:57:42.913: Failed to load module "xapp-gtk3-module"
Gtk-Message: 18:57:42.913: Failed to load module "/usr/lib/gtk-3.0/modules"

** (chat-gpt:8951): WARNING **: 18:57:58.559: atk-bridge: get_device_events_reply: unknown signature
src/nv_gbm.c:288: GBM-DRV error (nv_gbm_create_device_native): nv_common_gbm_create_device failed (ret=-1)

KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied
jdahlblom commented 2 months ago

Created symlink since the app specifically is looking for xapp-gtk3-module.so.

sudo ln -s /usr/lib/gtk-3.0/modules/libxapp-gtk3-module.so /usr/lib/gtk-3.0/modules/xapp-gtk3-module.so
export GTK_PATH=/usr/lib/gtk-3.0
export GTK_MODULES=xapp-gtk3-module

Still no go.

jdahlblom commented 2 months ago

Last run after having added symlink etc:

~ > ./chat-gpt_1.1.0_amd64.AppImage    
Gtk-Message: 19:12:45.407: Failed to load module "xapp-gtk3-module"
Gtk-Message: 19:12:45.408: Failed to load module "xapp-gtk3-module"
[2024-08-20][16:12:45][chatgpt::app::setup][INFO] stepup
[2024-08-20][16:12:45][chatgpt::app::setup][INFO] global_shortcut_unregister
[2024-08-20][16:12:45][chatgpt::app::setup][INFO] run_check_update
[2024-08-20][16:12:45][chatgpt::utils][INFO] run_check_update: silent=false has_msg=None
[2024-08-20][16:12:45][chatgpt::app::setup][INFO] stepup_tray
[2024-08-20][16:12:45][attohttpc][DEBUG] trying to connect to lencx.github.io:443
[2024-08-20][16:12:45][attohttpc][DEBUG] trying to connect to [2606:50c0:8000::153]:443
[2024-08-20][16:12:45][attohttpc][DEBUG] failed to connect to [2606:50c0:8000::153]:443: Network is unreachable (os error 101)
[2024-08-20][16:12:45][attohttpc][DEBUG] trying to connect to 185.199.109.153:443
[2024-08-20][16:12:45][attohttpc][DEBUG] successfully connected to 185.199.109.153:443, took 10ms
[2024-08-20][16:12:45][reqwest::connect][DEBUG] starting new connection: https://raw.githubusercontent.com/
[2024-08-20][16:12:45][attohttpc][DEBUG] GET /ChatGPT/install.json HTTP/1.1
Gtk-Message: 19:12:45.667: Failed to load module "xapp-gtk3-module"
Gtk-Message: 19:12:45.669: Failed to load module "xapp-gtk3-module"
[2024-08-20][16:12:45][attohttpc][DEBUG] creating a length body reader
[2024-08-20][16:12:45][attohttpc][DEBUG] creating gzip decoder
[2024-08-20][16:12:45][attohttpc][DEBUG] status code 200
Gtk-Message: 19:12:45.789: Failed to load module "xapp-gtk3-module"

(process:11190): libsoup-WARNING **: 19:12:45.793: Failed to execute query: table soup_hsts_policies already exists

(process:11190): libsoup-WARNING **: 19:12:45.793: Failed to execute query: database is locked

(process:11190): libsoup-WARNING **: 19:12:45.793: Failed to execute query: table soup_hsts_policies already exists

(process:11190): libsoup-WARNING **: 19:12:45.793: Failed to execute query: database is locked

(process:11190): libsoup-WARNING **: 19:12:45.793: Failed to execute query: table soup_hsts_policies already exists

(process:11201): libsoup-WARNING **: 19:12:45.793: Failed to execute query: table soup_hsts_policies already exists

(process:11201): libsoup-WARNING **: 19:12:45.793: Failed to execute query: database is locked

(process:11201): libsoup-WARNING **: 19:12:45.793: Failed to execute query: table soup_hsts_policies already exists

(process:11190): libsoup-WARNING **: 19:12:45.793: Failed to execute query: database is locked

(process:11190): libsoup-WARNING **: 19:12:45.793: Failed to execute query: table soup_hsts_policies already exists

(process:11190): libsoup-WARNING **: 19:12:45.793: Failed to execute query: database is locked

(process:11201): libsoup-WARNING **: 19:12:45.793: Failed to execute query: database is locked

(process:11201): libsoup-WARNING **: 19:12:45.793: Failed to execute query: table soup_hsts_policies already exists

(process:11201): libsoup-WARNING **: 19:12:45.793: Failed to execute query: database is locked

(process:11190): libsoup-WARNING **: 19:12:45.793: Failed to execute query: table soup_hsts_policies already exists

(process:11190): libsoup-WARNING **: 19:12:45.793: Failed to execute query: database is locked

(process:11201): libsoup-WARNING **: 19:12:45.793: Failed to execute query: table soup_hsts_policies already exists
Gtk-Message: 19:12:45.798: Failed to load module "xapp-gtk3-module"
Gtk-Message: 19:12:46.739: Failed to load module "xapp-gtk3-module"
Gtk-Message: 19:12:46.740: Failed to load module "xapp-gtk3-module"
Gtk-Message: 19:12:46.960: Failed to load module "xapp-gtk3-module"
Gtk-Message: 19:12:46.970: Failed to load module "xapp-gtk3-module"
jdahlblom commented 2 months ago

KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied was solved (it seems) by cat /sys/module/nvidia_drm/parameters/modeset If there is an 'N' then sudo echo options nvidia_drm modeset=1 | sudo tee /etc/modprobe.d/nvidia_drm.conf

jdahlblom commented 2 months ago
sudo pacman -S atk at-spi2-atk
sudo pacman -S webkit2gtk

Still "xapp-gtk3-module" but also when pressing the "Next" button after having entered the email address:

** (chat-gpt:7583): WARNING **: 20:01:58.882: atk-bridge: get_device_events_reply: unknown signature
Ynng commented 1 month ago

I'm experiencing a similar issue while developing my own Tauri v2 app on Fedora 39.

I think these libsoup warnings/errors is preventing the multiple windows from sharing their cookies/localStorage/sessionStorage.