8000 Custom Handler Function App with a timer triggered function occasionally receives invalid timestamps · Issue #7391 · Azure/azure-functions-host · GitHub
[go: up one dir, main page]

Skip to content
Custom Handler Function App with a timer triggered function occasionally receives invalid timestamps #7391
@ZachTB123

Description

@ZachTB123

I have multiple Function Apps using Custom Handlers with Golang that are running timer triggered functions. Occasionally my code fails to parse the times provided in the request payload.

The normal/expected request payload looks like the following:

Screen Shot 2021-05-20 at 3 01 35 PM

An unexpected request payload that breaks my parsing is like the following:

Screen Shot 2021-05-20 at 3 02 27 PM

Here the problem is Last and LastUpdated. This only happens occasionally (not every invocation of my timer triggered function).

Investigative information

Please provide the following:

  • Timestamp: 2021-05-17T21:00:00.163207Z
  • Function App version: 3.0.15584.0
  • Function App name:
  • Function name(s) (as appropriate):
  • Invocation ID: e1040a7f-b79d-4361-970b-3a55b9cad22c
  • Region: centralus

Repro steps

Create a custom handler function app with a timer trigger function. Let it run for a while.

Expected behavior

Correct timestamp values are provided to my functions in the request payload.

Actual behavior

Last is set to 0001-01-01T00:00:00 and LastUpdated is set to 0001-01-01T00:00:00

Known workarounds

N/A

Related information

function.json:

{
  "bindings": [
    {
      "name": "timer",
      "type": "timerTrigger",
      "direction": "in",
      "schedule": "0 */15 * * * *"
    }
  ]
}

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0