TheNetsky / Microsoft-Rewards-Script

Automated Microsoft Rewards script, using TypeScript, Cheerio and Playwright.
189 stars 44 forks source link

Invalid URL error #119

Closed XRominjol closed 3 months ago

XRominjol commented 3 months ago

Idk whats wrong, but i caught this error:

PS C:\Users\Администратор\Desktop\Microsoft-Rewards-Script-main> npm run start

microsoft-rewards-script@1.4.7 start node ./dist/index.js

[16.06.2024, 01:05:18] [PID: 6860] [LOG] [MAIN] Bot started with 1 clusters [16.06.2024, 01:05:18] [PID: 6860] [LOG] [MAIN-WORKER] Started tasks for account ***@outlook.com node:internal/process/promises:289 triggerUncaughtException(err, true / fromPromise /); ^

browserType.launch: Invalid URL at Browser.createBrowser (C:\Users\Администратор\Desktop\Microsoft-Rewards-Script-main\dist\browser\Browser.js:20:61) at MicrosoftRewardsBot.Desktop (C:\Users\Администратор\Desktop\Microsoft-Rewards-Script-main\dist\index.js:99:51) at MicrosoftRewardsBot.runTasks (C:\Users\Администратор\Desktop\Microsoft-Rewards-Script-main\dist\index.js:83:24) at MicrosoftRewardsBot.run (C:\Users\Администратор\Desktop\Microsoft-Rewards-Script-main\dist\index.js:51:18) at C:\Users\Администратор\Desktop\Microsoft-Rewards-Script-main\dist\index.js:197:9 { name: 'TypeError' }

Node.js v20.14.0

TheNetsky commented 3 months ago

Did you enter a proxy?

XRominjol commented 3 months ago

Yes, im entered proxy.

My accounts list:

[
    {
        "email": "*****@outlook.com",
        "password": "******",
        "proxy": {
            "url": ":79.***.***.***",
            "port": 3328,
            "username": "*****",
            "password": "******"
        }
    }
]

Whats wrong?

TheNetsky commented 3 months ago

add http:// or https:// to the proxy ip Also there's a ":" before your ip, could also be the cause

XRominjol commented 3 months ago

thx a lot

DestroyerV commented 3 months ago

thx a lot

Which proxy service are you using?