DeepL Integration removes test to be translated

@darshan You did not give me time to respond and closed my topic here:

Also, messages are turned off (for me), so I am forced to open a new topic.

Can you please verify the custom Nginx settings you’re using? There might be an issue with the response you’re getting.

I have two subdomains, one for Nextcloud and the other for Collabora. e.g. cloud.my.domain and office.my.domain. For the office domain, everything is “wide open” meaning there are no nginx specific limits such as Content-Security-Policy or Permissions-Policy. There are, however, such limits in the cloud domain.

Do I need to add the https://api-free.deepl.com into my cloud nginx config?

Also, check the response code and review the values received at the API end to ensure they match the expected text for translation.

When I check the DeepL website for how many words I’ve translated, it reads 0. Which would lead me to the conclusion that the call isn’t being made to their servers. I went ahead and manually ran the API just to make sure it “works” in Postman and it indeed made the call and returned text.

Where can I go to see the POST calls to DeepL in Collabora?

Here is a screenshot of the “console” window:

Debug log of Collabora from clicking on “German”.

Debug Log
kit-00039-00039 2025-01-23 12:06:57.369551 -0600 [ kitbroker_002 ] DBG  #16: child_ws: recv [child-004 uno .uno:Translate | kit/KitWebSocket.cpp:49
kit-00039-00039 2025-01-23 12:06:58.163659 -0600 [ kitbroker_002 ] DBG  #16: child_ws: recv [child-004 mouse type=move x=8955 y=6150 count=1 buttons=0 modifier=0 | kit/KitWebSocket.cpp:49
kit-00039-00039 2025-01-23 12:06:59.505053 -0600 [ kitbroker_002 ] DBG  #16: child_ws: recv [child-004 dialogevent 3 {"id":"combobox1", "cmd": "selected", "data": "3;German", "type": "combobox"} | kit/KitWebSocket.cpp:49
wsd-00001-00064 2025-01-23 12:07:01.027316 -0600 [ docbroker_002 ] DBG  Modified state set to true for Doc [002]| wsd/DocumentBroker.cpp:4168
wsd-00001-00064 2025-01-23 12:07:01.027371 -0600 [ docbroker_002 ] DBG  Subscribing ToClient-004 to tile (1000,0,0,0,0) ver=41 which has no subscribers  nviewid=1000 part=0 width=256 height=256 tileposx=0 tileposy=0 tilewidth=3840 tileheight=3840 oldwid=1 ver=41| wsd/TileCache.cpp:467
wsd-00001-00064 2025-01-23 12:07:01.027379 -0600 [ docbroker_002 ] DBG  Subscribing ToClient-004 to tile (1000,0,0,3840,0) ver=42 which has no subscribers  nviewid=1000 part=0 width=256 height=256 tileposx=3840 tileposy=0 tilewidth=3840 tileheight=3840 oldwid=1 ver=42| wsd/TileCache.cpp:467
wsd-00001-00064 2025-01-23 12:07:01.027383 -0600 [ docbroker_002 ] DBG  Subscribing ToClient-004 to tile (1000,0,0,7680,0) ver=43 which has no subscribers  nviewid=1000 part=0 width=256 height=256 tileposx=7680 tileposy=0 tilewidth=3840 tileheight=3840 oldwid=1 ver=43| wsd/TileCache.cpp:467
wsd-00001-00064 2025-01-23 12:07:01.027401 -0600 [ docbroker_002 ] DBG  Subscribing ToClient-004 to tile (1000,0,0,11520,0) ver=44 which has no subscribers  nviewid=1000 part=0 width=256 height=256 tileposx=11520 tileposy=0 tilewidth=3840 tileheight=3840 oldwid=1 ver=44| wsd/TileCache.cpp:467
kit-00039-00039 2025-01-23 12:07:00.132795 -0600 [ kitbroker_002 ] DBG  #16: child_ws: recv [child-004 mouse type=move x=7275 y=8730 count=1 buttons=0 modifier=0 | kit/KitWebSocket.cpp:49
kit-00039-00039 2025-01-23 12:07:00.488285 -0600 [ kitbroker_002 ] DBG  #16: child_ws: recv [child-004 dialogevent 3 {"id":"translate", "cmd": "click", "data": "1", "type": "responsebutton"} | kit/KitWebSocket.cpp:49
kit-00039-00039 2025-01-23 12:07:01.027427 -0600 [ kitbroker_002 ] DBG  #16: child_ws: recv [tilecombine nviewid=1000 part=0 width=256 height=256 tileposx=0,3840,7680,11520 tileposy=0,0,0,0 tilewidth=3840 tileheight=3840 ver=41,42,43,44 oldwid=1,1,1,1 | kit/KitWebSocket.cpp:49
wsd-00001-00064 2025-01-23 12:07:01.028259 -0600 [ docbroker_002 ] DBG  Handling tile combined: tilecombine: nviewid=1000 part=0 width=256 height=256 tileposx=0,3840,7680,11520 tileposy=0,0,0,0 imgsize=15,15,1,1 tilewidth=3840 tileheight=3840 ver=41,42,43,44 oldwid=1,1,1,1 wid=41,42,43,44| wsd/DocumentBroker.cpp:4093
wsd-00001-00064 2025-01-23 12:07:01.028298 -0600 [ docbroker_002 ] DBG  STATISTICS: tile 41 internal roundtrip 0ms| wsd/TileCache.cpp:222
wsd-00001-00064 2025-01-23 12:07:01.028307 -0600 [ docbroker_002 ] DBG  STATISTICS: tile 42 internal roundtrip 0ms| wsd/TileCache.cpp:222
wsd-00001-00064 2025-01-23 12:07:01.028314 -0600 [ docbroker_002 ] DBG  STATISTICS: tile 43 internal roundtrip 0ms| wsd/TileCache.cpp:222
wsd-00001-00064 2025-01-23 12:07:01.028336 -0600 [ docbroker_002 ] DBG  STATISTICS: tile 44 internal roundtrip 0ms| wsd/TileCache.cpp:222
kit-00039-00039 2025-01-23 12:07:01.028018 -0600 [ kitbroker_002 ] DBG  paintPartTile      4 tiles at (0, 0), (15360, 3840)  took 241us (1087.73 MP/s).| common/RenderTiles.hpp:131
kit-00039-00039 2025-01-23 12:07:01.028179 -0600 [ kitbroker_002 ] DBG  paintPartTile+comp 4 tiles at (0, 0), (15360, 3840)  took 402us (652.1 MP/s).| common/RenderTiles.hpp:231
kit-00039-00039 2025-01-23 12:07:02.070905 -0600 [ kitbroker_002 ] DBG  #16: child_ws: recv [child-004 mouse type=move x=7575 y=8370 count=1 buttons=0 modifier=0 | kit/KitWebSocket.cpp:49
kit-00039-00039 2025-01-23 12:07:03.165019 -0600 [ kitbroker_002 ] DBG  #16: child_ws: recv [child-004 mouse type=move x=-720 y=13110 count=1 buttons=0 modifier=0 | kit/KitWebSocket.cpp:49
kit-00039-00039 2025-01-23 12:07:03.854800 -0600 [ kitbroker_002 ] DBG  #16: child_ws: recv [child-004 mouse type=move x=-3240 y=13860 count=1 buttons=0 modifier=0 | kit/KitWebSocket.cpp:49
kit-00039-00039 2025-01-23 12:07:04.686051 -0600 [ kitbroker_002 ] DBG  #16: child_ws: recv [child-004 mouse type=move x=23310 y=-1170 count=1 buttons=0 modifier=0 | kit/KitWebSocket.cpp:49
kit-00039-00039 2025-01-23 12:07:06.921333 -0600 [ kitbroker_002 ] DBG  #16: child_ws: recv [child-004 mouse type=move x=8025 y=6375 count=1 buttons=0 modifier=0 | kit/KitWebSocket.cpp:49
kit-00039-00039 2025-01-23 12:07:13.111497 -0600 [ kitbroker_002 ] DBG  #16: child_ws: recv [child-004 mouse type=move x=-6870 y=-1020 count=1 buttons=0 modifier=0 | kit/KitWebSocket.cpp:49
wsd-00001-00033 2025-01-23 12:07:20.514182 -0600 [ websrv_poll ] DBG  #31: SSL error (read): ZERO_RETURN (6), rc: 0, errno: 0 (0: Success): BIO error: 0: error:00000000:lib(0)::reason(0):| net/SslSocket.hpp:384
wsd-00001-00033 2025-01-23 12:07:20.514250 -0600 [ websrv_poll ] DBG  #31: Closed after reading| net/Socket.hpp:1509
wsd-00001-00033 2025-01-23 12:07:20.514267 -0600 [ websrv_poll ] DBG  #31: SslStreamSocket::closeConnection() #31| net/SslSocket.hpp:136
wsd-00001-00033 2025-01-23 12:07:20.514566 -0600 [ websrv_poll ] DBG  #-31: Closed socket Socket[#-31, IPv4 @ :0]| net/Socket.hpp:166

DeepL Integration removes text to be translated - #2 by darshan

@iamdoubz I sincerely apologize, as I didn’t intend for this to happen. It’s actually the default setting that prevents users from sending messages after a topic is closed.

Let’s continue on that thread i am reopening it…

Thanks
Darshan