Iâm using Docker version trying to validate OnlyOffice. And it basically works.
When I start OnlyOffice from NC and look at the console log of the web browser, wss error always occurs when OnlyOffice starts.
WebSocket connection to âwss://onlyoffice.MYSERVER/5.4.1-39//doc/AAA/BBB/CCC/DDD/websocketâ failed: Error during WebSocket handshake: Unexpected response code: 400
AAA, BBB, and CCC above are usually random serial numbers. DDD is 4z3ysqvp or SpellCheck.
Iâm looking for this cause, but I donât know anymore.
I can connect to http://onlyoffice.myserver and https://onlyoffice.myserver with a web browser. However, I canât connect with an IP address. https://IP-ADDRESS:443
Is it natural that I canât connect to SSL with an IP address because I havenât obtained a certificate? I create a self-certification in Docker.
What is the cause of the connection error in wss?
I also checked the post below.
Iâm different from that person and the 503 Bad Error does not occur.
curl https://onlyoffice.yourdomain.tld/welcomecurl https://onlyoffice.yourdomain.tld/healthcheck
The curl command in the above post does not generate an error.
1 reslult:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Redirecting</title>
</head>
<body>
<pre>Redirecting to <a href="/welcome/">/welcome/</a></pre>
</body>
2 result:
true
I have also inserted the following into config.php of Nextcloud:
âonlyofficeâ =>
array (
âverify_peer_offâ => TRUE,
),
How can I solve the WSS error?
The reason Iâm considering OnlyOffice is because Collabora canât input Japanese on a smartphone. This gets worse every time Collabora is updated. OnlyOffice canât be used with the mobile Nextcloud application, so I would like to expect Collabora.
Nextcloud 17.0.1, CentOS 7.7, Docker 19.03.4, OnlyOffice app 3.0.2