Skip to content
This repository was archived by the owner on Oct 3, 2025. It is now read-only.
This repository was archived by the owner on Oct 3, 2025. It is now read-only.

DirectLine: Duplicated execution per request when running in multiple web app instances with Session affinity off #42

@dawwa

Description

@dawwa

Github issues should be used for bugs and feature requests. Use Stack Overflow for general "how-to" questions.

Version

microsoft.bot.connector.directline\3.0.2\lib\netstandard1.3\Microsoft.Bot.Connector.DirectLine.dll

Describe the bug

Duplicated dialog launching happens when deploying in the Azure Web App Service with multiple instances and Session affinity off.
Turning the Session affinity on fixed the problem.

To Reproduce

Steps to reproduce the behavior:

  1. Deploy the directline sample into a web app service
  2. Scale the service plan to 4 instances
  3. Make sure the web app service Session affinity is at off state.
  4. Issue Directline http request and check the dialog execution

Expected behavior

Only one execution per request.

Actual behavior

Multiple execution observed.

[bug]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions