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

Response doesn't have WWW-AUTHENTICATE header! #50

Open
bbodenmiller opened this issue Apr 17, 2020 · 4 comments
Open

Response doesn't have WWW-AUTHENTICATE header! #50

bbodenmiller opened this issue Apr 17, 2020 · 4 comments
Labels
Type/Question Further information is requested

Comments

@bbodenmiller
Copy link
Contributor

Getting the following errors when trying to run with Skype for Business Server:

{"level":"debug","ts":1587102486.5159667,"caller":"mlog/log.go:162","msg":"CSRF Check failed for request - Please migrate your plugin to either send a CSRF Header or Form Field, XMLHttpRequest is deprecated","path":"/plugins/skype4business/api/v1/create_meeting_in_server_version","ip":"127.0.0.1:48131","session_id":"..........","user_id":"..........."}
...
{"level":"info","ts":1587102491.4761477,"caller":"[email protected]/stream.go:15","msg":"{\"level\":\"warn\",\"msg\":\"Resource from applications url is not the same as resource name from user url\"}","plugin_id":"skype4business","source":"plugin_stdout"}
{"level":"info","ts":1587102491.4866028,"caller":"[email protected]/stream.go:15","msg":"{\"level\":\"error\",\"msg\":\"Error fetching meetings resource url: Error performing request to get authentication header from new resource: Response doesn't have WWW-AUTHENTICATE header!\"}","plugin_id":"skype4business","source":"plugin_stdout"}
@hanzei hanzei added Triage Type/Question Further information is requested labels Apr 17, 2020
@bbodenmiller
Copy link
Contributor Author

@hanzei @kosgrz @mickmister any ideas where to start on troubleshooting this?

@mickmister
Copy link
Contributor

Hi @bbodenmiller,

Looking at your output:

CSRF issue - It is purely a warning unless you have ServiceSettings.ExperimentalStrictCSRFEnforcement enabled in your config. Here's a ticket to properly solve this #51

For the other two lines of output, I'm not reaching any conclusions reading the code that generates these outputs, so I will need to defer to @kosgrz.

@kosgrz
Copy link
Collaborator

kosgrz commented May 11, 2020

Hi @bbodenmiller,
I'm not sure what is the reason of this issue. Could you create an account on https://community.mattermost.com/ and PM me? My nickname is the same there (kosgrz). I would like to test some solutions with you :)

@mickmister mickmister removed their assignment Nov 20, 2020
@bbodenmiller
Copy link
Contributor Author

@kosgrz finally messaged you back after trying test build. Still no luck.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type/Question Further information is requested
Projects
None yet
Development

No branches or pull requests

5 participants