Code Monkey home page Code Monkey logo

Comments (3)

Nsenz avatar Nsenz commented on June 21, 2024

Hello, @msounkere! Could you please double check your jwt settings? It seems as if your header value might be incorrectly configured

from onlyoffice-mattermost.

arladmin avatar arladmin commented on June 21, 2024

@Nsenz
What is the correct Header value?

Couldn't find it anywhere.

from onlyoffice-mattermost.

arladmin avatar arladmin commented on June 21, 2024

Facing the same error.

Mattermost logs-

Feb 03 11:28:31{"timestamp":"2024-02-03 05:58:31.830 Z","level":"debug","msg":"[ONLYOFFICE Handler]: got an editor request","caller":"app/plugin_api.go:982","plugin_id":"com.onlyoffice.mattermost"}
Feb 03 11:28:31{"timestamp":"2024-02-03 05:58:31.841 Z","level":"debug","msg":"[ONLYOFFICE Handler]: building an editor window","caller":"app/plugin_api.go:982","plugin_id":"com.onlyoffice.mattermost"}
Feb 03 11:28:32{"timestamp":"2024-02-03 05:58:32.694 Z","level":"debug","msg":"Trigger reminders for 2024-02-03 05:58:33 +0000 UTC","caller":"app/plugin_api.go:982","plugin_id":"com.github.scottleedavis.mattermost-plugin-remind"}
Feb 03 11:28:33{"timestamp":"2024-02-03 05:58:33.703 Z","level":"debug","msg":"Trigger reminders for 2024-02-03 05:58:34 +0000 UTC","caller":"app/plugin_api.go:982","plugin_id":"com.github.scottleedavis.mattermost-plugin-remind"}
Feb 03 11:28:34{"timestamp":"2024-02-03 05:58:34.725 Z","level":"debug","msg":"Trigger reminders for 2024-02-03 05:58:35 +0000 UTC","caller":"app/plugin_api.go:982","plugin_id":"com.github.scottleedavis.mattermost-plugin-remind"}
Feb 03 11:28:35{"timestamp":"2024-02-03 05:58:35.388 Z","level":"warn","msg":"Error while creating session for user access token","caller":"app/session.go:94","error":"createSessionForUserAccessToken: Invalid or missing token., resource: UserAccessToken id: token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJwYXlsb2FkIjp7InVybCI6Imh0dHBzOi8vY2hhdC5hcHBsLWludHJhLm5ldC9wbHVnaW5zL2NvbS5vbmx5b2ZmaWNlLm1hdHRlcm1vc3QvYXBpL2Rvd25sb2FkP2lkPWFuOXFyZHJxZDNubTVqaWlvMXlpZ2ptYjZoIn0sImlhdCI6MTcwNjkzOTkxNSwiZXhwIjoxNzA2OTQwMjE1fQ.yZMHN7j0RQOSou2Lj-q8zjU_t2jFRL4AKjJUAOzDJPQ"}
Feb 03 11:28:35{"timestamp":"2024-02-03 05:58:35.390 Z","level":"error","msg":"[ONLYOFFICE Handler]: could not extract jwt with the header specified. Please validate your JWT Header settings","caller":"app/plugin_api.go:988","plugin_id":"com.onlyoffice.mattermost"}
Feb 03 11:28:35{"timestamp":"2024-02-03 05:58:35.734 Z","level":"debug","msg":"Trigger reminders for 2024-02-03 05:58:36 +0000 UTC","caller":"app/plugin_api.go:982","plugin_id":"com.github.scottleedavis.mattermost-plugin-remind"}
Feb 03 11:28:36{"timestamp":"2024-02-03 05:58:36.402 Z","level":"warn","msg":"Error while creating session for user access token","caller":"app/session.go:94","error":"createSessionForUserAccessToken: Invalid or missing token., resource: UserAccessToken id: token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJwYXlsb2FkIjp7InVybCI6Imh0dHBzOi8vY2hhdC5hcHBsLWludHJhLm5ldC9wbHVnaW5zL2NvbS5vbmx5b2ZmaWNlLm1hdHRlcm1vc3QvYXBpL2Rvd25sb2FkP2lkPWFuOXFyZHJxZDNubTVqaWlvMXlpZ2ptYjZoIn0sImlhdCI6MTcwNjkzOTkxNiwiZXhwIjoxNzA2OTQwMjE2fQ.bsq5stk1PDodVysPrIWMYuYsNvkTQLwde694ifWYTOU"}
Feb 03 11:28:36{"timestamp":"2024-02-03 05:58:36.404 Z","level":"error","msg":"[ONLYOFFICE Handler]: could not extract jwt with the header specified. Please validate your JWT Header settings","caller":"app/plugin_api.go:988","plugin_id":"com.onlyoffice.mattermost"}
Feb 03 11:28:36{"timestamp":"2024-02-03 05:58:36.742 Z","level":"debug","msg":"Trigger reminders for 2024-02-03 05:58:37 +0000 UTC","caller":"app/plugin_api.go:982","plugin_id":"com.github.scottleedavis.mattermost-plugin-remind"}
Feb 03 11:28:37{"timestamp":"2024-02-03 05:58:37.415 Z","level":"warn","msg":"Error while creating session for user access token","caller":"app/session.go:94","error":"createSessionForUserAccessToken: Invalid or missing token., resource: UserAccessToken id: token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJwYXlsb2FkIjp7InVybCI6Imh0dHBzOi8vY2hhdC5hcHBsLWludHJhLm5ldC9wbHVnaW5zL2NvbS5vbmx5b2ZmaWNlLm1hdHRlcm1vc3QvYXBpL2Rvd25sb2FkP2lkPWFuOXFyZHJxZDNubTVqaWlvMXlpZ2ptYjZoIn0sImlhdCI6MTcwNjkzOTkxNywiZXhwIjoxNzA2OTQwMjE3fQ.FL8K0QJV1LIUVF3RJeb7T6oZPGkXrmmo5MslfZqlNTc"}
Feb 03 11:28:37{"timestamp":"2024-02-03 05:58:37.416 Z","level":"error","msg":"[ONLYOFFICE Handler]: could not extract jwt with the header specified. Please validate your JWT Header settings","caller":"app/plugin_api.go:988","plugin_id":"com.onlyoffice.mattermost"}

