This repository has been archived by the owner on Apr 3, 2019. It is now read-only.
500 Internal Server Error when trying to contact api-accounts-latest.dev #598
Comments
Here's the log line {
"name":"fxa-auth-server",
"hostname":"ip-10-80-227-43",
"pid":7514,
"level":50,
"op":"request.summary",
"code":500,
"errno":999,
"rid":"1393616459114-7514-60506",
"path":"/v1/account/create",
"lang":"en",
"agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:30.0) Gecko/20100101 Firefox/30.0",
"remoteAddressChain":[
"63.245.220.240",
"127.0.0.1"
],
"t":20,
"keys":"true",
"email":"peterdehaan+blanbh@gmail.com",
"trace":[
{
"op":"Account.create",
"rid":"1393616459114-7514-60506"
},
{
"op":"MySql.emailRecord",
"email":"peterdehaan+blanbh@gmail.com",
"rid":"1393616459114-7514-60506"
},
{
"op":"MySql.createAccount",
"uid":"d63aec1a5dc74137a9a140109b11d71c",
"email":"peterdehaan+blanbh@gmail.com",
"rid":"1393616459114-7514-60506"
},
{
"op":"MySql.createSessionToken",
"uid":"d63aec1a5dc74137a9a140109b11d71c",
"rid":"1393616459114-7514-60506"
},
{
"op":"SessionToken.create",
"uid":"d63aec1a5dc74137a9a140109b11d71c",
"rid":"1393616459114-7514-60506"
},
{
"op":"MySql.createKeyFetchToken",
"uid":"d63aec1a5dc74137a9a140109b11d71c",
"rid":"1393616459114-7514-60506"
},
{
"op":"KeyFetchToken.create",
"uid":"d63aec1a5dc74137a9a140109b11d71c",
"rid":"1393616459114-7514-60506"
},
{
"op":"keyFetchToken.bundleKeys",
"id":"31be6be7b21b1db27bf379e317ff3b22c5250f86b402aadbfb8af90127a6c8b6",
"rid":"1393616459114-7514-60506"
},
{
"op":"Token.bundle",
"rid":"1393616459114-7514-60506"
},
{
"op":"mailer.sendVerifyCode",
"email":"peterdehaan+blanbh@gmail.com",
"uid":"d63aec1a5dc74137a9a140109b11d71c",
"rid":"1393616459114-7514-60506"
}
],
"stack":"TypeError: Cannot read property 'subject' of undefined\n at Mailer.sendVerifyCode (/home/app/code/mailer.js:198:24)\n at db.emailRecord.then.then.then.done.account (/home/app/code/routes/account.js:136:24)\n at onSettled (/home/app/code/node_modules/p-promise/p.js:258:10)\n at onTick (/home/app/code/node_modules/p-promise/p.js:40:4)\n at process._tickDomainCallback (node.js:459:13)",
"msg":"Cannot read property 'subject' of undefined",
"time":"2014-02-28T19:40:59.134Z",
"v":0
} I'll make a quick fix soon |
Thanks @dannycoates, you are awesome. AWESOME! |
Other relevant lines at server startup:
|
Ah, sorry. I left out that on that awsbox there is no local |
rfk
pushed a commit
that referenced
this issue
Oct 24, 2018
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Not sure if this is related to server issues from #594 CORS error when trying to create a new account on accounts-latest?
Steps to reproduce:
Actual results:
Expected results:
No error, create an account.
How this makes me feel:
The text was updated successfully, but these errors were encountered: