# CODE connecting 0%: cannot connect to ods-document / stops working

**URL:** https://forum.collaboraonline.com/t/code-connecting-0-cannot-connect-to-ods-document-stops-working/468
**Category:** Calc
**Created:** [July 16, 2021, 12:29pm UTC](https://forum.collaboraonline.com/t/code-connecting-0-cannot-connect-to-ods-document-stops-working/468 "2021-07-16T12:29:12Z")
**Posts on this page:** 12
**Page:** 1

<div class="post-metadata">

### Author: ![MVZ-LRA](https://avatars.discourse-cdn.com/v4/letter/m/f4b2a3/32.png) [@MVZ-LRA](https://forum.collaboraonline.com/u/MVZ-LRA)
#### Post date: [July 16, 2021, 12:29pm UTC](https://forum.collaboraonline.com/t/code-connecting-0-cannot-connect-to-ods-document-stops-working/468/1 "2021-07-16T12:29:12Z")

</div>

Since having upgraded to the latest code version 6.4.10 on ubuntu/nextcloud with LAMP-stack / nextcloud app, sometime a document cannot be worked on any more.  
The can be resolved by either restarting nextcloud or by

1. downloading the file
2. rename the original file in nextcloud
3. upload the downloaded file (using the original name) to nextcloud

Accessing the uploades file will work. Accessing the renamed file does not work.

 ![SnipImage](https://europe1.discourse-cdn.com/flex013/uploads/collaboraonline/original/1X/8b744da5d7a9b2efb89abff6d3a4730f36a0e856.jpeg)

The text says: (CODE) Verbinden… 0%

Any ideas why this happens and how to avoid it?

Thanks!

Martin

---

<div class="post-metadata">

### Author: ![ivnmad](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.collaboraonline.com/ivnmad/32/181_2.png) [@ivnmad](https://forum.collaboraonline.com/u/ivnmad)
#### Post date: [July 27, 2021, 2:47pm UTC](https://forum.collaboraonline.com/t/code-connecting-0-cannot-connect-to-ods-document-stops-working/468/2 "2021-07-27T14:47:16Z")

</div>

Experiencing the same issue with [6.4.10.5], but not with [6.4.10.4]  
Try pulling collabora/code:6.4.10.4 instead of latest.

---

<div class="post-metadata">

### Author: ![ivnmad](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.collaboraonline.com/ivnmad/32/181_2.png) [@ivnmad](https://forum.collaboraonline.com/u/ivnmad)
#### Post date: [July 28, 2021, 2:24pm UTC](https://forum.collaboraonline.com/t/code-connecting-0-cannot-connect-to-ods-document-stops-working/468/3 "2021-07-28T14:24:38Z")

</div>

Just pulled [6.4.10.6] and everything seems to be working fine.

---

<div class="post-metadata">

### Author: ![MVZ-LRA](https://avatars.discourse-cdn.com/v4/letter/m/f4b2a3/32.png) [@MVZ-LRA](https://forum.collaboraonline.com/u/MVZ-LRA)
#### Post date: [July 29, 2021, 7:45am UTC](https://forum.collaboraonline.com/t/code-connecting-0-cannot-connect-to-ods-document-stops-working/468/4 "2021-07-29T07:45:38Z")

</div>

6.4.10.4 runs much better that 6.4.10.3, but we experience the above described error approximatly twice a week. Didn’t test 6.4.10.6

---

<div class="post-metadata">

### Author: ![rpear](https://avatars.discourse-cdn.com/v4/letter/r/b5ac83/32.png) [@rpear](https://forum.collaboraonline.com/u/rpear)
#### Post date: [July 29, 2021, 8:19am UTC](https://forum.collaboraonline.com/t/code-connecting-0-cannot-connect-to-ods-document-stops-working/468/5 "2021-07-29T08:19:23Z")

</div>

6.4.10.6 has this fix in it, does it fix it for you?

> <https://github.com/CollaboraOnline/online/commit/77cb6faa2726824ecb7c2538e6b2cb00f87b71be>
>
> For some servers we receive failure with HTTP 403 Forbidden in WOPI::CheckFileIn…fo
> 
> "Reason: The client software did not provide a hostname using Server
> Name Indication (SNI), which is required to access this server"
> 
> fixes #2771 : https://github.com/CollaboraOnline/online/issues/2771
> 
> Signed-off-by: Szymon Kłos \<szymon.klos@collabora.com\>
> Change-Id: I761b179580481f8882a4526c1d8be4f1c14ad929

---

<div class="post-metadata">

### Author: ![MVZ-LRA](https://avatars.discourse-cdn.com/v4/letter/m/f4b2a3/32.png) [@MVZ-LRA](https://forum.collaboraonline.com/u/MVZ-LRA)
#### Post date: [July 29, 2021, 8:51am UTC](https://forum.collaboraonline.com/t/code-connecting-0-cannot-connect-to-ods-document-stops-working/468/6 "2021-07-29T08:51:58Z")

</div>

We use an inhouse setup with plain http while testing.

So SSL/TLS/SNI-code should not be involved.

---

<div class="post-metadata">

### Author: ![skystriker007](https://avatars.discourse-cdn.com/v4/letter/s/aeb1de/32.png) [@skystriker007](https://forum.collaboraonline.com/u/skystriker007)
#### Post date: [August 12, 2021, 6:51pm UTC](https://forum.collaboraonline.com/t/code-connecting-0-cannot-connect-to-ods-document-stops-working/468/7 "2021-08-12T18:51:09Z")

</div>

Hi everyone,  
may issue is that I do not use docker.  
How can I change or rollback to previous version?

this is how I get the Collobora/code  
echo ‘deb [Index of /repos/CollaboraOnline/CODE-ubuntu2004](https://www.collaboraoffice.com/repos/CollaboraOnline/CODE-ubuntu2004) ./’ | sudo tee /etc/apt/sources.list.d/collabora.list

---

<div class="post-metadata">

### Author: ![harley-peter](https://avatars.discourse-cdn.com/v4/letter/h/58956e/32.png) [@harley-peter](https://forum.collaboraonline.com/u/harley-peter)
#### Post date: [August 31, 2021, 7:54am UTC](https://forum.collaboraonline.com/t/code-connecting-0-cannot-connect-to-ods-document-stops-working/468/8 "2021-08-31T07:54:57Z")

</div>

Tried CODE Server 6.4.10.10 with Nextcloud 21 but it does not work. Apparantly Collabora is not interested to solve the problem. Any ideas?

---

<div class="post-metadata">

### Author: ![Ezinne](https://avatars.discourse-cdn.com/v4/letter/e/d07c76/32.png) [@Ezinne](https://forum.collaboraonline.com/u/Ezinne)
#### Post date: [September 2, 2021, 12:24pm UTC](https://forum.collaboraonline.com/t/code-connecting-0-cannot-connect-to-ods-document-stops-working/468/9 "2021-09-02T12:24:45Z")

</div>

@MVZ-LRA, do you still experience this issue with the latest CODE version?

Please, anyone else who’s having a similar issue should kindly start a new thread, and then, take and upload trace-level logs from LOOLWSD.

---

<div class="post-metadata">

### Author: ![pedro.silva](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.collaboraonline.com/pedro.silva/32/4_2.png) [@pedro.silva](https://forum.collaboraonline.com/u/pedro.silva)
#### Post date: [September 2, 2021, 12:40pm UTC](https://forum.collaboraonline.com/t/code-connecting-0-cannot-connect-to-ods-document-stops-working/468/10 "2021-09-02T12:40:20Z")

</div>

Welcome @harley-peter , maybe the better course of action is indeed creating a new thread as pointed by @Ezinne . It seems we might be talking about different root issues within different versions. Please create a new one with:

- Your setup info
- Versions

Thanks and sorry for the delayed response,  
(meanwhile I will try to chase someone who can look into this further)

---

<div class="post-metadata">

### Author: ![MVZ-LRA](https://avatars.discourse-cdn.com/v4/letter/m/f4b2a3/32.png) [@MVZ-LRA](https://forum.collaboraonline.com/u/MVZ-LRA)
#### Post date: [September 3, 2021, 5:38am UTC](https://forum.collaboraonline.com/t/code-connecting-0-cannot-connect-to-ods-document-stops-working/468/11 "2021-09-03T05:38:19Z")

</div>

Hi Ezinne,  
we have this issue about once a week.  
Workaound is:  
-Duplicate file  
-remove original file  
-move copy back to original.

Sometime the CPU-load rises to 100%. In this case we do a server reboot. This is possible in our environment because only one file is edited at the same time.

---

<div class="post-metadata">

### Author: ![Aromatny](https://avatars.discourse-cdn.com/v4/letter/a/85e7bf/32.png) [@Aromatny](https://forum.collaboraonline.com/u/Aromatny)
#### Post date: [October 9, 2021, 7:47am UTC](https://forum.collaboraonline.com/t/code-connecting-0-cannot-connect-to-ods-document-stops-working/468/12 "2021-10-09T07:47:22Z")

</div>

I have some problem ![image](https://europe1.discourse-cdn.com/flex013/uploads/collaboraonline/original/1X/b925e3555201647ae9ee942b1e9651059bd12869.png)  
How it fix ?

Fixed by @ivnmad

> “Experiencing the same issue with [6.4.10.5], but not with [6.4.10.4]  
> Try pulling collabora/code:6.4.10.4 instead of latest.”
