Websoft9 / docker-library

Docker Compose examples of selfhosted FOSS based on official image, just run it.
https://www.websoft9.com
Other
31 stars 14 forks source link

Starting example, unable to use editor normally [Onlyoffice Docs] #548

Closed laozhou0731 closed 6 months ago

laozhou0731 commented 6 months ago

After setting up self signature, starting example, unable to use editor normally

image

image

logs

[2023-12-29T01:24:02.297] [ERROR] [localhost] [119.28.188.16new__2_.docx1703813039645] [uid-1] nodeJS - postData error: url = https://47.76.56.218/example/track?filename=new%20(2).docx&useraddress=119.28.188.16;data = {"key":"119.28.188.16new__2_.docx1703813039645","status":1,"users":["uid-1"],"actions":[{"type":1,"userid":"uid-1"}],"token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJrZXkiOiIxMTkuMjguMTg4LjE2bmV3X18yXy5kb2N4MTcwMzgxMzAzOTY0NSIsInN0YXR1cyI6MSwidXNlcnMiOlsidWlkLTEiXSwiYWN0aW9ucyI6W3sidHlwZSI6MSwidXNlcmlkIjoidWlkLTEifV0sImlhdCI6MTcwMzgxMzA0MiwiZXhwIjoxNzAzODEzMzQyfQ.N0mOdSvhXzPNFQ4AESAVfR-_gGqm6Vy3nrVoinuZdoc"} Error: self signed certificate
    at TLSSocket.onConnectSecure (_tls_wrap.js:1515:34)
    at TLSSocket.emit (events.js:400:28)
    at TLSSocket._finishInit (_tls_wrap.js:937:8)
    at TLSWrap.ssl.onhandshakedone (_tls_wrap.js:709:12)
chendelin1982 commented 6 months ago

Have test it, work well. http or https?

laozhou0731 commented 6 months ago

Using HTTPS

laozhou0731 commented 6 months ago

Official solution: 1.Modify the container configuration file "/etc/onlyoffice/documentserver/default. json" and change the value of the "rejectUnauthorized" parameter to "false".

  1. Save the changes and execute "supervisor ctl restart all"