question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error response: statusCode:403

See original GitHub issue

Do you want to request a feature or report a bug? Maybe I did wrong configuration.

What is the current behavior? When I try to open a document, the new tab jumps with an error prompt.

image

DocumentServer version: mysql:8.0 onlyoffice/communityserver:11.6.0.1620 onlyoffice/controlpanel:3.0.3.410

DocumentServer Version: 7.0.0. Build: 0 image

Browser version: FireFox 97

Operating System: Ubuntu20, Docker image

Reproduce step

$ sudo bash workspace-install.sh -it GROUPS
Install with Docker [Y/N/C]? Y
Install ONLYOFFICE Mail Server [Y/N]?: N
$ docker stop onlyoffice-document-server
$ docker rm onlyoffice-document-server
$ docker rmi onlyoffice-document-server
$ sudo docker run -it --net onlyoffice --expose 80 --expose 443 --name onlyoffice-document-server \
	-v ${HOME}/out:/out \
	-v /app/onlyoffice/DocumentServer/logs:/var/log/onlyoffice  \
	-v /app/onlyoffice/DocumentServer/data:/var/www/onlyoffice/Data  \
	-v /app/onlyoffice/DocumentServer/fonts:/usr/share/fonts/truetype/custom \
	-v /app/onlyoffice/DocumentServer/forgotten:/var/lib/onlyoffice/documentserver/App_Data/cache/files/forgotten \
	mydocumentserver
mydocumentserver config

Dockerfile to build mydocumentserver

FROM ubuntu:18.04
RUN apt-get -y update && \
    apt-get -y install nginx \
                       postgresql \
                       rabbitmq-server \
                       sudo

RUN rm /etc/nginx/sites-enabled/default 
ADD onlyoffice-documentserver /etc/nginx/sites-available/onlyoffice-documentserver
RUN ln -s /etc/nginx/sites-available/onlyoffice-documentserver /etc/nginx/sites-enabled/onlyoffice-documentserver
ADD entrypoint.sh /entrypoint.sh
CMD ["bash", "/entrypoint.sh"]

entrypoint.sh:

service postgresql start
service rabbitmq-server start
service nginx start
sudo -i -u postgres psql -c "CREATE DATABASE onlyoffice;"
sudo -i -u postgres psql -c "CREATE USER onlyoffice WITH password 'onlyoffice';"
sudo -i -u postgres psql -c "GRANT ALL privileges ON DATABASE onlyoffice TO onlyoffice;"
PGPASSWORD='onlyoffice' psql -hlocalhost -Uonlyoffice -d onlyoffice -f /out/linux_64/onlyoffice/documentserver/server/schema/postgresql/createdb.sql
cd /out/linux_64/onlyoffice/documentserver/
mkdir fonts
LD_LIBRARY_PATH=${PWD}/server/FileConverter/bin server/tools/allfontsgen \
  --input="${PWD}/core-fonts" \
  --allfonts-web="${PWD}/sdkjs/common/AllFonts.js" \
  --allfonts="${PWD}/server/FileConverter/bin/AllFonts.js" \
  --images="${PWD}/sdkjs/common/Images" \
  --selection="${PWD}/server/FileConverter/bin/font_selection.bin" \
  --output-web='fonts' \
  --use-system="true"
cd /out/linux_64/onlyoffice/documentserver/
LD_LIBRARY_PATH=${PWD}/server/FileConverter/bin server/tools/allthemesgen \
  --converter-dir="${PWD}/server/FileConverter/bin"\
  --src="${PWD}/sdkjs/slide/themes"\
  --output="${PWD}/sdkjs/common/Images"
cd /out/linux_64/onlyoffice/documentserver/server/FileConverter
LD_LIBRARY_PATH=$PWD/bin NODE_ENV=development-linux NODE_CONFIG_DIR=$PWD/../Common/config ./converter &
cd /out/linux_64/onlyoffice/documentserver/server/DocService
NODE_ENV=development-linux NODE_CONFIG_DIR=$PWD/../Common/config ./docservice &
bash

Containers Network:

