microsoft / botframework-sdk

Bot Framework provides the most comprehensive experience for building conversation applications.
MIT License
7.47k stars 2.44k forks source link

Refused to display 'https://webchat.botframework.com/' in a frame because it set 'X-Frame-Options' to 'sameorigin'. #6561

Closed Gil0 closed 1 year ago

Gil0 commented 1 year ago

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

Version

SDK runtime packages 4.12.0

Describe the bug

Hi Team, We have a chatbot built in Bot Framework Composer and deployed in a website, everything was working perfectly until yesterday when we realized that our chatbot wouldn't load and so we inspected the webpage and found out the following error message in the console: Refused to display 'https://webchat.botframework.com/' in a frame because it set 'X-Frame-Options' to 'sameorigin'. image

To Reproduce

Steps to reproduce the behavior: 1) Create a chatbot using bot framework composer and deploy it to azure 2) Deploy the chatbot in a website using the embedded code and the secret key provided by the Web Chat channel. 3) Try to chat with the bot

Expected behavior

We hope that our Chat Bot will work again within the company's site within an iframe

Screenshots

image

Additional context

We have Bot Framework Composer within our company site (ticket.precitool.com) without making any changes, it stopped working and instead of showing the bot it shows that area in gray with the message. image

YutongTie-MSFT commented 1 year ago

Thread in Q&A for this issue FYI - https://learn.microsoft.com/en-us/answers/questions/1139498/index.html

InfinytRam commented 1 year ago

This issue may have been resolved by today.

@Gil0, could you please try again and let us know if you are still having this issue. Thanks

Gil0 commented 1 year ago

Thank you, the problem was solved. image