zrrrzzt / docker-unoconv-webservice

Dockerfile to run unoconv as a webservice
MIT License
96 stars 35 forks source link

Unable to connect or start listener #28

Open superipey opened 2 years ago

superipey commented 2 years ago

Helo, I got this error after the server is active for a long time:

Error: unoconv: RuntimeException during update-links phase:
Office probably died. illegal object given!
Traceback (most recent call last):
  File "/usr/bin/unoconv", line 1278, in <module>
    die(exitcode)
  File "/usr/bin/unoconv", line 1131, in die
    if convertor.desktop.getCurrentFrame():
uno.DisposedException: Binary URP bridge already disposed

    at ChildProcess.<anonymous> (/unoconvservice/node_modules/unoconv2/index.js:58:29)
    at ChildProcess.emit (events.js:198:13)
    at ChildProcess.EventEmitter.emit (domain.js:466:23)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
/unoconvservice/uploads/f2151f46-a103-455b-a7aa-28b4e4bdb567.file deleted
Error: Failed to connect to /usr/lib/libreoffice/program/soffice.bin (pid=19827) in 6 seconds.
Connector : couldn't connect to socket (Connection refused)
Error: Unable to connect or start own listener. Aborting.

    at ChildProcess.<anonymous> (/unoconvservice/node_modules/unoconv2/index.js:58:29)
    at ChildProcess.emit (events.js:198:13)
    at ChildProcess.EventEmitter.emit (domain.js:466:23)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)