"Containers": {
            "2e7f1e2c0cc8f2424d737f5bb00950a9a180e6c86b3b9517602d249aff3c4ef1": {
                "Name": "onlyoffice-control-panel",
                "EndpointID": "99a15af547c37008d9dbf0dd27f3348057226d0481741f1085466a12268fea88",
                "MacAddress": "02:42:ac:12:00:04",
                "IPv4Address": "172.18.0.4/16",
                "IPv6Address": ""
            },
            "6e9a7d915761bdeee616804b97bd3deaee89a72efcb6469736c8f25be9ffedf6": {
                "Name": "onlyoffice-document-server",
                "EndpointID": "561a82458b2a4391abac39dd83b9345d99f272ababd50592558021041a5c531a",
                "MacAddress": "02:42:ac:12:00:03",
                "IPv4Address": "172.18.0.3/16",
                "IPv6Address": ""
            },
            "8803980ba614522f1f5055ce7ab8578bdcba49c784392c790dfb4c93dd704ef5": {
                "Name": "onlyoffice-community-server",
                "EndpointID": "34e45c9b236eff26024cbcffae2d83d08844f21d185cb25d9cbc882db3b4cc9b",
                "MacAddress": "02:42:ac:12:00:05",
                "IPv4Address": "172.18.0.5/16",
                "IPv6Address": ""
            },
            "d822fffecb5a64cc5d99b7a94200123c7bc4f03a60765cd7ba41c9e2449328e9": {
                "Name": "onlyoffice-mysql-server",
                "EndpointID": "54efa50051f33299eae6630b919c140e443c47d0b3fa81e6ea569cf4378e40b2",
                "MacAddress": "02:42:ac:12:00:02",
                "IPv4Address": "172.18.0.2/16",
                "IPv6Address": ""
            }
        },
