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

Refused to get unsafe header "x-ms-bot-id" #287

Closed
arman-g opened this issue Jun 11, 2020 · 15 comments
Closed

Refused to get unsafe header "x-ms-bot-id" #287

arman-g opened this issue Jun 11, 2020 · 15 comments
Assignees
Labels
Bot Services Required for internal Azure reporting. Do not delete. Do not change color. customer-replied-to Required for internal reporting. Do not delete. customer-reported Required for internal Azure reporting. Do not delete.

Comments

@arman-g
Copy link

arman-g commented Jun 11, 2020

Screenshots

img

Version

BotFramework WebChat CDN 4.9.1

Describe the bug

I see an error under the console with message "Refused to get unsafe header 'x-ms-bot-id'".

@arman-g
Copy link
Author

arman-g commented Jun 12, 2020

It could be that this header does not exist but it is being read which causes this error. A similar case here.

@stevkan stevkan added Bot Services Required for internal Azure reporting. Do not delete. Do not change color. customer-reported Required for internal Azure reporting. Do not delete. labels Jun 12, 2020
@vishwacsena
Copy link

@ckkashyap @compulim can you help take a look and comment?

@compulim
Copy link
Collaborator

@swagatmishra2007 can you look at this one? This seems rooted from your PR, 41f5df3#diff-4ea468cc7b0c950f26da99e8ca71ac57R621.

@venkatx5
Copy link

Any solution for this error?

@srinaath
Copy link

@swagatmishra2007 Could you take a look at this ticket?

@fedsp
Copy link

fedsp commented Jun 23, 2020

Freshstart using react and bot framework directline (it is working well using a legacy webchat), same error. Does anyone has an update?

@swagatmishra2007
Copy link
Member

It's an unused header..I will file a PR to remove it .

@srinaath srinaath added the customer-replied-to Required for internal reporting. Do not delete. label Jun 24, 2020
@ghost
Copy link

ghost commented Jun 26, 2020

we had the same issue - and we set back to version 4.9.0 and its fine. it only appears in 4.9.1 due to the fact that botframework-directlinejs was updated to 0.12.0 instead of 0.11.6

@grimz11
Copy link

grimz11 commented Jun 30, 2020

Same issue here with botframework-webchat": "^4.9.0" version. But this only happens in the live server though. There's no issue in my local.

@wbrands2
Copy link

SAME ISSUES*** Same issue here with botframework-webchat": "^4.9.0" version. But this only happens in the live server though. There's no issue in my local.

@SafwaanA-Hexaware
Copy link

Is there any solution to this issue?

@arman-g
Copy link
Author

arman-g commented Jul 6, 2020

@swagatmishra2007 hi, is there any updates for this issue? What is the time line?

@SafwaanA-Hexaware
Copy link

SafwaanA-Hexaware commented Jul 6, 2020

I used the 4.8.0 version and this issue went away. Although the issue still remains in the latest 4.9.1 version.

@compulim
Copy link
Collaborator

DLJS 0.12.0 is causing the issue, which was introduced in WebChat 4.9.1 (but not 4.9.0).

@swagatmishra2007 to get to this sooner.

@EricDahlvang
Copy link
Member

Fixed with #296

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. 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