# File could not be loaded. Please check your internet connection.Reconnect

**URL:** <https://help.nextcloud.com/t/file-could-not-be-loaded-please-check-your-internet-connection-reconnect/175993>\
**Category:** ℹ️ Support\
**Tags:** text-app\
**Created:** [December 8, 2023, 4:10am UTC](https://help.nextcloud.com/t/file-could-not-be-loaded-please-check-your-internet-connection-reconnect/175993 "2023-12-08T04:10:20Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![tfirkins](https://help.nextcloud.com/user_avatar/help.nextcloud.com/tfirkins/32/58777_2.png) [@tfirkins](https://help.nextcloud.com/u/tfirkins)\
**Post date:** [December 8, 2023, 4:10am UTC](https://help.nextcloud.com/t/file-could-not-be-loaded-please-check-your-internet-connection-reconnect/175993/1 "2023-12-08T04:10:20Z")

</div>

> **Support intro**
>
> Sorry to hear you’re facing problems 🙁
> 
> _**[help.nextcloud.com](http://help.nextcloud.com) is for home/non-enterprise users. If you’re running a business, paid support can be accessed via [portal.nextcloud.com](http://portal.nextcloud.com) where we can ensure your business keeps running smoothly.**_
> 
> In order to help you as quickly as possible, before clicking **Create Topic** please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:
> 
> ```
> example
> 
> ```
> 
> Or for longer, use three backticks above and below the code snippet:
> 
> ```auto
> longer
> example
> here
> 
> ```
> 
> Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can ❤

Nextcloud version _(eg, 20.0.5)_: `Nextcloud Hub 6 (27.1.4)`  
Operating system and version _(eg, Ubuntu 20.04)_: `Linux 6.5.11-4-pve x86_64`  
Apache or nginx version _(eg, Apache 2.4.25)_: `apache2/ 2.4.57-2 `  
PHP version _(eg, 7.4)_: `8.2.7-1`

The issue you are facing:  
When using the text app, I frequently get message “File could not be loaded. Please check your internet connection.”  
The app is not usable.  
While playing with it, I noticed that if I typed VERY slowly, it would keep working, but if I begin to type at a reasonable rate, the error occurs immediately. I have not really seen any definitive fixes discussed by others who have also had this problem. One thread stated that it was a caching problem but my config.php file has Redis configured for caching.

It seems to be a communication problem but it handles photos, video and other data with no problem.

This Nextcloud instance is behind an OPNSense router with ports 80 and 443 forwarded to a fixed pubic IP.

Please advise.

Is this the first time you’ve seen this error? _(Y/N)_:N

Steps to replicate it:

1. Create a new text document
2. begin typing
3. observe

The output of your Nextcloud log in **Admin \> Logging** :

```auto
https://pastebin.com/mqJXWadN

```

The output of your config.php file in `/path/to/nextcloud` (make sure you remove any identifiable information!):

```auto
https://pastebin.com/zzAm1ris

```

The output of your Apache/nginx/system log in `/var/log/ ____ `:

```auto
https://pastebin.com/FeC0ndKS

```

Not Found

```auto

Output errors in nextcloud.log in /var/www/ or as admin user in top right menu, filtering for errors. Use a pastebin service if necessary.

https://pastebin.com/mqJXWadN

```

---

<div class="post-metadata">

**Author:** ![jtr](https://help.nextcloud.com/letter_avatar/jtr/32/6_449c533f586939b6e5f246632a46421f.png) [@jtr](https://help.nextcloud.com/u/jtr)\
**Post date:** [December 8, 2023, 4:35pm UTC](https://help.nextcloud.com/t/file-could-not-be-loaded-please-check-your-internet-connection-reconnect/175993/2 "2023-12-08T16:35:14Z")

</div>

> [@tfirkins](#):
>
> When using the text app, I frequently get message “File could not be loaded. Please check your internet connection.”

Are you speaking of via the Web UI or via one of the mobile clients?

If the Web UI:

- What browser?
- What does your browser console indicate? (Console tab, Network tab)

---

<div class="post-metadata">

**Author:** ![tfirkins](https://help.nextcloud.com/user_avatar/help.nextcloud.com/tfirkins/32/58777_2.png) [@tfirkins](https://help.nextcloud.com/u/tfirkins)\
**Post date:** [December 8, 2023, 4:42pm UTC](https://help.nextcloud.com/t/file-could-not-be-loaded-please-check-your-internet-connection-reconnect/175993/3 "2023-12-08T16:42:58Z")

</div>

I was using a desktop web browser, Firefox and Vivaldi both did the same thing. I rarely type on a phone but I’ll try it.

---

<div class="post-metadata">

**Author:** ![tfirkins](https://help.nextcloud.com/user_avatar/help.nextcloud.com/tfirkins/32/58777_2.png) [@tfirkins](https://help.nextcloud.com/u/tfirkins)\
**Post date:** [December 8, 2023, 5:36pm UTC](https://help.nextcloud.com/t/file-could-not-be-loaded-please-check-your-internet-connection-reconnect/175993/4 "2023-12-08T17:36:33Z")

</div>

The browser console of course has tons of information but its hard to understand. Here is an error that occurs when I see the error message appear in the text app:

[ERROR] text: Unexpected Error “Failed to apply steps. Retry!”  
Object { app: “text”, uid: "sensitive info ", level: 0, error: Error }  
text-files.js:2:13658  
value [https://mynextcloudurl/apps/text/js/text-files.js?v=3231b00e-0:2](https://mynextcloudurl/apps/text/js/text-files.js?v=3231b00e-0:2)  
value [https://mynextcloudurl/apps/text/js/text-files.js?v=3231b00e-0:2](https://mynextcloudurl/apps/text/js/text-files.js?v=3231b00e-0:2)  
l [https://mynextcloudurl/apps/text/js/editor.js?v=e2728e8cb4671e9608b1:2](https://mynextcloudurl/apps/text/js/editor.js?v=e2728e8cb4671e9608b1:2)

---

<div class="post-metadata">

**Author:** ![tfirkins](https://help.nextcloud.com/user_avatar/help.nextcloud.com/tfirkins/32/58777_2.png) [@tfirkins](https://help.nextcloud.com/u/tfirkins)\
**Post date:** [December 8, 2023, 5:48pm UTC](https://help.nextcloud.com/t/file-could-not-be-loaded-please-check-your-internet-connection-reconnect/175993/5 "2023-12-08T17:48:26Z")

</div>

The same “File could not be loaded” error message occurs when using the android nextcloud app over cellular to edit a document with the text app.

---

<div class="post-metadata">

**Author:** ![tfirkins](https://help.nextcloud.com/user_avatar/help.nextcloud.com/tfirkins/32/58777_2.png) [@tfirkins](https://help.nextcloud.com/u/tfirkins)\
**Post date:** [December 8, 2023, 8:28pm UTC](https://help.nextcloud.com/t/file-could-not-be-loaded-please-check-your-internet-connection-reconnect/175993/6 "2023-12-08T20:28:55Z")

</div>

Also worth noting is the plain text editor works fine and so does the quick notes app (all from within desktop browser connection to the Nextcloud server), so this appears to be a problem with the method the Nextcloud Text app uses to keep the current document saved/updated/cached.

I also created a second Nextcloud instance using a HomeDrive Virtual machine on Proxmox that uses BurmillaOS and runs Nextcloud in a docker container. The problem with the Nextcloud Text app does NOT occur on that machine.

The machine that has the problem I’m working on is a Turnkey Linux Nextcloud appliance (LXC container) also running in Proxmox. The Homedrive machine provides the endpoint and an encrypted tunnel for it’s connection. The Turnkey Linux machine uses simple port forwarding of 80 and 443 to an external IP (mapped to a domain name). I know this is convoluted but it’s bugging me so thanks in advance to all who try to help!

---

<div class="post-metadata">

**Author:** ![tfirkins](https://help.nextcloud.com/user_avatar/help.nextcloud.com/tfirkins/32/58777_2.png) [@tfirkins](https://help.nextcloud.com/u/tfirkins)\
**Post date:** [December 10, 2023, 3:04am UTC](https://help.nextcloud.com/t/file-could-not-be-loaded-please-check-your-internet-connection-reconnect/175993/7 "2023-12-10T03:04:14Z")

</div>

It appears this problem is caused by an Apache Module called “Evasive”. Fortunately for me, Turnkey Linux comes pre-configured with Webmin, so that made it easy for me to turn the module off in the Apache server for testing. With the module off, the text app works perfectly, no more "File could not be loaded. Please check your internet connection. \>Reconnect\<

I think now all I have to do is whitelist the IP address that the evasive-mod was flagging in its configuration file, which was my gateway IP. Strangely, I had to white list the gateway address in Nextclouds Brute Force attack module in order to get Nextclouds configuration check to pass. I don’t know if the problems are related.

Thanks to all who who may have thought about this.

---

<div class="post-metadata">

**Author:** ![tfirkins](https://help.nextcloud.com/user_avatar/help.nextcloud.com/tfirkins/32/58777_2.png) [@tfirkins](https://help.nextcloud.com/u/tfirkins)\
**Post date:** [December 10, 2023, 3:13am UTC](https://help.nextcloud.com/t/file-could-not-be-loaded-please-check-your-internet-connection-reconnect/175993/8 "2023-12-10T03:13:19Z")

</div>

A very evasive problem!

---

<div class="post-metadata">

**Author:** ![system](https://help.nextcloud.com/user_avatar/help.nextcloud.com/system/32/29333_2.png) [@system](https://help.nextcloud.com/u/system)\
**Post date:** [December 18, 2023, 3:13am UTC](https://help.nextcloud.com/t/file-could-not-be-loaded-please-check-your-internet-connection-reconnect/175993/9 "2023-12-18T03:13:46Z")

</div>

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.
