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

'Not connected' 'Connecting' loop on stable, 'Connecting...' forever on beta #1369

Open
alpenandrew opened this issue Jul 23, 2021 · 8 comments

Comments

@alpenandrew
Copy link

In both the beta and latest stable version, yakyak cannot connect

@HomerSp
Copy link
Contributor

HomerSp commented Jul 23, 2021

Do you have terminal/console output? Difficult to say what would be the cause otherwise.

@alpenandrew
Copy link
Author

Do you have terminal/console output? Difficult to say what would be the cause otherwise.

STABLE:
Starting Yakyak v1.5.11.5...
using hangupsjs v1.4.0-beta

syncrecentconversations: Asking hangouts to sync recent conversations
2021-07-23 12:37:15 WARN no SAPISID cookie
hangupsjs:: connecting
reconnecting 0
resolving proxy http://plus.google.com
resolving proxy https://plus.google.com
resolved proxy DIRECT
resolved proxy DIRECT
2021-07-23 12:37:15 INFO fetchPvt failed Cannot read property 'length' of null
connect_failed TypeError: Cannot read property 'length' of null
at c:\Users\User\Desktop\yakyakstable\yakyak-win32-x64\resources\app.asar\node_modules\hangupsjs\lib\initdataparser.js:69:19
at _fulfilled (c:\Users\User\Desktop\yakyakstable\yakyak-win32-x64\resources\app.asar\node_modules\q\q.js:854:54)
at c:\Users\User\Desktop\yakyakstable\yakyak-win32-x64\resources\app.asar\node_modules\q\q.js:883:30
at Promise.promise.promiseDispatch (c:\Users\User\Desktop\yakyakstable\yakyak-win32-x64\resources\app.asar\node_modules\q\q.js:816:13)
at c:\Users\User\Desktop\yakyakstable\yakyak-win32-x64\resources\app.asar\node_modules\q\q.js:570:49
at runSingle (c:\Users\User\Desktop\yakyakstable\yakyak-win32-x64\resources\app.asar\node_modules\q\q.js:137:13)
at flush (c:\Users\User\Desktop\yakyakstable\yakyak-win32-x64\resources\app.asar\node_modules\q\q.js:125:13)
at processTicksAndRejections (internal/process/task_queues.js:79:11)
error connecting TypeError: Cannot read property 'length' of null
at c:\Users\User\Desktop\yakyakstable\yakyak-win32-x64\resources\app.asar\node_modules\hangupsjs\lib\initdataparser.js:69:19
at _fulfilled (c:\Users\User\Desktop\yakyakstable\yakyak-win32-x64\resources\app.asar\node_modules\q\q.js:854:54)
at c:\Users\User\Desktop\yakyakstable\yakyak-win32-x64\resources\app.asar\node_modules\q\q.js:883:30
at Promise.promise.promiseDispatch (c:\Users\User\Desktop\yakyakstable\yakyak-win32-x64\resources\app.asar\node_modules\q\q.js:816:13)
at c:\Users\User\Desktop\yakyakstable\yakyak-win32-x64\resources\app.asar\node_modules\q\q.js:570:49
at runSingle (c:\Users\User\Desktop\yakyakstable\yakyak-win32-x64\resources\app.asar\node_modules\q\q.js:137:13)
at flush (c:\Users\User\Desktop\yakyakstable\yakyak-win32-x64\resources\app.asar\node_modules\q\q.js:125:13)
at processTicksAndRejections (internal/process/task_queues.js:79:11)
2021-07-23 12:37:29 WARN no SAPISID cookie
2021-07-23 12:37:29 WARN no SAPISID cookie
2021-07-23 12:37:29 WARN no SAPISID cookie
2021-07-23 12:37:29 WARN no SAPISID cookie

and then it loops again from 'reconnecting 0'

BETA
Starting Yakyak v1.5.12-beta...
using hangupsjs v1.4.0-beta