Error: Error response: statusCode:403;
[2022-03-09T03:31:57.312] [INFO] nodeJS - GET /doc/VujTx3vbzA5qU6DGvXX9_sDzrXUoJr6SHYro6uS44Js_/c/info?t=1646796717295 0ms 200
[2022-03-09T03:31:57.332] [INFO] nodeJS - GET /doc/VujTx3vbzA5qU6DGvXX9_sDzrXUoJr6SHYro6uS44Js_/c/964/cflabzrh/websocket 0ms (unfinished)
[2022-03-09T03:31:57.335] [DEBUG] nodeJS - sendData: docId = undefined;type = license
[2022-03-09T03:31:57.349] [INFO] nodeJS - data.type = auth id = undefined
[2022-03-09T03:31:57.353] [DEBUG] nodeJS - getCallbackByUserIndex: docId = VujTx3vbzA5qU6DGvXX9_sDzrXUoJr6SHYro6uS44Js_ userIndex = 1 callbacks = {"userIndex":1,"callback":"http://onlyoffice-community-server:80/Products/Files/HttpHandlers/filehandler.ashx?action=track&fileid=6&stream_auth=384492716883.F9UGF0V3JTTNCPKC7JGLFGZFOMPCXKLURRMI5SQEFO&X-REWRITER-URL=http%3a%2f%2f127.0.0.1%3a80"}
[2022-03-09T03:31:57.353] [DEBUG] nodeJS - postData request: docId = VujTx3vbzA5qU6DGvXX9_sDzrXUoJr6SHYro6uS44Js_;url = http://onlyoffice-community-server:80/Products/Files/HttpHandlers/filehandler.ashx?action=track&fileid=6&stream_auth=384492716883.F9UGF0V3JTTNCPKC7JGLFGZFOMPCXKLURRMI5SQEFO&X-REWRITER-URL=http%3a%2f%2f127.0.0.1%3a80;data = {"key":"VujTx3vbzA5qU6DGvXX9_sDzrXUoJr6SHYro6uS44Js_","status":1,"users":["2a310511-9f54-11ec-b7ad-0242ac120002"],"actions":[{"type":1,"userid":"2a310511-9f54-11ec-b7ad-0242ac120002"}]}
Wind[2022-03-09T03:31:57.363] [ERROR] nodeJS - postData error: docId = VujTx3vbzA5qU6DGvXX9_sDzrXUoJr6SHYro6uS44Js_;url = http://onlyoffice-community-server:80/Products/Files/HttpHandlers/filehandler.ashx?action=track&fileid=6&stream_auth=384492716883.F9UGF0V3JTTNCPKC7JGLFGZFOMPCXKLURRMI5SQEFO&X-REWRITER-URL=http%3a%2f%2f127.0.0.1%3a80;data = {"key":"VujTx3vbzA5qU6DGvXX9_sDzrXUoJr6SHYro6uS44Js_","status":1,"users":["2a310511-9f54-11ec-b7ad-0242ac120002"],"actions":[{"type":1,"userid":"2a310511-9f54-11ec-b7ad-0242ac120002"}]}
Error: Error response: statusCode:403; headers:{"server":"nginx/1.20.2","date":"Wed, 09 Mar 2022 03:31:57 GMT","content-type":"text/html; charset=utf-8","transfer-encoding":"chunked","connection":"keep-alive","x-aspnet-version":"4.0.30319","cache-control":"private","set-cookie":["ASP.NET_SessionId=0CDA6AA9C137157D675B97AB; path=/; HttpOnly"],"content-encoding":"gzip"}; body:
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<style type="text/css">
body { background-color: #FFFFFF; font-size: .75em; font-family: Verdana, Helvetica, Sans-Serif; margin: 0; padding: 0; color: #696969; }
a:link { color: #000000; text-decoration: underline; }
a:visited { color: #000000; }
a:hover { color: #000000; text-decoration: none; }
a:active { color: #12eb87; }
p, ul { margin-bottom: 20px; line-height: 1.6em; }
pre { font-size: 1.2em; margin-left: 20px; margin-top: 0px; }
h1, h2, h3, h4, h5, h6 { font-size: 1.6em; color: #000; font-family: Arial, Helvetica, sans-serif; }
h1 { font-weight: bold; margin-bottom: 0; margin-top: 0; padding-bottom: 0; }
h2 { font-size: 1em; padding: 0 0 0px 0; color: #696969; font-weight: normal; margin-top: 0; margin-bottom: 20px; }
h2.exceptionMessage { white-space: pre; }
h3 { font-size: 1.2em; }
h4 { font-size: 1.1em; }
h5, h6 { font-size: 1em; }
#header { position: relative; margin-bottom: 0px; color: #000; padding: 0; background-color: #5c87b2; height: 38px; padding-left: 10px; }
#header h1 { font-weight: bold; padding: 5px 0; margin: 0; color: #fff; border: none; line-height: 2em; font-family: Arial, Helvetica, sans-serif; font-size: 32px !important; }
#header-image { float: left; padding: 3px; margin-left: 1px; margin-right: 1px; }
#header-text { color: #fff; font-size: 1.4em; line-height: 38px; font-weight: bold; }
#main { padding: 20px 20px 15px 20px; background-color: #fff; _height: 1px; }
#footer { color: ONLYOFFICE/DocumentServer#999; padding: 5px 0; text-align: left; line-height: normal; margin: 20px 0px 0px 0px; font-size: .9em; border-top: solid 1px #5C87B2; }
#footer-powered-by { float: right; }
.details { font-family: monospace; border: solid 1px #e8eef4; white-space: pre; font-size: 1.2em; overflow: auto; padding: 6px; margin-top: 6px; background-color: #eeeeff; color: 555555 }
.details-wrapped { white-space: normal }
.details-header { margin-top: 1.5em }
.details-header a { font-weight: bold; text-decoration: none }
p { margin-bottom: 0.3em; margin-top: 0.1em }
.sourceErrorLine { color: #770000; font-weight: bold; }
</style>
<script type="text/javascript">
        var hideElementsById = new Array ();
        window.onload = function () {
                if (!hideElementsById || hideElementsById.length < 1)
                        return;
                for (index in hideElementsById)
                        toggle (hideElementsById [index]);
        }

        function toggle (divId)
        {
                var e = document.getElementById (divId);
                if (!e)
                        return;
                var h = document.getElementById (divId + "Hint");
                if (e.style.display == "block" || e.style.display == "") {
                        e.style.display = "none";
                        if (h)
                                h.innerHTML = " (click to show)";
                } else {
                        e.style.display = "block";
                        if (h)
                                h.innerHTML = " (click to hide)";
                }
        }
</script>
<title>Runtime Error</title>
</head>
<body>
<div class="page">
<div id="header">
<div id="header-text">Application Exception</div>
</div>
<div id="main">
  <h1>Runtime Error</h1>
  <h2 class="exceptionMessage">A runtime error has occurred</h2>
  <p><strong>Description:</strong> An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed (for security reasons).</p><p><strong>Details:</strong> To enable the details of this specific error message to be viewable, please create a &lt;customErrors&gt; tag within a &quot;web.config&quot; configuration file located in the root directory of the current web application. This &lt;customErrors&gt; tag should then have its &quot;mode&quot; attribute set to &quot;Off&quot;.</p>
<table class="sampleCode"><tr><td><pre>
&lt;!-- Web.Config Configuration File --&gt;

&lt;configuration&gt;
    &lt;system.web&gt;
        &lt;customErrors mode=&quot;Off&quot;/&gt;
    &lt;/system.web&gt;
&lt;/configuration&gt;</pre> </td></tr></table><br/>
<p><strong>Notes:</strong> The current error page you are seeing can be replaced by a custom error page by modifying the &quot;defaultRedirect&quot; attribute of the application's &lt;customErrors&gt; configuration tag to point to a custom error page URL.</p>
<table class="sampleCode"><tr><td><pre>
&lt;!-- Web.Config Configuration File --&gt;

&lt;configuration&gt;
    &lt;system.web&gt;
        &lt;customErrors mode=&quot;RemoteOnly&quot; defaultRedirect=&quot;mycustompage.htm&quot;/&gt;
    &lt;/system.web&gt;
&lt;/configuration&gt;</pre></td></tr></table>
<div id="footer">
  <div style="color:Black;"><strong>Version Information:</strong> <tt>6.8.0.123 (tarball Tue May 12 15:11:57 UTC 2020)</tt>; ASP.NET Version: <tt>4.0.30319.42000</tt></div>
  <div id="footer-powered-by">Powered by <a href="http://mono-project.com/">Mono</a></div>
</div>
</div>
</div>
</body>
</html>

    at Request._callback (/snapshot/server/build/server/Common/sources/utils.js)
    at Request.callback (/snapshot/server/build/server/Common/node_modules/request/request.js:185:22)
    at Request.emit (events.js:400:28)
    at Request.<anonymous> (/snapshot/server/build/server/Common/node_modules/request/request.js:1154:10)
    at Request.emit (events.js:400:28)
    at Gunzip.<anonymous> (/snapshot/server/build/server/Common/node_modules/request/request.js:1076:12)
    at Object.onceWrapper (events.js:519:28)
    at Gunzip.emit (events.js:400:28)
    at endReadableNT (internal/streams/readable.js:1334:12)
    at processTicksAndRejections (internal/process/task_queues.js:82:21)
[2022-03-09T03:31:57.366] [DEBUG] nodeJS - sendData: docId = VujTx3vbzA5qU6DGvXX9_sDzrXUoJr6SHYro6uS44Js_;type = auth
[2022-03-09T03:31:57.366] [DEBUG] nodeJS - Start command: docId = VujTx3vbzA5qU6DGvXX9_sDzrXUoJr6SHYro6uS44Js_ {"withAuthorization":true,"wopiParams":null,"c":"open","id":"VujTx3vbzA5qU6DGvXX9_sDzrXUoJr6SHYro6uS44Js_","userid":"2a310511-9f54-11ec-b7ad-0242ac120002","format":"oform","url":"http://onlyoffice-community-server:80/Products/Files/HttpHandlers/filehandler.ashx?action=stream&fileid=6&stream_auth=384492716888.ZJXP7GCOE6EHZYT44BESLI6J4SAG1GC7GCHL74JR5Y&X-REWRITER-URL=http%3a%2f%2f127.0.0.1%3a80","title":"ONLYOFFICE Sample Form.oform","nobase64":true}
[2022-03-09T03:31:57.367] [DEBUG] nodeJS - pubsub message start:{"type":8,"docId":"VujTx3vbzA5qU6DGvXX9_sDzrXUoJr6SHYro6uS44Js_","description":"Error on save server subscription!"}
[2022-03-09T03:31:57.367] [DEBUG] nodeJS - sendData: docId = VujTx3vbzA5qU6DGvXX9_sDzrXUoJr6SHYro6uS44Js_;type = warning
[2022-03-09T03:31:57.370] [DEBUG] nodeJS - Start Task(id=VujTx3vbzA5qU6DGvXX9_sDzrXUoJr6SHYro6uS44Js_)
[2022-03-09T03:31:57.371] [DEBUG] nodeJS - End command: docId = VujTx3vbzA5qU6DGvXX9_sDzrXUoJr6SHYro6uS44Js_
[2022-03-09T03:31:57.381] [ERROR] nodeJS - error downloadFile:url=http://onlyoffice-community-server:80/Products/Files/HttpHandlers/filehandler.ashx?action=stream&fileid=6&stream_auth=384492716888.ZJXP7GCOE6EHZYT44BESLI6J4SAG1GC7GCHL74JR5Y&X-REWRITER-URL=http%3a%2f%2f127.0.0.1%3a80;attempt=1;code:null;connect:null;(id=VujTx3vbzA5qU6DGvXX9_sDzrXUoJr6SHYro6uS44Js_)
Error: Error response: statusCode:403; headers:{"server":"nginx/1.20.2","date":"Wed, 09 Mar 2022 03:31:57 GMT","content-type":"text/html; charset=utf-8","content-length":"30","connection":"keep-alive","x-aspnet-version":"4.0.30319","cache-control":"private","set-cookie":["ASP.NET_SessionId=1AABC69A19AA577324258483; path=/; HttpOnly"]};
    at Request.fResponse (/snapshot/server/build/server/Common/sources/utils.js)
    at Request.emit (events.js:400:28)
    at Request.onRequestResponse (/snapshot/server/build/server/Common/node_modules/request/request.js:1059:10)
    at ClientRequest.emit (events.js:400:28)
    at HTTPParser.parserOnIncomingClient (_http_client.js:647:27)
    at HTTPParser.parserOnHeadersComplete (_http_common.js:127:17)
    at Socket.socketOnData (_http_client.js:515:22)
    at Socket.emit (events.js:400:28)
    at addChunk (internal/streams/readable.js:293:12)
    at readableAddChunk (internal/streams/readable.js:267:9)
    at Socket.Readable.push (internal/streams/readable.js:206:10)
    at TCP.onStreamRead (internal/stream_base_commons.js:188:23)
[2022-03-09T03:31:58.388] [ERROR] nodeJS - error downloadFile:url=http://onlyoffice-community-server:80/Products/Files/HttpHandlers/filehandler.ashx?action=stream&fileid=6&stream_auth=384492716888.ZJXP7GCOE6EHZYT44BESLI6J4SAG1GC7GCHL74JR5Y&X-REWRITER-URL=http%3a%2f%2f127.0.0.1%3a80;attempt=2;code:null;connect:null;(id=VujTx3vbzA5qU6DGvXX9_sDzrXUoJr6SHYro6uS44Js_)
Error: Error response: statusCode:403; headers:{"server":"nginx/1.20.2","date":"Wed, 09 Mar 2022 03:31:58 GMT","content-type":"text/html; charset=utf-8","content-length":"30","connection":"keep-alive","x-aspnet-version":"4.0.30319","cache-control":"private","set-cookie":["ASP.NET_SessionId=ED5E98759AD4561FE8E8D52B; path=/; HttpOnly"]};
    at Request.fResponse (/snapshot/server/build/server/Common/sources/utils.js)
    at Request.emit (events.js:400:28)
    at Request.onRequestResponse (/snapshot/server/build/server/Common/node_modules/request/request.js:1059:10)
    at ClientRequest.emit (events.js:400:28)
    at HTTPParser.parserOnIncomingClient (_http_client.js:647:27)
    at HTTPParser.parserOnHeadersComplete (_http_common.js:127:17)
    at Socket.socketOnData (_http_client.js:515:22)
    at Socket.emit (events.js:400:28)
    at addChunk (internal/streams/readable.js:293:12)
    at readableAddChunk (internal/streams/readable.js:267:9)
    at Socket.Readable.push (internal/streams/readable.js:206:10)
    at TCP.onStreamRead (internal/stream_base_commons.js:188:23)
[2022-03-09T03:31:59.396] [ERROR] nodeJS - error downloadFile:url=http://onlyoffice-community-server:80/Products/Files/HttpHandlers/filehandler.ashx?action=stream&fileid=6&stream_auth=384492716888.ZJXP7GCOE6EHZYT44BESLI6J4SAG1GC7GCHL74JR5Y&X-REWRITER-URL=http%3a%2f%2f127.0.0.1%3a80;attempt=3;code:null;connect:null;(id=VujTx3vbzA5qU6DGvXX9_sDzrXUoJr6SHYro6uS44Js_)
Error: Error response: statusCode:403; headers:{"server":"nginx/1.20.2","date":"Wed, 09 Mar 2022 03:31:59 GMT","content-type":"text/html; charset=utf-8","content-length":"30","connection":"keep-alive","x-aspnet-version":"4.0.30319","cache-control":"private","set-cookie":["ASP.NET_SessionId=6C9953550CB2C9F7A447F570; path=/; HttpOnly"]};
    at Request.fResponse (/snapshot/server/build/server/Common/sources/utils.js)
    at Request.emit (events.js:400:28)
    at Request.onRequestResponse (/snapshot/server/build/server/Common/node_modules/request/request.js:1059:10)
    at ClientRequest.emit (events.js:400:28)
    at HTTPParser.parserOnIncomingClient (_http_client.js:647:27)
    at HTTPParser.parserOnHeadersComplete (_http_common.js:127:17)
    at Socket.socketOnData (_http_client.js:515:22)
    at Socket.emit (events.js:400:28)
    at addChunk (internal/streams/readable.js:293:12)
    at readableAddChunk (internal/streams/readable.js:267:9)
    at Socket.Readable.push (internal/streams/readable.js:206:10)
    at TCP.onStreamRead (internal/stream_base_commons.js:188:23)
[2022-03-09T03:32:00.397] [DEBUG] nodeJS - ExitCode (code=0;signal=null;error:-81;id=VujTx3vbzA5qU6DGvXX9_sDzrXUoJr6SHYro6uS44Js_)
[2022-03-09T03:32:00.398] [DEBUG] nodeJS - output (data={"cmd":{"withAuthorization":true,"wopiParams":null,"c":"open","id":"VujTx3vbzA5qU6DGvXX9_sDzrXUoJr6SHYro6uS44Js_","userid":"2a310511-9f54-11ec-b7ad-0242ac120002","format":"oform","url":"http://onlyoffice-community-server:80/Products/Files/HttpHandlers/filehandler.ashx?action=stream&fileid=6&stream_auth=384492716888.ZJXP7GCOE6EHZYT44BESLI6J4SAG1GC7GCHL74JR5Y&X-REWRITER-URL=http%3a%2f%2f127.0.0.1%3a80","title":"ONLYOFFICE Sample Form.oform","outputformat":8192,"outputpath":"Editor.bin","embeddedfonts":false,"status_info":-81,"nobase64":true}};id=VujTx3vbzA5qU6DGvXX9_sDzrXUoJr6SHYro6uS44Js_)
[2022-03-09T03:32:00.398] [DEBUG] nodeJS - postProcess (id=VujTx3vbzA5qU6DGvXX9_sDzrXUoJr6SHYro6uS44Js_)
[2022-03-09T03:32:00.398] [DEBUG] nodeJS - deleteFolderRecursive (id=VujTx3vbzA5qU6DGvXX9_sDzrXUoJr6SHYro6uS44Js_)
[2022-03-09T03:32:00.401] [DEBUG] nodeJS - Start receiveTask: docId = VujTx3vbzA5qU6DGvXX9_sDzrXUoJr6SHYro6uS44Js_ {"cmd":{"withAuthorization":true,"wopiParams":null,"c":"open","id":"VujTx3vbzA5qU6DGvXX9_sDzrXUoJr6SHYro6uS44Js_","userid":"2a310511-9f54-11ec-b7ad-0242ac120002","format":"oform","url":"http://onlyoffice-community-server:80/Products/Files/HttpHandlers/filehandler.ashx?action=stream&fileid=6&stream_auth=384492716888.ZJXP7GCOE6EHZYT44BESLI6J4SAG1GC7GCHL74JR5Y&X-REWRITER-URL=http%3a%2f%2f127.0.0.1%3a80","title":"ONLYOFFICE Sample Form.oform","outputformat":8192,"outputpath":"Editor.bin","embeddedfonts":false,"status_info":-81,"nobase64":true}}
[2022-03-09T03:32:00.403] [DEBUG] nodeJS - getCallbackByUserIndex: docId = VujTx3vbzA5qU6DGvXX9_sDzrXUoJr6SHYro6uS44Js_ userIndex = undefined callbacks = {"userIndex":1,"callback":"http://onlyoffice-community-server:80/Products/Files/HttpHandlers/filehandler.ashx?action=track&fileid=6&stream_auth=384492716883.F9UGF0V3JTTNCPKC7JGLFGZFOMPCXKLURRMI5SQEFO&X-REWRITER-URL=http%3a%2f%2f127.0.0.1%3a80"}
[2022-03-09T03:32:00.404] [DEBUG] nodeJS - Send receiveTask: docId = VujTx3vbzA5qU6DGvXX9_sDzrXUoJr6SHYro6uS44Js_ {"type":"open","status":"err","data":-81}
[2022-03-09T03:32:00.405] [DEBUG] nodeJS - End receiveTask: docId = VujTx3vbzA5qU6DGvXX9_sDzrXUoJr6SHYro6uS44Js_
Wind[2022-03-09T03:32:00.405] [DEBUG] nodeJS - pubsub message start:{"type":7,"cmd":{"withAuthorization":true,"wopiParams":null,"c":"open","id":"VujTx3vbzA5qU6DGvXX9_sDzrXUoJr6SHYro6uS44Js_","userid":"2a310511-9f54-11ec-b7ad-0242ac120002","format":"oform","url":"http://onlyoffice-community-server:80/Products/Files/HttpHandlers/filehandler.ashx?action=stream&fileid=6&stream_auth=384492716888.ZJXP7GCOE6EHZYT44BESLI6J4SAG1GC7GCHL74JR5Y&X-REWRITER-URL=http%3a%2f%2f127.0.0.1%3a80","title":"ONLYOFFICE Sample Form.oform","outputformat":8192,"outputpath":"Editor.bin","embeddedfonts":false,"status_info":-81,"nobase64":true},"output":{"type":"documentOpen","data":{"type":"open","status":"err","data":-81}},"needUrlKey":null,"needUrlMethod":null,"needUrlType":null}
[2022-03-09T03:32:00.406] [DEBUG] nodeJS - sendData: docId = VujTx3vbzA5qU6DGvXX9_sDzrXUoJr6SHYro6uS44Js_;type = documentOpen

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:8 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
Carazydacommented, Mar 10, 2022

You need to configure the JWT. For that you need setting up the secret and secret header inside documentserver container at /etc/onlyoffice/documentserver/local.json and restart all services supervisorctl restart all. Secret and header you can find in communityserver container in /var/www/onlyoffice/WebStudio/web.appsettings.config. More information you can find in this instruction.

0reactions
darkhandzcommented, Mar 11, 2022

@ShockwaveNN @Carazyda Thanks for your help. 😁

Read more comments on GitHub >

github_iconTop Results From Across the Web

403 Forbidden Error: What Is It & How To Fix It
The HTTP status code '403 forbidden — you don't have permission to access this resource' is displayed when a web server recognizes a...
Read more >
HTTP 403
HTTP 403 is an HTTP status code meaning access to the requested resource is forbidden. The server understood the request, but will not...
Read more >
HTTP Error 403 Forbidden: What It Means and How to Fix It
The 403 (Forbidden) status code indicates that the server understood the request but refuses to authorize it...If authentication credentials ...
Read more >
How do I troubleshoot HTTP 403 errors from API Gateway?
Issue Response header Error messa... Authentication token expired "x‑amzn‑errortype" = "InvalidSignatureException" "Signature e... API key isn't valid "x‑amzn‑errortype" = "ForbiddenException" "Invalid API... AWS WAF filtered "x‑amzn‑errortype"...
Read more >
What Is a 403 Forbidden Error (and How Can I Fix It)?
A 403 Forbidden Error occurs when you do not have permission to access a web page or something else on a web server....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found