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

Do conversions on remote host with LibreOffice directly (not with LibreOffice online, not through spring boot) #195

Closed
diMANiac opened this issue Mar 5, 2020 · 3 comments
Assignees

Comments

@diMANiac
Copy link

diMANiac commented Mar 5, 2020

So, the issue is to have the functionality to connect to LibreOffice, which is launched on remote host. Not to LibreOffice Online and not passing documents through spring-boot application on that remote host which will manage "local" office.

Some say, that uno library allows that.

There's hardcoded "host=127.0.0.1" in org.jodconverter.office.OfficeUrl#socket, so, theoretically, we could pass host as a parameter to ExternalOfficeManager and somehow connect to remote office and do conversions with it?

@sbraconnier sbraconnier self-assigned this Mar 5, 2020
@DmitryMishchuk
Copy link

Guess my issue should also go here:
Trying to connect to dockerized LibreOffice to convert some xlsx to pdf is a failure. The connection simply hangs and gets disconnected due to timeout, where as if I go and trigger container with direct office command it works as expected outputting a transformed document.

@sbraconnier
Copy link
Member

@DmitryMishchuk May I ask if the docker file is public or if not, is it possible for you to share it??

@sbraconnier
Copy link
Member

It will be possible in the next release, thanks to PR #241

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

No branches or pull requests

3 participants