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

Add fix for custom ports #753

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

Fmstrat
Copy link

@Fmstrat Fmstrat commented Jan 20, 2023

Currently if you have a setup like this in Nextcloud and OnlyOffice (such as with Docker):

ONLYOFFICE Docs address: https://onlyoffice.mydomain.com:1111/
ONLYOFFICE Docs address for internal requests from the server: http://onlyoffice/
Server address for internal requests from ONLYOFFICE Docs: http://nextcloud/

You cannot save documents. This is because OnlyOffice sends a request to Nextcloud with a JSON body that contains https://onlyoffice.mydomain.com/ instead of https://onlyoffice.mydomain.com:1111/. This might be why there are a number of reports out there of the cannot save files still floating around.

I'm not sure if this is the best way to fix this, but basically this forces a replacement on the URL without a port to cover off on the scenario.

@CLAassistant
Copy link

CLAassistant commented Jan 20, 2023

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants