Sorry to hear you’re facing problems
help.nextcloud.com is for home/non-enterprise users. If you’re running a business, paid support can be accessed via 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:
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
Nextcloud version (eg, 12.0.2): 13.0.5
Operating system and version (eg, Ubuntu 17.04): CentOS 7
Apache or nginx version (eg, Apache 2.4.25): Nginx 1.15.2
PHP version (eg, 7.1): 7.2.8
The issue you are facing:
I’ve been thinking what is the purpose of the connectios to Akamai technologies? Some times when someone connects to my Nextcloud, server connects to Akamai. I know that many companies are using Akamai’s services, but why Nextcloud?
Is this the first time you’ve seen this error? (Y/N): n
Steps to replicate it:
- Start collecting log from connections out
- Read log
11:32:36.063563 IP my.vps.com.47587 > a95-100-96-226.deploy.static.akamaitechnologies.com
12:07:52.037326 IP my.vps.com.50644 > a23-46-210-169.deploy.static.akamaitechnologies.com
and so on
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
One suspect is the app store. It loads a lot of external content from different locations (each app developer hosts his own code at his chosen location). After that there is the app server itself, but it doesn’t use akami as far as I know.
Some apps might also load external content: weather app, radio app, news app, …
At the moment I have enabled the apps listed below.
- Collaborative tags
- Deleted files
- External storage support
- File sharing
- Log Reader
- Password policy
- PDF viewer
- Preview Generator
- Update notification
- Video player
And still have connections to Akamai.
Testing now what happens if I block connections in and out from/to 18.104.22.168/14, 22.214.171.124/11 and 126.96.36.199/23… Page loads ok and basic things looks ok.
If it’s the app store, am I missing updates or/and somethin else?
How exactly did you discover this connection? Simple netstat (or ss) or somewhere in the nextcloud logs?
If it was netstat/ ss could you check which process opened the connection to akamai?
tcpdump -ni any -w ~/synconnections.pcap tcp == 2 and src host my.vps.ip
That command shows synconnections out.
With this command (or similar, can’t remember…)
while true;do ss -ntap -o state established 'dst 188.8.131.52/16 or dst 184.108.40.206/16' >> test; sleep 1; done
220.127.116.11:80 users:(("nginx",pid=1175,fd=25)) timer:(on,400ms,0)
Destinations are Akamai Technologies.
Most of the connections starts to Akamai when someone visits my Nextcloud. There are few connections to Akamai, which start without any sign in the logs. (access.log, journalctl…)
To the people whose reading this. Those connections are very probably “good connections”. I’m just very interested why those happens.