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

Support intro

Sorry to hear you’re facing problems :slightly_frowning_face: is for home/non-enterprise users. If you’re running a business, paid support can be accessed via 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:


Or for longer, use three backticks above and below the code snippet:


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 :heart:

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:

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

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

Not Found

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.

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)

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.

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 }
value 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
l https://mynextcloudurl/apps/text/js/editor.js?v=e2728e8cb4671e9608b1:2

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.

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!

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.

A very evasive problem!

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