logicexpertise / moodle-mod_onlyoffice

Moodle ONLYOFFICE Document Server online editor integration
7 stars 12 forks source link

Warning and error #13

Closed Cbarneron1 closed 2 years ago

Cbarneron1 commented 2 years ago

Hi @logicexpertise ,i have installed this onlyoffice plugin on my moodle server(v3.11.5) but we have a warning and a error when we use this plugin.And 0 log for see the error. My onlyoffice server is a v6.4. Could you provide a solution to our problem, I attach the capture of the warning and the error. Thanks
error warning

logicexpertise commented 2 years ago

@Cbarneron1 are you using a document server secret in your plugin settings?

If you are not using a secret, the values of services.CoAuthoring.secret.inbox.string and services.CoAuthoring.secret.outbox.string in the Document server should be set to empty strings, and the token.enable.* should be set to false. Refer to Refer to this page - https://api.onlyoffice.com/editors/signature/ for instructions on how to set those values.

If you are using a secret, ensure that the above values are set to the same as the document server secret set in the plugin, and the token.enable.* values are set to true.

Cbarneron1 commented 2 years ago

@logicexpertise We made the changes as in the doc, but we still have the same problems. I am attaching the logs observed on our servers .Could you provide a solution to our problem. Thanks

moodle_onlyoffice.1.log

logicexpertise commented 2 years ago

@Cbarneron1 I see a couple of 404 errors in your Apache error logs. Can you check that your Moodle site is not blocking inbound traffic on port 443.

UPDATE I can confirm that plugin works with Moodle 3.11.4+ and Documentserver 6.4.

logicexpertise commented 2 years ago

@Cbarneron1 Check that your Moodle site is not using a self-signed certificate.

Cbarneron1 commented 2 years ago

@logicexpertise we don't use a self signed certificate , and all port at open

logicexpertise commented 2 years ago

@Cbarneron1 Confirm that you've downloaded and installed the latest version of the plugin - https://github.com/logicexpertise/moodle-mod_onlyoffice/releases/tag/v3.10.8

Given I have tested this and it works with OnlyOffice 6.4, I don't believe the issue you're having is caused by a bug in the plugin. However let me know if you do find a bug and I'll try to fix it asap.

Cbarneron1 commented 2 years ago

hey @logicexpertise , We have check and seeing the problem. The problem comes from our configuration . We have correct them , we can close this issue. Thanks for the help and the support.