Ghost 5 - AWS Lightsail - Magic link issue

Hello peeps,

I am new to Ghost and have been trying to set it up (I am not a developer anymore, but I know some basics) over AWS Lightsail instance.

Ghost 5.0
AWS Lightsail instance - Ubuntu latest

A couple of posts from the forum have been helpful in getting things up, but I still have an issue with the subscription or magic-link emails. I am getting the error “Failed to send magic link email” while trying to sign up and “Failed to log in, please try again.”

I have gone through the threads here that addressed the issue and made to have mailgun integration just fine for the newsletter emails. But I am not able to fix this issue which I believe sends the emails via SMTP port 25 and not through mailgun.

Tried reaching out to AWS support to enable the port (by default not enabled as mentioned in their help docs), but they rejected my request.

Here’s what I can find on ghost log

[2022-11-15 11:23:34] INFO "GET /wp-admin/css/" 301 1ms
[2022-11-15 11:23:35] INFO "GET /wp-admin/css/" 404 7ms
[2022-11-15 11:23:39] INFO "GET /sites/default/files/" 301 1ms
[2022-11-15 11:23:40] INFO "GET /sites/default/files/" 404 7ms
[2022-11-15 11:23:43] INFO "GET /admin/controller/extension/extension/" 301 1ms
[2022-11-15 11:23:44] INFO "GET /admin/controller/extension/extension/" 404 7ms
[2022-11-15 11:23:46] INFO "GET /uploads/" 301 0ms
[2022-11-15 11:23:47] INFO "GET /uploads/" 404 20ms
[2022-11-15 11:23:49] INFO "GET /images/" 301 0ms
[2022-11-15 11:23:51] INFO "GET /images/" 404 18ms
[2022-11-15 11:23:54] INFO "GET /files/" 301 1ms
[2022-11-15 11:23:56] INFO "GET /files/" 404 18ms
[2022-11-15 11:25:08] INFO "GET /.git/config" 301 3ms
[2022-11-15 11:25:12] ERROR "POST /members/api/send-magic-link/" 500 152ms

NAME: EmailError
MESSAGE: Failed to send email. Reason: Sending failed.

level: normal

"Please see https://ghost.org/docs/config/#mail for instructions on configuring email."
Error: Sending failed
    at createMailError (/var/www/chinmaya/versions/5.22.10/core/server/services/mail/GhostMailer.js:68:12)
    at DirectMailer.<anonymous> (/var/www/chinmaya/versions/5.22.10/node_modules/nodemailer-direct-transport/lib/direct-transport.js:157:41)
    at DirectMailer.<anonymous> (/var/www/chinmaya/versions/5.22.10/node_modules/nodemailer-direct-transport/lib/direct-transport.js:228:30)
    at /var/www/chinmaya/versions/5.22.10/node_modules/nodemailer-direct-transport/lib/direct-transport.js:350:28
    at callback (/var/www/chinmaya/versions/5.22.10/node_modules/smtp-connection/lib/smtp-connection.js:374:14)
    at SMTPConnection.<anonymous> (/var/www/chinmaya/versions/5.22.10/node_modules/smtp-connection/lib/smtp-connection.js:385:20)
    at SMTPConnection._actionRCPT (/var/www/chinmaya/versions/5.22.10/node_modules/smtp-connection/lib/smtp-connection.js:1313:20)
    at SMTPConnection.<anonymous> (/var/www/chinmaya/versions/5.22.10/node_modules/smtp-connection/lib/smtp-connection.js:1265:26)
    at SMTPConnection._processResponse (/var/www/chinmaya/versions/5.22.10/node_modules/smtp-connection/lib/smtp-connection.js:669:16)
    at SMTPConnection._onData (/var/www/chinmaya/versions/5.22.10/node_modules/smtp-connection/lib/smtp-connection.js:493:10)
    at TLSSocket.emit (node:events:513:28)
    at addChunk (node:internal/streams/readable:315:12)
    at readableAddChunk (node:internal/streams/readable:289:9)
    at TLSSocket.Readable.push (node:internal/streams/readable:228:10)
    at TLSWrap.onStreamRead (node:internal/stream_base_commons:190:23)

[2022-11-15 11:27:38] INFO Worker for job "email-analytics-fetch-latest" online
[2022-11-15 11:27:39] INFO Worker for job email-analytics-fetch-latest sent a message: Unauthorized
[2022-11-15 11:27:39] INFO Capturing error for worker during execution of job: email-analytics-fetch-latest
[2022-11-15 11:27:39] ERROR
[2022-11-15 11:27:39] INFO Capturing error for worker during execution of job: email-analytics-fetch-latest
[2022-11-15 11:27:39] ERROR

MESSAGE: Worker for job "email-analytics-fetch-latest" exited with code 1

Error: Worker for job "email-analytics-fetch-latest" exited with code 1
    at Worker.<anonymous> (/var/www/chinmaya/versions/5.22.10/node_modules/bree/lib/index.js:419:40)
    at Worker.emit (node:events:513:28)
    at Worker.[kOnExit] (node:internal/worker:287:10)
    at Worker.<computed>.onexit (node:internal/worker:202:20)

Mail config

"mail": {  
        "transport": "SMTP",
          "options": {
           "service": "Mailgun",
           "host":"smtp.mailgun.org",
           "port":587,
           "secure":false,
           "requireTLS":true,
           "auth": {
            "user": "newsletter@mail.chinmayashankar.com",
                "pass": "password"					       
           }
       
          }
      },

Would appreciate some help in getting this fixed.

Cheers

Please provide your mail config

thanks, updated the config :)

Make sure you are using the correct credentials. These are found in Mailgun > Sending > Domain > SMTP credentials.

Your config looks okay, although I have an additional line for "from" before "transport", and the user ID is more likely postmaster@mail.chinmayashankar.com. You can test using telnet smtp.mailgun.org 587, but will need to convert credentials to bbase64 first.

1 Like

Tested the user creds - and are fine since I created this in mailgun. Have tested with postmaster@domain too, same.

Added from like you suggested.
One thing I can see is now no errors in the log, but still fails to send the magic link.

I just ran a DNS check on your domain, and you have no MX records.

Thanks for the response.

I do have it configured!


I checked again, and the MX records have propagated; in some sites the records are not available. This may be the cause of your problem. Try again, and also test the connection from your server using telnet.

I added new records for the main domain now.
Earlier had added to mail.domain.com

New DNS is verified too now but still doesn’t seem like solving the issue.

Ghost log returns no error now, but still failed to send magic link :smiling_face_with_tear:

Also, i did add noreply@domain.com as an SMTP user in mailgun too along with postmaster.

Newsletter emails when i hit publish post seem to work fine even before and now. Sent a couple of emails to check, got em delivered.

One more thing i noticed is, it takes quite some time to show the error message, the button loader keeps spinning after we hit Subscribe.

This is what i could find under network tab


Here’s what telnet returned

Can you take a look at the Ghost logs under ./content/logs? You’ll need to sanitize the output.

Incidently, your MX records still haven’t propagated correctly–some are reporting both with the same IP address. Likewise, you have no DMARC record.

@mjw Thanks for the response. Not really able to understand what the logs say!
Logs are super long, just sharing some of it here what I can see there

_production.error.log


