Open Closed

Background Job sometimes starts and becomes abandoned immediately without giving any log !! #1393


User avatar
0
hilal.aksoy created

Background Job sometimes starts and becomes abandoned immediately without giving any log. I have a worker(AsyncPeriodicBackgroundWorkerBase) and I use it as a trigger for a job. The interesting part that sometimes it works without any problems and logs everything. I tried to put try/catch in the top of ExecuteAsync method and some logs but when it fails it doesn't even log the first line in code. Do you have any idea to force the job to log everything? It works 100% fine on the local but I face this problem when I run the projects on kubernetes cluster.

  • ABP Framework version: v4.2.2
  • UI type: MVC
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): no
  • Exception message and stack trace: no exception
  • Steps to reproduce the issue: no

2 Answer(s)
  • User Avatar
    -2
    maliming created
    Support Team Fullstack Developer

    hi

    I think there should be logs, otherwise we can't confirm the problem.

  • User Avatar
    0
    ServiceBot created
    Support Team Automatic process manager

    This question has been automatically marked as stale because it has not had recent activity.

Made with ❤️ on ABP v9.1.0-preview. Updated on November 11, 2024, 11:11