Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sent messages shown as "Sent Failed. Retry." when rendering chat using existing conversation #4506

Closed
2 tasks
antoniobriones opened this issue Nov 15, 2022 · 1 comment
Labels
Bot Services Required for internal Azure reporting. Do not delete. Do not change color. bug Indicates an unexpected problem or an unintended behavior. customer-replied-to Required for internal reporting. Do not delete. customer-reported Required for internal Azure reporting. Do not delete.

Comments

@antoniobriones
Copy link

Is it an issue related to Adaptive Cards?

  • Yes, this is an Adaptive Card issue but it is specific to Web Chat.

Do you have any screenshots?

image

What version of Web Chat are you using?

Latest production

Which distribution are you using Web Chat from?

Bundle (webchat.js)

Which hosting environment does this issue primarily affect?

Web apps

Which browsers and platforms do the issue happened?

Browser: Chrome (latest)

Which area does this issue affect?

Chat history

Is this an accessibility issue?

  • Yes, this is an accessibility issue.

Please describe the bug

  • Start a conversation with a bot by making a POST to https://directline.botframework.com/v3/directline/conversations
  • Use that token to render the webchat on a page:
    window.WebChat.renderWebChat( { directLine: window.WebChat.createDirectLine({ token: token, }), styleSet: getBotStyleSet(), sendTypingIndicator: true, store, styleOptions: getBotStyleOptions(), }, document.getElementById(ctrl.widgetId + "-container") );
  • Start a conversation with the chatbot, sending a message
  • Refresh the page using the same token (for the existing conversation)
  • The chatbot will render the existing conversation, but the messages that were sent by the user, will appear as "Sent Failed. Retry.", see pic above.

Do you see any errors in console log?

No

How to reproduce the issue?

Start a conversation with a bot by making a POST to https://directline.botframework.com/v3/directline/conversations

  • Use that token to render the webchat on a page:
    window.WebChat.renderWebChat( { directLine: window.WebChat.createDirectLine({ token: token, }), styleSet: getBotStyleSet(), sendTypingIndicator: true, store, styleOptions: getBotStyleOptions(), }, document.getElementById(ctrl.widgetId + "-container") );
  • Start a conversation with the chatbot, sending a message
  • Refresh the page using the same token (for the existing conversation)

What is the expected and actual behavior?

Expected:

  • The chatbot should render the existing conversation, and the messages should appear as "Sent"
    Actual:
  • The chatbot will render the existing conversation, but the messages that were sent by the user, will appear as "Sent Failed. Retry.", see pic above.

Adaptive Card JSON

No response

Additional context

No response

@antoniobriones antoniobriones added Bot Services Required for internal Azure reporting. Do not delete. Do not change color. bug Indicates an unexpected problem or an unintended behavior. customer-reported Required for internal Azure reporting. Do not delete. labels Nov 15, 2022
@compulim
Copy link
Contributor

This is duplicate of #4501.

@compulim compulim added the customer-replied-to Required for internal reporting. Do not delete. label Nov 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bot Services Required for internal Azure reporting. Do not delete. Do not change color. bug Indicates an unexpected problem or an unintended behavior. customer-replied-to Required for internal reporting. Do not delete. customer-reported Required for internal Azure reporting. Do not delete.
Projects
None yet
Development

No branches or pull requests

2 participants