Actor don't run on Console
Started Actor from template and crawls all requests it should on Docker when run locally, but when Console runs it keeps just stopping on first request, without giving error messages.
Template worked fine. Proxy doesn't affected result.
Any help of what could be?
10 Replies
Someone will reply to you shortly. In the meantime, this might help:
ratty-blushOP•6mo ago
Docker on Console Apify
Docker local
extended-salmon•6mo ago
Please share some code reproduction for your case and, if possible, a link to your run on the platform. Without more details, it’s difficult to assist effectively.
Maybe You have different target sites in input? I mean locally and on the platform.
Also, for future reference, consider following best practices when asking for help to ensure faster and better support:
https://stackoverflow.com/help/how-to-ask
Stack Overflow
How do I ask a good question? - Help Center
Stack Overflow | The World’s Largest Online Community for Developers
ratty-blushOP•6mo ago
Code:
Almost no change from basic Actor Template:
main.ts
routes.ts
ratty-blushOP•6mo ago
If needed I can provide github link to full files.
proxyConfiguration is empty as template goes.
@didiraja just advanced to level 1! Thanks for your contributions! 🎉
ratty-blushOP•6mo ago
Tried a first run only changing requests adresses from template, and it just didn't work. Advanvedd only locally.
@Oleg V.
extended-salmon•6mo ago
@didiraja
Check your input settings on the platform.
There’s a default "startUrl" value that overrides the one from your code, which is why your glob logic isn’t working.
ratty-blushOP•6mo ago
@Oleg V. i'll take a look, thanks
@Oleg V. just confirming that was the case, thanks so much