OnlyOffice Docs Server logs-

Feb 03 11:31:57172.18.0.1 - - [03/Feb/2024:06:01:57 +0000] "GET /web-apps/apps/api/documents/api.js HTTP/1.1" 304 0 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.5993.89 Electron/27.0.2 Safari/537.36 Mattermost/5.6.0"
Feb 03 11:31:58172.18.0.1 - - [03/Feb/2024:06:01:58 +0000] "GET /web-apps/apps/spreadsheeteditor/main/index.html?_dc=8.0.0-99&lang=en&customer=ONLYOFFICE&frameEditorId=iframeEditor&mode=view&isForm=false&parentOrigin=https://my-mattermost-domain&fileType=csv HTTP/1.1" 302 138 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.5993.89 Electron/27.0.2 Safari/537.36 Mattermost/5.6.0"
Feb 03 11:31:59[2024-02-03T06:01:59.079] [ERROR] [localhost] [8eddff0bcaf3b31c9a2e51c34ddfdd9f] [5a6dei5gibyr78sjcpotmstgyo] nodeJS - error downloadFile:url=https://my-mattermost-domain/plugins/com.onlyoffice.mattermost/api/download?id=an9qrdrqd3nm5jiio1yigjmb6h;attempt=1;code:null;connect:null Error: Error response: statusCode:403; headers:{"server":"nginx","date":"Sat, 03 Feb 2024 06:01:59 GMT","content-length":"0","connection":"keep-alive","vary":"Origin","x-ratelimit-limit":"101","x-ratelimit-remaining":"100","x-ratelimit-reset":"1"};
Feb 03 11:31:59at Request.fResponse (/snapshot/server/Common/sources/utils.js)
Feb 03 11:31:59at Request.emit (node:events:527:28)
Feb 03 11:31:59at Request.onRequestResponse (/snapshot/server/Common/node_modules/request/request.js:1066:10)
Feb 03 11:31:59at ClientRequest.emit (node:events:527:28)
Feb 03 11:31:59at HTTPParser.parserOnIncomingClient (node:_http_client:631:27)
Feb 03 11:31:59at HTTPParser.parserOnHeadersComplete (node:_http_common:128:17)
Feb 03 11:31:59at TLSSocket.socketOnData (node:_http_client:494:22)
Feb 03 11:31:59at TLSSocket.emit (node:events:527:28)
Feb 03 11:31:59at addChunk (node:internal/streams/readable:315:12)
Feb 03 11:31:59at readableAddChunk (node:internal/streams/readable:289:9)
Feb 03 11:31:59at TLSSocket.Readable.push (node:internal/streams/readable:228:10)
Feb 03 11:31:59at TLSWrap.onStreamRead (node:internal/stream_base_commons:190:23)
Feb 03 11:32:00[2024-02-03T06:02:00.092] [ERROR] [localhost] [8eddff0bcaf3b31c9a2e51c34ddfdd9f] [5a6dei5gibyr78sjcpotmstgyo] nodeJS - error downloadFile:url=https://my-mattermost-domain/plugins/com.onlyoffice.mattermost/api/download?id=an9qrdrqd3nm5jiio1yigjmb6h;attempt=2;code:null;connect:null Error: Error response: statusCode:403; headers:{"server":"nginx","date":"Sat, 03 Feb 2024 06:02:00 GMT","content-length":"0","connection":"keep-alive","vary":"Origin","x-ratelimit-limit":"101","x-ratelimit-remaining":"100","x-ratelimit-reset":"1"};
Feb 03 11:32:00at Request.fResponse (/snapshot/server/Common/sources/utils.js)
Feb 03 11:32:00at Request.emit (node:events:527:28)
Feb 03 11:32:00at Request.onRequestResponse (/snapshot/server/Common/node_modules/request/request.js:1066:10)
Feb 03 11:32:00at ClientRequest.emit (node:events:527:28)
Feb 03 11:32:00at HTTPParser.parserOnIncomingClient (node:_http_client:631:27)
Feb 03 11:32:00at HTTPParser.parserOnHeadersComplete (node:_http_common:128:17)
Feb 03 11:32:00at TLSSocket.socketOnData (node:_http_client:494:22)
Feb 03 11:32:00at TLSSocket.emit (node:events:527:28)
Feb 03 11:32:00at addChunk (node:internal/streams/readable:315:12)
Feb 03 11:32:00at readableAddChunk (node:internal/streams/readable:289:9)
Feb 03 11:32:00at TLSSocket.Readable.push (node:internal/streams/readable:228:10)
Feb 03 11:32:00at TLSWrap.onStreamRead (node:internal/stream_base_commons:190:23)
Feb 03 11:32:00172.18.0.1 - - [03/Feb/2024:06:02:00 +0000] "GET /healthcheck HTTP/1.1" 200 4 "-" "Mozilla (CloudronHealth)"
Feb 03 11:32:01[2024-02-03T06:02:01.159] [ERROR] [localhost] [8eddff0bcaf3b31c9a2e51c34ddfdd9f] [5a6dei5gibyr78sjcpotmstgyo] nodeJS - error downloadFile:url=https://my-mattermost-domain/plugins/com.onlyoffice.mattermost/api/download?id=an9qrdrqd3nm5jiio1yigjmb6h;attempt=3;code:null;connect:null Error: Error response: statusCode:403; headers:{"server":"nginx","date":"Sat, 03 Feb 2024 06:02:01 GMT","content-length":"0","connection":"keep-alive","vary":"Origin","x-ratelimit-limit":"101","x-ratelimit-remaining":"100","x-ratelimit-reset":"1"};
Feb 03 11:32:01at Request.fResponse (/snapshot/server/Common/sources/utils.js)
Feb 03 11:32:01at Request.emit (node:events:527:28)
Feb 03 11:32:01at Request.onRequestResponse (/snapshot/server/Common/node_modules/request/request.js:1066:10)
Feb 03 11:32:01at ClientRequest.emit (node:events:527:28)
Feb 03 11:32:01at HTTPParser.parserOnIncomingClient (node:_http_client:631:27)
Feb 03 11:32:01at HTTPParser.parserOnHeadersComplete (node:_http_common:128:17)
Feb 03 11:32:01at TLSSocket.socketOnData (node:_http_client:494:22)
Feb 03 11:32:01at TLSSocket.emit (node:events:527:28)
Feb 03 11:32:01at addChunk (node:internal/streams/readable:315:12)
Feb 03 11:32:01at readableAddChunk (node:internal/streams/readable:289:9)
Feb 03 11:32:01at TLSSocket.Readable.push (node:internal/streams/readable:228:10)
Feb 03 11:32:01at TLSWrap.onStreamRead (node:internal/stream_base_commons:190:23)

from onlyoffice-mattermost.

Related Issues (16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.