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 Login #22

Open
deezondeezdev opened this issue Oct 10, 2023 · 10 comments
Open

Can't Login #22

deezondeezdev opened this issue Oct 10, 2023 · 10 comments

Comments

@deezondeezdev
Copy link

Everytime I try to login on Remedy, the app will constantly ask to access my microphone and I can't type into the login boxes before the window shows up again
SCR-20231009-soh

@Rykian
Copy link

Rykian commented Oct 16, 2023

Same here!

@HydraxSkarrag
Copy link

Since Mac 14.0!

@AustrianGeek
Copy link

Same here, the microphone-access-promt always comes.

@logabot
Copy link

logabot commented Jan 8, 2024

Same. Some logs

[ ~ ] $ /Applications/Remedy\ Pro.app/Contents/MacOS/Remedy\ Pro --trace-warnings
Remedy Pro [client]: Starting services
Remedy Pro [client]: Version 2.0.3

DevTools listening on ws://127.0.0.1:64590/devtools/browser/a2fd6f70-de0a-4441-9517-a7d9dcfefcd6
2024-01-08 18:47:43.994 Remedy Pro Helper (Plugin)[50484:25051688] WARNING: AVCaptureDeviceTypeExternal is deprecated for Continuity Cameras. Please use AVCaptureDeviceTypeContinuityCamera and add NSCameraUseContinuityCameraDeviceType to your Info.plist.
2024-01-08 18:47:45.074 Remedy Pro[50381:25051593] WARNING: AVCaptureDeviceTypeExternal is deprecated for Continuity Cameras. Please use AVCaptureDeviceTypeContinuityCamera and add NSCameraUseContinuityCameraDeviceType to your Info.plist.
Remedy Pro [client]: Creating window...
Remedy Pro [info]: Error [TOKEN_INVALID]: An invalid token was provided.
(node:50381) UnhandledPromiseRejectionWarning: TimeoutError: Navigation timeout of 30000 ms exceeded
    at Timeout.<anonymous> (/Applications/Remedy Pro.app/Contents/Resources/app.asar/node_modules/puppeteer-core/lib/cjs/puppeteer/util/Deferred.js:27:33)
    at listOnTimeout (node:internal/timers:569:17)
    at process.processTimers (node:internal/timers:512:7)
(Use `Remedy Pro --trace-warnings ...` to show where the warning was created)
(node:50381) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2)

Can't get QR-code and login via email "always loading"
image

@dblanch369
Copy link

Did anyone figure out how to get Sonoma to stop Remedy from asking for permissions all the time? (I'm on 2.0.1 like most folks who couldn't get 2.0.3 working)

@Naozumi520
Copy link
Owner

Currently working on a solution for this problem. Will update you soon with my progress.

Sorry for being silence lately. Just wanted to give you a quick heads up that I've switched from using a Mac, which caused a bit of a delay in my updates. But no worries, I'm back in action now and fully committed to tackling this problem as I know the pain. Thanks for your patience and understanding!

@dblanch369
Copy link

dblanch369 commented Jan 25, 2024 via email

@JFIUG
Copy link

JFIUG commented Feb 25, 2024

Hello there! i think i know what the error is. I went and saw the app.asar file and then i saw this looong bit of code:

var QRCode = require('./../vendor/QRCode'),
    QRErrorCorrectLevel = require('./../vendor/QRCode/QRErrorCorrectLevel'),
    black = "\x1b[40m  \x1b[0m",
    white = "\x1b[47m  \x1b[0m",
    toCell = function (isBlack) {
        return isBlack ? black : white;
    },
    repeat = function (color) {
        return {
            times: function (count) {
                return new Array(count).join(color);
            }
        };
    },
    fill = function(length, value) {
        var arr = new Array(length);
        for (var i = 0; i < length; i++) {
            arr[i] = value;
        }
        return arr;
    };

module.exports = {

    error: QRErrorCorrectLevel.L,

    generate: function (input, opts, cb) {
        if (typeof opts === 'function') {
            cb = opts;
            opts = {};
        }

        var qrcode = new QRCode(-1, this.error);
        qrcode.addData(input);
        qrcode.make();

        var output = '';
        if (opts && opts.small) {
            var BLACK = true, WHITE = false;
            var moduleCount = qrcode.getModuleCount();
            var moduleData = qrcode.modules.slice();

            var oddRow = moduleCount % 2 === 1;
            if (oddRow) {
                moduleData.push(fill(moduleCount, WHITE));
            }

            var platte= {
                WHITE_ALL: '\u2588',
                WHITE_BLACK: '\u2580',
                BLACK_WHITE: '\u2584',
                BLACK_ALL: ' ',
            };

            var borderTop = repeat(platte.BLACK_WHITE).times(moduleCount + 3);
            var borderBottom = repeat(platte.WHITE_BLACK).times(moduleCount + 3);
            output += borderTop + '\n';

            for (var row = 0; row < moduleCount; row += 2) {
                output += platte.WHITE_ALL;

                for (var col = 0; col < moduleCount; col++) {
                    if (moduleData[row][col] === WHITE && moduleData[row + 1][col] === WHITE) {
                        output += platte.WHITE_ALL;
                    } else if (moduleData[row][col] === WHITE && moduleData[row + 1][col] === BLACK) {
                        output += platte.WHITE_BLACK;
                    } else if (moduleData[row][col] === BLACK && moduleData[row + 1][col] === WHITE) {
                        output += platte.BLACK_WHITE;
                    } else {
                        output += platte.BLACK_ALL;
                    }
                }

                output += platte.WHITE_ALL + '\n';
            }

            if (!oddRow) {
                output += borderBottom;
            }
        } else {
            var border = repeat(white).times(qrcode.getModuleCount() + 3);

            output += border + '\n';
            qrcode.modules.forEach(function (row) {
                output += white;
                output += row.map(toCell).join(''); 
                output += white + '\n';
            });
            output += border;
        }

        if (cb) cb(output);
        else console.log(output);
    },

    setErrorLevel: function (error) {
        this.error = QRErrorCorrectLevel[error] || this.error;
    }

};

and i see its trying to make a QR code.
when i go on the remedy pro app, I can log in when the QR code's loading, but when it's loaded in, i don't have the chance to log in,
That's what makes the login and (i think) server invite crash.

You might reimplement the QR code generator, or just steal with, let's say, authorization.
and voilà, i think the job is done! you might just update this all on another version. 2.0.4 we might say.

  • much love, Main.

@Lutakh
Copy link

Lutakh commented Feb 27, 2024

Hello,

Same error here, the app will constantly ask to access my microphone.

Thanks for this app by the way.

@JFIUG
Copy link

JFIUG commented Feb 27, 2024 via email

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

9 participants