question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support: Example not working

See original GitHub issue

I have tried everything to make the example work with no luck. Everything gets correctly deployed to AWS, but when I hit “Test” the Lambda function just crashes with no information about why.

The code is the one in the example and, in case it helps, here are the ClourWatch logs produced:

{
    "BuildID": "3317be7851ebab6382ffa4d4d4fee94de0b51684",
    "SpartaSHA": "7bac54c",
    "SpartaVersion": "1.9.2",
    "UTC": "2019-05-22T14:33:29Z",
    "go Version": "go1.12.5",
    "level": "info",
    "msg": "Service: SpartaStudyStack",
    "time": "2019-05-22T14:33:29Z"
}
2019/05/22 14:33:29 <nil>
START RequestId: bc5f3a38-376d-422d-bca8-1cc5757d93ba Version: $LATEST
{
    "BuildID": "3317be7851ebab6382ffa4d4d4fee94de0b51684",
    "SpartaSHA": "7bac54c",
    "SpartaVersion": "1.9.2",
    "UTC": "2019-05-22T14:33:30Z",
    "go Version": "go1.12.5",
    "level": "info",
    "msg": "Service: SpartaStudyStack",
    "time": "2019-05-22T14:33:30Z"
}
2019/05/22 14:33:30 <nil>
END RequestId: bc5f3a38-376d-422d-bca8-1cc5757d93ba
REPORT RequestId: bc5f3a38-376d-422d-bca8-1cc5757d93ba	Duration: 486.97 ms	Billed Duration: 500 ms Memory Size: 512 MB	Max Memory Used: 33 MB	
RequestId: bc5f3a38-376d-422d-bca8-1cc5757d93ba Process exited before completing request

{
    "BuildID": "3317be7851ebab6382ffa4d4d4fee94de0b51684",
    "SpartaSHA": "7bac54c",
    "SpartaVersion": "1.9.2",
    "UTC": "2019-05-22T14:33:31Z",
    "go Version": "go1.12.5",
    "level": "info",
    "msg": "Service: SpartaStudyStack",
    "time": "2019-05-22T14:33:31Z"
}
2019/05/22 14:33:31 <nil>

I have checked everything (timeouts, memory, changed the signature of the Go function for the lambda, etc) but I always get the same result.

Could you please let me know what’s wrong? Thanks!

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:13 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
mweaglecommented, Jun 3, 2019

Resolved with v1.9.3. Apologies for the inconvenience.

0reactions
alvaroloescommented, May 23, 2019

YES!! It is working finally!

I had already lost all hope.

Thanks a lot, @mweagle! I’ll keep testing the framework 😉

Read more comments on GitHub >

github_iconTop Results From Across the Web

How To Handle a Lack of Support at Work (And Why It's ...
Explain how their encouragement can motivate you to complete your job duties and overcome work challenges. You can also suggest ways they can ......
Read more >
The Art of Troubleshooting for Customer Support Professionals
Increase your support speed and build a more resilient and effective team by teaching the skill and art of troubleshooting for customer ...
Read more >
10 Most Common Help Desk Problems & How to Solve Them
Are common help desk problems taking a toll on your support operations? Read this blog to learn about the 10 help desk problems...
Read more >
Example support in swagger doc generation not working #2397
I can see the example in the swagger.json file, The UI for some reason doesn't interpret them properly? "DownloadPaymentDataRequestDto": { "type ...
Read more >
The Most Common Helpdesk Problems and How to Solve Them
In this guide you can get acquainted with some of the most important help desk problems and solutions. Don't hesitate and read this...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found