syncrecentconversations: Asking hangouts to sync recent conversations
2021-07-23 12:39:28 WARN no SAPISID cookie
hangupsjs:: connecting
reconnecting 0
resolving proxy http://plus.google.com
resolving proxy https://plus.google.com
2021-07-23 12:39:28 WARN no SAPISID cookie
resolved proxy DIRECT
resolved proxy DIRECT
2021-07-23 12:39:29 INFO fetchPvt failed Cannot read property 'length' of null
connect_failed TypeError: Cannot read property 'length' of null
at c:\Users\User\Desktop\yakyak-win32-x64\resources\app.asar\node_modules\hangupsjs\lib\initdataparser.js:69:19
at _fulfilled (c:\Users\User\Desktop\yakyak-win32-x64\resources\app.asar\node_modules\q\q.js:854:54)
at c:\Users\User\Desktop\yakyak-win32-x64\resources\app.asar\node_modules\q\q.js:883:30
at Promise.promise.promiseDispatch (c:\Users\User\Desktop\yakyak-win32-x64\resources\app.asar\node_modules\q\q.js:816:13)
at c:\Users\User\Desktop\yakyak-win32-x64\resources\app.asar\node_modules\q\q.js:570:49
at runSingle (c:\Users\User\Desktop\yakyak-win32-x64\resources\app.asar\node_modules\q\q.js:137:13)
at flush (c:\Users\User\Desktop\yakyak-win32-x64\resources\app.asar\node_modules\q\q.js:125:13)
at processTicksAndRejections (internal/process/task_queues.js:79:11)
error connecting TypeError: Cannot read property 'length' of null
at c:\Users\User\Desktop\yakyak-win32-x64\resources\app.asar\node_modules\hangupsjs\lib\initdataparser.js:69:19
at _fulfilled (c:\Users\User\Desktop\yakyak-win32-x64\resources\app.asar\node_modules\q\q.js:854:54)
at c:\Users\User\Desktop\yakyak-win32-x64\resources\app.asar\node_modules\q\q.js:883:30
at Promise.promise.promiseDispatch (c:\Users\User\Desktop\yakyak-win32-x64\resources\app.asar\node_modules\q\q.js:816:13)
at c:\Users\User\Desktop\yakyak-win32-x64\resources\app.asar\node_modules\q\q.js:570:49
at runSingle (c:\Users\User\Desktop\yakyak-win32-x64\resources\app.asar\node_modules\q\q.js:137:13)
at flush (c:\Users\User\Desktop\yakyak-win32-x64\resources\app.asar\node_modules\q\q.js:125:13)
at processTicksAndRejections (internal/process/task_queues.js:79:11)
2021-07-23 12:39:30 WARN no SAPISID cookie
2021-07-23 12:39:30 WARN no SAPISID cookie
2021-07-23 12:39:30 WARN no SAPISID cookie
2021-07-23 12:39:30 WARN no SAPISID cookie

and then it loops again from 'reconnecting 0'

@PinkFreud
Copy link

PinkFreud commented Jul 31, 2021

I'm seeing the same behavior with 1.5.11.5 on Debian.

Starting Yakyak v1.5.11.5...
using hangupsjs v1.4.0-beta

syncrecentconversations: Asking hangouts to sync recent conversations
hangupsjs:: connecting
reconnecting 0
resolving proxy http://plus.google.com
resolving proxy https://plus.google.com
resolved proxy DIRECT
resolved proxy DIRECT
2021-07-31 19:11:25 INFO fetchPvt failed Cannot read property 'length' of null
connect_failed TypeError: Cannot read property 'length' of null

@PinkFreud
Copy link

Never mind. This was resolved for me by following #1343 - uninstall yakyak, remove local yakyak config, reinstall.

@alpenandrew
Copy link
Author

for us technically uninclined where is the config dir on Windows?

@PinkFreud
Copy link

for us technically uninclined where is the config dir on Windows?

According to the source, it looks like it should be under your home dir\AppData\Local somewhere, or so it appears.

const windows = name => {
const appData = env.LOCALAPPDATA || path.join(homedir, 'AppData', 'Local');

    return {
            // data/config/cache/log are invented by me as Windows isn't opinionated about this
            data: path.join(appData, name, 'Data'),
            config: path.join(appData, name, 'Config'),
            cache: path.join(appData, name, 'Cache'),
            log: path.join(appData, name, 'Log'),
            temp: path.join(tmpdir, name)
    };

};

@bennettscience
Copy link

I'm seeing the same on MacOS Catalina (10.15.7) installed both from the x64 package (1.5.11.5) and from homebrew. The login window doesn't come up at all, no yakyak directory in/.config.

@krtaylor7024
Copy link

Where, exactly, is this config file in Windows 11? I did a grep in [user]\AppData\Local and found nothing remotely related to yak. I use YakYak every day and now it is not working at all, exactly as described above; deleting the YakYak install directory and reinstalling it did nothing, presumably because the bad config file is still somewhere around.

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

5 participants