claabs / epicgames-freegames-node

Automatically login and find available free games the Epic Games Store. Sends you a prepopulated checkout link so you can complete the checkout after logging in. Supports multiple accounts, login sessions, and scheduled runs.
https://hub.docker.com/r/charlocharlie/epicgames-freegames
MIT License
1.39k stars 93 forks source link

Email login notification working, but checkout notification doesn't send #391

Open formaldehydeson opened 6 months ago

formaldehydeson commented 6 months ago

I just set this up in a docker container running on my unraid server, I'm using my smtp server to send email notifications, it works when sending the email notification to login and it correctly generates a checkout notification for my account, then when it goes to send the checkout notification I don't receive any email, and there are no errors.

{
  "cronSchedule": "0 0,6,12,18 * * *",
  "blacklistedGames": [],
  "searchStrategy": "all",
  "runOnStartup": true,
  "runOnce": false,
  "timezone": "Canada/Eastern",
  "intervalTime": 60,
  "accountConcurrency": 3,
  "logLevel": "info",
  "testNotifiers": false,
  "skipVersionCheck": false,
  "browserLaunchTimeout": 15,
  "browserLaunchRetryAttempts": 5,
  "browserNavigationTimeout": 30000,
  "deviceAuthClientId": "98f7e42c2e3a4f86a74eb43fbb41ed39",
  "deviceAuthSecret": "0a2449a2-001a-451e-afec-3e812901c4d7",
  "deviceAuthPollRateSeconds": 10,
  "errorsDir": "config/errors",
  "webPortalConfig": {
    "baseUrl": "http://192.168.1.100:3055",
  },
  "accounts": [
    {
      "email": "myemail@gmail.com",
    },
  ],
  "notifiers": [
    {
      "type": "email",
      "smtpHost": "mydomain.com",
      "smtpPort": 465,
      "emailSenderAddress": "noreply@mydomain.com",
      "emailSenderName": "Epic Games Captchas",
      "emailRecipientAddress": "myemail@gmail.com",
      "secure": true,
      "auth": {
          "user": "noreply@mydomain.com",
          "pass": "pass",
      },
    }
  ]
}
Run on startup: true
[2024-05-02 13:21:56.742 -0400] INFO: Started epicgames-freegames-node
    COMMIT_SHA: "afcf312cbe9bf7bbc39136f1448772981bfcbe9a"
    BRANCH: "master"
    DISTRO: "alpine"
[2024-05-02 13:21:56.933 -0400] INFO: Checking free games for myemail@gmail.com 
    user: "myemail@gmail.com"
[2024-05-02 13:21:58.008 -0400] INFO: searchStrategy is `all`: searching for weekly and promotional games
    user: "myemail@gmail.com"
[2024-05-02 13:22:06.987 -0400] INFO: Available free games
    user: "myemail@gmail.com"
    availableGames: [
      "Orcs Must Die! 3",
      "Cat Quest II"
    ]
[2024-05-02 13:22:07.078 -0400] INFO: Unpurchased free games
    user: "myemail@gmail.com"
    purchasableGames: [
      "Orcs Must Die! 3",
      "Cat Quest II"
    ]
[2024-05-02 13:22:07.177 -0400] INFO: Dispatching checkout notification
    user: "myemail@gmail.com"
    url: "valid checkout url"
[2024-05-02 13:22:16.494 -0400] INFO: Exiting successfully
Run once: false
Setting cron schedule as 0 0,6,12,18 * * *