#CAN ANYONE HELP? The function "teardown" is not being called (it's in an infinite waiting stat

1 messages · Page 1 of 1 (latest)

shadow wind
#

PS:
In AWS logs, everything is present, and scraping works perfectly, but It appears that the code doesn't execute after await crawler.run(startUrls) because, as I understand it, it cannot await the promise..
Locally everything is good.
I measured the execution time, and it's approximately around 6 seconds.
Here's the response from the server:

{

    "message": "Endpoint request timed out"
}
smoky capeBOT
#

@shadow wind just advanced to level 1! Thanks for your contributions! 🎉

shadow wind
#

PS:
I debugged the node_modules folder and found that for some reason, the "await this.teardown()" method is not being invoked in the lambda. Additionally, the logs (which I set up inside this function) are not being called either, and consequently after this function.