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

Make 127.0.0.1 in socket connection configurable #242

Merged
merged 3 commits into from
Jan 13, 2021

Conversation

nikowitt
Copy link
Contributor

@nikowitt nikowitt commented Dec 21, 2020

Pull request fo fix #241.

sbraconnier added a commit that referenced this pull request Jan 13, 2021
@sbraconnier sbraconnier merged commit dbdfcb7 into jodconverter:master Jan 13, 2021
@sbraconnier
Copy link
Member

Sorry for the delay and thanks for your contribution!

@nikowitt
Copy link
Contributor Author

Great, thank you very much! As I really like to switch back to the master releases, do you know when you will create a new release?

@sbraconnier
Copy link
Member

It will be within the next 2 weeks.

@nikowitt
Copy link
Contributor Author

Nice, thank you :)

@chenbihao
Copy link

拉取请求修复 #241

I wonder if you could help me with this?
#260

I use my computer(win10), wanna connect the remote openOffice(vm ubuntu docker container)

 manager = LocalOfficeManager.builder().install()
                .portNumbers(8100)
                .hostName("192.168.86.128")
                .taskExecutionTimeout(5 * 60 * 1000L)
                .taskQueueTimeout(1000 * 1000 * 60 * 24L)
                .maxTasksPerProcess(20)
                .build();

but it error:

org.jodconverter.core.office.OfficeException: Could not open document: tempfile_0.xlsx
	at org.jodconverter.local.task.AbstractLocalOfficeTask.loadDocument(AbstractLocalOfficeTask.java:126) ~[jodconverter-local-4.4.2.jar:4.4.2]
	at org.jodconverter.local.task.LocalConversionTask.execute(LocalConversionTask.java:117) ~[jodconverter-local-4.4.2.jar:4.4.2]
	at org.jodconverter.local.office.LocalOfficeManagerPoolEntry.doExecute(LocalOfficeManagerPoolEntry.java:120) [jodconverter-local-4.4.2.jar:4.4.2]
	at org.jodconverter.core.office.AbstractOfficeManagerPoolEntry.lambda$execute$0(AbstractOfficeManagerPoolEntry.java:80) [jodconverter-core-4.4.2.jar:4.4.2]
	at java.util.concurrent.FutureTask.run$$$capture(FutureTask.java:266) ~[na:1.8.0_191]
	at java.util.concurrent.FutureTask.run(FutureTask.java) ~[na:1.8.0_191]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[na:1.8.0_191]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[na:1.8.0_191]
	at java.lang.Thread.run(Thread.java:748) ~[na:1.8.0_191]
Caused by: com.sun.star.lang.IllegalArgumentException: URL seems to be an unsupported one.

I needs a little help. QAQ

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.

ExternalOfficeManager always connects sockets to 127.0.0.1
3 participants