{"name":"Log","hostname":"ip-172-26-3-124","pid":17493,"level":50,"err":{"domain":"https://chinmayashankar.com","message":"Unauthorized","stack":""},"msg":"Unauthorized","time":"2022-11-18T13:32:59.451Z","v":0}
{"name":"Log","hostname":"ip-172-26-3-124","pid":17493,"level":50,"err":{"domain":"https://chinmayashankar.com","message":"Worker for job \"email-analytics-fetch-latest\" exited with code 1","stack":"Error: Worker for job \"email-analytics-fetch-latest\" exited with code 1\n    at Worker.<anonymous> (/var/www/chinmaya/versions/5.22.10/node_modules/bree/lib/index.js:419:40)\n    at Worker.emit (node:events:513:28)\n    at Worker.[kOnExit] (node:internal/worker:287:10)\n    at Worker.<computed>.onexit (node:internal/worker:202:20)"},"msg":"Worker for job \"email-analytics-fetch-latest\" exited with code 1","time":"2022-11-18T13:32:59.456Z","v":0}
{"name":"Log","hostname":"ip-172-26-3-124","pid":17493,"level":50,"err":{"domain":"https://chinmayashankar.com","message":"Unauthorized","stack":""},"msg":"Unauthorized","time":"2022-11-18T13:37:59.182Z","v":0}
{"name":"Log","hostname":"ip-172-26-3-124","pid":17493,"level":50,"err":{"domain":"https://chinmayashankar.com","message":"Worker for job \"email-analytics-fetch-latest\" exited with code 1","stack":"Error: Worker for job \"email-analytics-fetch-latest\" exited with code 1\n    at Worker.<anonymous> (/var/www/chinmaya/versions/5.22.10/node_modules/bree/lib/index.js:419:40)\n    at Worker.emit (node:events:513:28)\n    at Worker.[kOnExit] (node:internal/worker:287:10)\n    at Worker.<computed>.onexit (node:internal/worker:202:20)"},"msg":"Worker for job \"email-analytics-fetch-latest\" exited with code 1","time":"2022-11-18T13:37:59.186Z","v":0}
{"name":"Log","hostname":"ip-172-26-3-124","pid":17493,"level":50,"err":{"domain":"https://chinmayashankar.com","message":"Unauthorized","stack":""},"msg":"Unauthorized","time":"2022-11-18T13:42:59.436Z","v":0}
{"name":"Log","hostname":"ip-172-26-3-124","pid":17493,"level":50,"err":{"domain":"https://chinmayashankar.com","message":"Worker for job \"email-analytics-fetch-latest\" exited with code 1","stack":"Error: Worker for job \"email-analytics-fetch-latest\" exited with code 1\n    at Worker.<anonymous> (/var/www/chinmaya/versions/5.22.10/node_modules/bree/lib/index.js:419:40)\n    at Worker.emit (node:events:513:28)\n    at Worker.[kOnExit] (node:internal/worker:287:10)\n    at Worker.<computed>.onexit (node:internal/worker:202:20)"},"msg":"Worker for job \"email-analytics-fetch-latest\" exited with code 1","time":"2022-11-18T13:42:59.440Z","v":0}
{"name":"Log","hostname":"ip-172-26-3-124","pid":17493,"level":50,"err":{"domain":"https://chinmayashankar.com","message":"Unauthorized","stack":""},"msg":"Unauthorized","time":"2022-11-18T13:47:59.447Z","v":0}
{"name":"Log","hostname":"ip-172-26-3-124","pid":17493,"level":50,"err":{"domain":"https://chinmayashankar.com","message":"Worker for job \"email-analytics-fetch-latest\" exited with code 1","stack":"Error: Worker for job \"email-analytics-fetch-latest\" exited with code 1\n    at Worker.<anonymous> (/var/www/chinmaya/versions/5.22.10/node_modules/bree/lib/index.js:419:40)\n    at Worker.emit (node:events:513:28)\n    at Worker.[kOnExit] (node:internal/worker:287:10)\n    at Worker.<computed>.onexit (node:internal/worker:202:20)"},"msg":"Worker for job \"email-analytics-fetch-latest\" exited with code 1","time":"2022-11-18T13:47:59.452Z","v":0}
{"name":"Log","hostname":"ip-172-26-3-124","pid":17493,"level":50,"err":{"domain":"https://chinmayashankar.com","message":"Unauthorized","stack":""},"msg":"Unauthorized","time":"2022-11-18T13:52:59.456Z","v":0}
{"name":"Log","hostname":"ip-172-26-3-124","pid":17493,"level":50,"err":{"domain":"https://chinmayashankar.com","message":"Worker for job \"email-analytics-fetch-latest\" exited with code 1","stack":"Error: Worker for job \"email-analytics-fetch-latest\" exited with code 1\n    at Worker.<anonymous> (/var/www/chinmaya/versions/5.22.10/node_modules/bree/lib/index.js:419:40)\n    at Worker.emit (node:events:513:28)\n    at Worker.[kOnExit] (node:internal/worker:287:10)\n    at Worker.<computed>.onexit (node:internal/worker:202:20)"},"msg":"Worker for job \"email-analytics-fetch-latest\" exited with code 1","time":"2022-11-18T13:52:59.461Z","v":0}
{"name":"Log","hostname":"ip-172-26-3-124","pid":17493,"level":50,"err":{"domain":"https://chinmayashankar.com","message":"Unauthorized","stack":""},"msg":"Unauthorized","time":"2022-11-18T13:57:59.450Z","v":0}
{"name":"Log","hostname":"ip-172-26-3-124","pid":17493,"level":50,"err":{"domain":"https://chinmayashankar.com","message":"Worker for job \"email-analytics-fetch-latest\" exited with code 1","stack":"Error: Worker for job \"email-analytics-fetch-latest\" exited with code 1\n    at Worker.<anonymous> (/var/www/chinmaya/versions/5.22.10/node_modules/bree/lib/index.js:419:40)\n    at Worker.emit (node:events:513:28)\n    at Worker.[kOnExit] (node:internal/worker:287:10)\n    at Worker.<computed>.onexit (node:internal/worker:202:20)"},"msg":"Worker for job \"email-analytics-fetch-latest\" exited with code 1","time":"2022-11-18T13:57:59.455Z","v":0}
{"name":"Log","hostname":"ip-172-26-3-124","pid":17493,"level":50,"err":{"domain":"https://chinmayashankar.com","message":"Unauthorized","stack":""},"msg":"Unauthorized","time":"2022-11-18T14:02:59.188Z","v":0}
{"name":"Log","hostname":"ip-172-26-3-124","pid":17493,"level":50,"err":{"domain":"https://chinmayashankar.com","message":"Worker for job \"email-analytics-fetch-latest\" exited with code 1","stack":"Error: Worker for job \"email-analytics-fetch-latest\" exited with code 1\n    at Worker.<anonymous> (/var/www/chinmaya/versions/5.22.10/node_modules/bree/lib/index.js:419:40)\n    at Worker.emit (node:events:513:28)\n    at Worker.[kOnExit] (node:internal/worker:287:10)\n    at Worker.<computed>.onexit (node:internal/worker:202:20)"},"msg":"Worker for job \"email-analytics-fetch-latest\" exited with code 1","time":"2022-11-18T14:02:59.193Z","v":0}
{"name":"Log","hostname":"ip-172-26-3-124","pid":17493,"level":50,"err":{"domain":"https://chinmayashankar.com","message":"Unauthorized","stack":""},"msg":"Unauthorized","time":"2022-11-18T14:07:59.203Z","v":0}
{"name":"Log","hostname":"ip-172-26-3-124","pid":17493,"level":50,"err":{"domain":"https://chinmayashankar.com","message":"Worker for job \"email-analytics-fetch-latest\" exited with code 1","stack":"Error: Worker for job \"email-analytics-fetch-latest\" exited with code 1\n    at Worker.<anonymous> (/var/www/chinmaya/versions/5.22.10/node_modules/bree/lib/index.js:419:40)\n    at Worker.emit (node:events:513:28)\n    at Worker.[kOnExit] (node:internal/worker:287:10)\n    at Worker.<computed>.onexit (node:internal/worker:202:20)"},"msg":"Worker for job \"email-analytics-fetch-latest\" exited with code 1","time":"2022-11-18T14:07:59.207Z","v":0}
{"name":"Log","hostname":"ip-172-26-3-124","pid":17493,"level":50,"err":{"domain":"https://chinmayashankar.com","message":"Unauthorized","stack":""},"msg":"Unauthorized","time":"2022-11-18T14:12:59.471Z","v":0}
{"name":"Log","hostname":"ip-172-26-3-124","pid":17493,"level":50,"err":{"domain":"https://chinmayashankar.com","message":"Worker for job \"email-analytics-fetch-latest\" exited with code 1","stack":"Error: Worker for job \"email-analytics-fetch-latest\" exited with code 1\n    at Worker.<anonymous> (/var/www/chinmaya/versions/5.22.10/node_modules/bree/lib/index.js:419:40)\n    at Worker.emit (node:events:513:28)\n    at Worker.[kOnExit] (node:internal/worker:287:10)\n    at Worker.<computed>.onexit (node:internal/worker:202:20)"},"msg":"Worker for job \"email-analytics-fetch-latest\" exited with code 1","time":"2022-11-18T14:12:59.476Z","v":0}
{"name":"Log","hostname":"ip-172-26-3-124","pid":17493,"level":50,"err":{"domain":"https://chinmayashankar.com","message":"Unauthorized","stack":""},"msg":"Unauthorized","time":"2022-11-18T14:17:59.196Z","v":0}
{"name":"Log","hostname":"ip-172-26-3-124","pid":17493,"level":50,"err":{"domain":"https://chinmayashankar.com","message":"Worker for job \"email-analytics-fetch-latest\" exited with code 1","stack":"Error: Worker for job \"email-analytics-fetch-latest\" exited with code 1\n    at Worker.<anonymous> (/var/www/chinmaya/versions/5.22.10/node_modules/bree/lib/index.js:419:40)\n    at Worker.emit (node:events:513:28)\n    at Worker.[kOnExit] (node:internal/worker:287:10)\n    at Worker.<computed>.onexit (node:internal/worker:202:20)"},"msg":"Worker for job \"email-analytics-fetch-latest\" exited with code 1","time":"2022-11-18T14:17:59.200Z","v":0}

_production.log


{"name":"Log","hostname":"ip-172-26-3-124","pid":17493,"level":30,"req":{"meta":{"requestId":"1b4b3d17-3552-492e-ba81-d9ef94a29bff","userId":null},"url":"/public/cards.min.js?v=4210dfa893","method":"GET","originalUrl":"/public/cards.min.js?v=4210dfa893","params":{},"headers":{"x-forwarded-for":"49.206.14.159","x-forwarded-proto":"https","x-real-ip":"49.206.14.159","host":"chinmayashankar.com","connection":"close","sec-ch-ua":"\"Google Chrome\";v=\"107\", \"Chromium\";v=\"107\", \"Not=A?Brand\";v=\"24\"","sec-purpose":"prefetch;prerender","sec-ch-ua-mobile":"?0","user-agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36","sec-ch-ua-platform":"\"macOS\"","accept":"*/*","purpose":"prefetch","sec-fetch-site":"same-origin","sec-fetch-mode":"no-cors","sec-fetch-dest":"script","referer":"https://chinmayashankar.com/","accept-encoding":"gzip, deflate, br","accept-language":"en-US,en;q=0.9,kn;q=0.8"},"query":{"v":"4210dfa893"}},"res":{"_headers":{"x-powered-by":"Express","content-type":"application/javascript","etag":"\"9e5964261251e02cc1d6dfb44e28481f\"","cache-control":"public, max-age=31536000","vary":"Accept-Encoding","content-encoding":"gzip"},"statusCode":200,"responseTime":"10ms"},"msg":"","time":"2022-11-18T14:13:34.002Z","v":0}
{"name":"Log","hostname":"ip-172-26-3-124","pid":17493,"level":30,"req":{"meta":{"requestId":"95736039-10e7-48cb-914a-f6d9ffc0a972","userId":null},"url":"/public/comment-counts.min.js?v=4210dfa893","method":"GET","originalUrl":"/public/comment-counts.min.js?v=4210dfa893","params":{},"headers":{"x-forwarded-for":"49.206.14.159","x-forwarded-proto":"https","x-real-ip":"49.206.14.159","host":"chinmayashankar.com","connection":"close","sec-ch-ua":"\"Google Chrome\";v=\"107\", \"Chromium\";v=\"107\", \"Not=A?Brand\";v=\"24\"","sec-purpose":"prefetch;prerender","sec-ch-ua-mobile":"?0","user-agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36","sec-ch-ua-platform":"\"macOS\"","accept":"*/*","purpose":"prefetch","sec-fetch-site":"same-origin","sec-fetch-mode":"no-cors","sec-fetch-dest":"script","referer":"https://chinmayashankar.com/","accept-encoding":"gzip, deflate, br","accept-language":"en-US,en;q=0.9,kn;q=0.8"},"query":{"v":"4210dfa893"}},"res":{"_headers":{"x-powered-by":"Express","content-type":"application/javascript","etag":"\"64a8d175547685b6f389bca7ffe1a969\"","cache-control":"public, max-age=31536000","vary":"Accept-Encoding","content-encoding":"gzip"},"statusCode":200,"responseTime":"10ms"},"msg":"","time":"2022-11-18T14:13:34.003Z","v":0}
{"name":"Log","hostname":"ip-172-26-3-124","pid":17493,"level":30,"req":{"meta":{"requestId":"476ce918-caec-4e52-9409-6e085054cf24","userId":null},"url":"/public/member-attribution.min.js?v=4210dfa893","method":"GET","originalUrl":"/public/member-attribution.min.js?v=4210dfa893","params":{},"headers":{"x-forwarded-for":"49.206.14.159","x-forwarded-proto":"https","x-real-ip":"49.206.14.159","host":"chinmayashankar.com","connection":"close","sec-ch-ua":"\"Google Chrome\";v=\"107\", \"Chromium\";v=\"107\", \"Not=A?Brand\";v=\"24\"","sec-purpose":"prefetch;prerender","sec-ch-ua-mobile":"?0","user-agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36","sec-ch-ua-platform":"\"macOS\"","accept":"*/*","purpose":"prefetch","sec-fetch-site":"same-origin","sec-fetch-mode":"no-cors","sec-fetch-dest":"script","referer":"https://chinmayashankar.com/","accept-encoding":"gzip, deflate, br","accept-language":"en-US,en;q=0.9,kn;q=0.8"},"query":{"v":"4210dfa893"}},"res":{"_headers":{"x-powered-by":"Express","content-type":"application/javascript","etag":"\"909b42c515ee6c2aece5a3f270049f98\"","cache-control":"public, max-age=31536000","vary":"Accept-Encoding","content-encoding":"gzip"},"statusCode":200,"responseTime":"10ms"},"msg":"","time":"2022-11-18T14:13:34.004Z","v":0}
{"name":"Log","hostname":"ip-172-26-3-124","pid":17493,"level":30,"req":{"meta":{"requestId":"313c9268-3809-4300-b61d-e5e52affcab5","userId":null},"url":"/2022/11/picofme--2--2-1.png","method":"GET","originalUrl":"/content/images/2022/11/picofme--2--2-1.png","params":{},"headers":{"x-forwarded-for":"49.206.14.159","x-forwarded-proto":"https","x-real-ip":"49.206.14.159","host":"chinmayashankar.com","connection":"close","sec-ch-ua":"\"Google Chrome\";v=\"107\", \"Chromium\";v=\"107\", \"Not=A?Brand\";v=\"24\"","sec-purpose":"prefetch;prerender","sec-ch-ua-mobile":"?0","user-agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36","sec-ch-ua-platform":"\"macOS\"","accept":"image/avif,image/webp,image/apng,image/svg+xml,image/*,*/*;q=0.8","purpose":"prefetch","sec-fetch-site":"same-origin","sec-fetch-mode":"no-cors","sec-fetch-dest":"image","referer":"https://chinmayashankar.com/","accept-encoding":"gzip, deflate, br","accept-language":"en-US,en;q=0.9,kn;q=0.8"},"query":{}},"res":{"_headers":{"x-powered-by":"Express","accept-ranges":"bytes","cache-control":"public, max-age=31536000","last-modified":"Sat, 12 Nov 2022 20:33:50 GMT","etag":"W/\"2fde8-1846d8c6d86\"","content-type":"image/png","content-length":196072},"statusCode":200,"responseTime":"12ms"},"msg":"","time":"2022-11-18T14:13:34.005Z","v":0}
{"name":"Log","hostname":"ip-172-26-3-124","pid":17493,"level":30,"req":{"meta":{"requestId":"7b85c694-b869-4be7-be4d-e69deacfb209","userId":null},"url":"/assets/built/main.min.js?v=4210dfa893","method":"GET","originalUrl":"/assets/built/main.min.js?v=4210dfa893","params":{},"headers":{"x-forwarded-for":"49.206.14.159","x-forwarded-proto":"https","x-real-ip":"49.206.14.159","host":"chinmayashankar.com","connection":"close","sec-ch-ua":"\"Google Chrome\";v=\"107\", \"Chromium\";v=\"107\", \"Not=A?Brand\";v=\"24\"","sec-purpose":"prefetch;prerender","sec-ch-ua-mobile":"?0","user-agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36","sec-ch-ua-platform":"\"macOS\"","accept":"*/*","purpose":"prefetch","sec-fetch-site":"same-origin","sec-fetch-mode":"no-cors","sec-fetch-dest":"script","referer":"https://chinmayashankar.com/","accept-encoding":"gzip, deflate, br","accept-language":"en-US,en;q=0.9,kn;q=0.8"},"query":{"v":"4210dfa893"}},"res":{"_headers":{"x-powered-by":"Express","accept-ranges":"bytes","cache-control":"public, max-age=31536000","last-modified":"Sat, 12 Nov 2022 18:55:07 GMT","etag":"W/\"1797e-1846d320b20\"","content-type":"application/javascript; charset=UTF-8","vary":"Accept-Encoding","content-encoding":"gzip"},"statusCode":200,"responseTime":"18ms"},"msg":"","time":"2022-11-18T14:13:34.009Z","v":0}
{"name":"Log","hostname":"ip-172-26-3-124","pid":17493,"level":30,"req":{"meta":{"requestId":"ddf8f47a-83d4-408a-8bd5-2de03524939b","userId":null},"url":"/api/member/","method":"GET","originalUrl":"/members/api/member/","params":{},"headers":{"x-forwarded-for":"49.206.14.159","x-forwarded-proto":"https","x-real-ip":"49.206.14.159","host":"chinmayashankar.com","connection":"close","sec-ch-ua":"\"Google Chrome\";v=\"107\", \"Chromium\";v=\"107\", \"Not=A?Brand\";v=\"24\"","sec-ch-ua-mobile":"?0","user-agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36","sec-ch-ua-platform":"\"macOS\"","accept":"*/*","sec-fetch-site":"same-origin","sec-fetch-mode":"cors","sec-fetch-dest":"empty","referer":"https://chinmayashankar.com/","accept-encoding":"gzip, deflate, br","accept-language":"en-US,en;q=0.9,kn;q=0.8"},"query":{}},"res":{"_headers":{"x-powered-by":"Express","cache-control":"no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0","access-control-allow-origin":"*"},"statusCode":204,"responseTime":"0ms"},"msg":"","time":"2022-11-18T14:13:35.021Z","v":0}
{"name":"Log","hostname":"ip-172-26-3-124","pid":17493,"level":30,"req":{"meta":{"requestId":"5c8ee82b-f8d6-4eb9-9062-15b9898c6d35","userId":null},"url":"/settings/?key=a8c924cec65e8a0c18d9430035&limit=all","method":"GET","originalUrl":"/ghost/api/content/settings/?key=a8c924cec65e8a0c18d9430035&limit=all","params":{},"headers":{"x-forwarded-for":"49.206.14.159","x-forwarded-proto":"https","x-real-ip":"49.206.14.159","host":"chinmayashankar.com","connection":"close","sec-ch-ua":"\"Google Chrome\";v=\"107\", \"Chromium\";v=\"107\", \"Not=A?Brand\";v=\"24\"","sec-ch-ua-platform":"\"macOS\"","sec-ch-ua-mobile":"?0","user-agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36","content-type":"application/json","accept":"*/*","sec-fetch-site":"same-origin","sec-fetch-mode":"cors","sec-fetch-dest":"empty","referer":"https://chinmayashankar.com/","accept-encoding":"gzip, deflate, br","accept-language":"en-US,en;q=0.9,kn;q=0.8","if-none-match":"W/\"4bf-v8LYo86VrqbJXs8Qb350+5qozxc\""},"query":{"key":"**REDACTED**","limit":"all"}},"res":{"_headers":{"x-powered-by":"Express","vary":"Accept-Version","cache-control":"public, max-age=0","access-control-allow-origin":"*","etag":"W/\"4bf-v8LYo86VrqbJXs8Qb350+5qozxc\""},"statusCode":304,"responseTime":"12ms"},"msg":"","time":"2022-11-18T14:13:35.463Z","v":0}
{"name":"Log","hostname":"ip-172-26-3-124","pid":17493,"level":30,"req":{"meta":{"requestId":"699f1e5d-f1da-43f7-be54-521d06f276f1","userId":null},"url":"/newsletters/?key=a8c924cec65e8a0c18d9430035&limit=all","method":"GET","originalUrl":"/ghost/api/content/newsletters/?key=a8c924cec65e8a0c18d9430035&limit=all","params":{},"headers":{"x-forwarded-for":"49.206.14.159","x-forwarded-proto":"https","x-real-ip":"49.206.14.159","host":"chinmayashankar.com","connection":"close","sec-ch-ua":"\"Google Chrome\";v=\"107\", \"Chromium\";v=\"107\", \"Not=A?Brand\";v=\"24\"","sec-ch-ua-platform":"\"macOS\"","sec-ch-ua-mobile":"?0","user-agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36","content-type":"application/json","accept":"*/*","sec-fetch-site":"same-origin","sec-fetch-mode":"cors","sec-fetch-dest":"empty","referer":"https://chinmayashankar.com/","accept-encoding":"gzip, deflate, br","accept-language":"en-US,en;q=0.9,kn;q=0.8","if-none-match":"W/\"1a7-ptslGwrWKsXPI5kyFulOYsJke9I\""},"query":{"key":"**REDACTED**","limit":"all"}},"res":{"_headers":{"x-powered-by":"Express","vary":"Accept-Version","cache-control":"public, max-age=0","access-control-allow-origin":"*","etag":"W/\"1a7-ptslGwrWKsXPI5kyFulOYsJke9I\""},"statusCode":304,"responseTime":"19ms"},"msg":"","time":"2022-11-18T14:13:35.467Z","v":0}
{"name":"Log","hostname":"ip-172-26-3-124","pid":17493,"level":30,"req":{"meta":{"requestId":"9aa61d61-401a-4021-a958-2c5cc784c36d","userId":null},"url":"/tiers/?key=a8c924cec65e8a0c18d9430035&limit=all&include=monthly_price,yearly_price,benefits","method":"GET","originalUrl":"/ghost/api/content/tiers/?key=a8c924cec65e8a0c18d9430035&limit=all&include=monthly_price,yearly_price,benefits","params":{},"headers":{"x-forwarded-for":"49.206.14.159","x-forwarded-proto":"https","x-real-ip":"49.206.14.159","host":"chinmayashankar.com","connection":"close","sec-ch-ua":"\"Google Chrome\";v=\"107\", \"Chromium\";v=\"107\", \"Not=A?Brand\";v=\"24\"","sec-ch-ua-platform":"\"macOS\"","sec-ch-ua-mobile":"?0","user-agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36","content-type":"application/json","accept":"*/*","sec-fetch-site":"same-origin","sec-fetch-mode":"cors","sec-fetch-dest":"empty","referer":"https://chinmayashankar.com/","accept-encoding":"gzip, deflate, br","accept-language":"en-US,en;q=0.9,kn;q=0.8","if-none-match":"W/\"2c2-cJSXkv9y40ymKVQgpDU/Krmr+Yc\""},"query":{"key":"**REDACTED**","limit":"all","include":"monthly_price,yearly_price,benefits"}},"res":{"_headers":{"x-powered-by":"Express","vary":"Accept-Version","cache-control":"public, max-age=0","access-control-allow-origin":"*","etag":"W/\"2c2-cJSXkv9y40ymKVQgpDU/Krmr+Yc\""},"statusCode":304,"responseTime":"21ms"},"msg":"","time":"2022-11-18T14:13:35.471Z","v":0}
{"name":"Log","hostname":"ip-172-26-3-124","pid":17493,"level":30,"req":{"meta":{"requestId":"1d3209b8-f1b2-4ba0-88ae-db0689060c59","userId":null},"url":"/size/w256h256/2022/11/picofme--2--2-1.png","method":"GET","originalUrl":"/content/images/size/w256h256/2022/11/picofme--2--2-1.png","params":{},"headers":{"x-forwarded-for":"49.206.14.159","x-forwarded-proto":"https","x-real-ip":"49.206.14.159","host":"chinmayashankar.com","connection":"close","sec-ch-ua":"\"Google Chrome\";v=\"107\", \"Chromium\";v=\"107\", \"Not=A?Brand\";v=\"24\"","sec-ch-ua-mobile":"?0","user-agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36","sec-ch-ua-platform":"\"macOS\"","accept":"image/avif,image/webp,image/apng,image/svg+xml,image/*,*/*;q=0.8","sec-fetch-site":"same-origin","sec-fetch-mode":"no-cors","sec-fetch-dest":"image","referer":"https://chinmayashankar.com/","accept-encoding":"gzip, deflate, br","accept-language":"en-US,en;q=0.9,kn;q=0.8"},"query":{}},"res":{"_headers":{"x-powered-by":"Express","accept-ranges":"bytes","cache-control":"public, max-age=31536000","last-modified":"Sat, 12 Nov 2022 20:33:54 GMT","etag":"W/\"1bc92-1846d8c7c8e\"","content-type":"image/png","content-length":113810},"statusCode":200,"responseTime":"5ms"},"msg":"","time":"2022-11-18T14:13:36.192Z","v":0}
{"name":"Log","hostname":"ip-172-26-3-124","pid":17493,"level":30,"req":{"meta":{"requestId":"f384ba82-2b5d-4393-8096-e5ecd12b0d5c","userId":null},"url":"/size/w256h256/2022/11/picofme--2--2-1.png","method":"GET","originalUrl":"/content/images/size/w256h256/2022/11/picofme--2--2-1.png","params":{},"headers":{"x-forwarded-for":"49.206.14.159","x-forwarded-proto":"https","x-real-ip":"49.206.14.159","host":"chinmayashankar.com","connection":"close","sec-ch-ua":"\"Google Chrome\";v=\"107\", \"Chromium\";v=\"107\", \"Not=A?Brand\";v=\"24\"","sec-ch-ua-mobile":"?0","user-agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36","sec-ch-ua-platform":"\"macOS\"","accept":"image/avif,image/webp,image/apng,image/svg+xml,image/*,*/*;q=0.8","sec-fetch-site":"cross-site","sec-fetch-mode":"no-cors","sec-fetch-dest":"image","accept-encoding":"gzip, deflate, br","accept-language":"en-US,en;q=0.9,kn;q=0.8"},"query":{}},"res":{"_headers":{"x-powered-by":"Express","accept-ranges":"bytes","cache-control":"public, max-age=31536000","last-modified":"Sat, 12 Nov 2022 20:33:54 GMT","etag":"W/\"1bc92-1846d8c7c8e\"","content-type":"image/png","content-length":113810},"statusCode":200,"responseTime":"4ms"},"msg":"","time":"2022-11-18T14:14:37.953Z","v":0}
{"name":"Log","hostname":"ip-172-26-3-124","pid":17493,"level":30,"req":{"meta":{"requestId":"53490388-8313-496e-b0d9-91cdc1069c60","userId":null},"url":"/api/send-magic-link/","method":"POST","originalUrl":"/members/api/send-magic-link/","params":{},"headers":{"x-forwarded-for":"49.206.14.159","x-forwarded-proto":"https","x-real-ip":"49.206.14.159","host":"chinmayashankar.com","connection":"close","content-length":"208","sec-ch-ua":"\"Google Chrome\";v=\"107\", \"Chromium\";v=\"107\", \"Not=A?Brand\";v=\"24\"","sec-ch-ua-platform":"\"macOS\"","sec-ch-ua-mobile":"?0","user-agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36","content-type":"application/json","accept":"*/*","origin":"https://chinmayashankar.com","sec-fetch-site":"same-origin","sec-fetch-mode":"cors","sec-fetch-dest":"empty","referer":"https://chinmayashankar.com/","accept-encoding":"gzip, deflate, br","accept-language":"en-US,en;q=0.9,kn;q=0.8"},"query":{}},"res":{"_headers":{"x-powered-by":"Express","cache-control":"no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0","access-control-allow-origin":"*"},"statusCode":200,"responseTime":"60005ms"},"msg":"","time":"2022-11-18T14:14:41.848Z","v":0}
{"name":"Log","hostname":"ip-172-26-3-124","pid":17493,"level":30,"worker":{"resourceLimits":{"maxYoungGenerationSizeMb":46.5,"maxOldGenerationSizeMb":1967,"codeRangeSizeMb":0,"stackSizeMb":4},"threadId":619},"msg":"Worker for job \"email-analytics-fetch-latest\" online","time":"2022-11-18T14:17:58.594Z","v":0}
{"name":"Log","hostname":"ip-172-26-3-124","pid":17493,"level":30,"msg":"Worker for job email-analytics-fetch-latest sent a message: Unauthorized","time":"2022-11-18T14:17:59.194Z","v":0}
{"name":"Log","hostname":"ip-172-26-3-124","pid":17493,"level":30,"msg":"Capturing error for worker during execution of job: email-analytics-fetch-latest","time":"2022-11-18T14:17:59.195Z","v":0}
{"name":"Log","hostname":"ip-172-26-3-124","pid":17493,"level":50,"err":{"domain":"https://chinmayashankar.com","message":"Unauthorized","stack":""},"msg":"Unauthorized","time":"2022-11-18T14:17:59.196Z","v":0}
{"name":"Log","hostname":"ip-172-26-3-124","pid":17493,"level":30,"msg":"Capturing error for worker during execution of job: email-analytics-fetch-latest","time":"2022-11-18T14:17:59.200Z","v":0}
{"name":"Log","hostname":"ip-172-26-3-124","pid":17493,"level":50,"err":{"domain":"https://chinmayashankar.com","message":"Worker for job \"email-analytics-fetch-latest\" exited with code 1","stack":"Error: Worker for job \"email-analytics-fetch-latest\" exited with code 1\n    at Worker.<anonymous> (/var/www/chinmaya/versions/5.22.10/node_modules/bree/lib/index.js:419:40)\n    at Worker.emit (node:events:513:28)\n    at Worker.[kOnExit] (node:internal/worker:287:10)\n    at Worker.<computed>.onexit (node:internal/worker:202:20)"},"msg":"Worker for job \"email-analytics-fetch-latest\" exited with code 1","time":"2022-11-18T14:17:59.200Z","v":0}