Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upload fails with SSL error #2840

Closed
mohelonline opened this issue Jul 22, 2018 · 5 comments
Closed

Upload fails with SSL error #2840

mohelonline opened this issue Jul 22, 2018 · 5 comments

Comments

@mohelonline
Copy link

Actual behaviour

  • I want to upload files (pictures) with my android mobile app (manuel or auto upload).
  • Iploads fails after some files with an SSL initialisation error on app side.
  • Powersaving modes in android are deactiviated, mobile phone is not used during upload
  • I have to restart all files manually in the app
  • For 40 files I need about 4-5 retries to get all files uploaded

Expected behaviour

  • Upload all files without needing to restart

Steps to reproduce

  1. Take pictures > 10
  2. Use auto upload
  3. Do nothing with mobile phone
  4. upload failes after 5-10 minutes

Environment data

Android version: Android 8.0.0

Device model: Samsung Galaxy A5 2017

Stock or customized system: stock

Nextcloud app version: 3.2.1

Nextcloud server version: 13.0.4

Logs

Web server error log

[Sun Jul 22 14:21:17.231572 2018] [headers:debug] [pid 24096] mod_headers.c(845): AH01502: headers: ap_headers_output_filter()
[Sun Jul 22 14:21:17.290444 2018] [ssl:debug] [pid 24096] ssl_engine_kernel.c(222): [client xxx.xxx.xxx.xxx:xxxxx] AH02034: Subsequent (No.8) HTTPS request received for child 11 (server www.xxx.xxx:xxx)
[Sun Jul 22 14:21:17.290766 2018] [authz_core:debug] [pid 24096] mod_authz_core.c(802): [client xxx.xxx.xxx.xxx:xxxxx] AH01626: authorization result of Require all granted: granted
[Sun Jul 22 14:21:17.290777 2018] [authz_core:debug] [pid 24096] mod_authz_core.c(802): [client xxx.xxx.xxx.xxx:xxxxx] AH01626: authorization result of <RequireAny>: granted
[Sun Jul 22 14:21:17.290926 2018] [authz_core:debug] [pid 24096] mod_authz_core.c(802): [client xxx.xxx.xxx.xxx:xxxxx] AH01626: authorization result of Require all granted: granted
[Sun Jul 22 14:21:17.290945 2018] [authz_core:debug] [pid 24096] mod_authz_core.c(802): [client xxx.xxx.xxx.xxx:xxxxx] AH01626: authorization result of <RequireAny>: granted
[Sun Jul 22 14:21:17.803511 2018] [headers:debug] [pid 24094] mod_headers.c(845): AH01502: headers: ap_headers_output_filter()
[Sun Jul 22 14:21:17.894182 2018] [ssl:debug] [pid 24094] ssl_engine_kernel.c(222): [client xxx.xxx.xxx.xxx:56917] AH02034: Subsequent (No.4) HTTPS request received for child 6 (server www.xxx.xxx:xxx)
[Sun Jul 22 14:21:17.894524 2018] [authz_core:debug] [pid 24094] mod_authz_core.c(802): [client xxx.xxx.xxx.xxx:56917] AH01626: authorization result of Require all granted: granted
[Sun Jul 22 14:21:17.894535 2018] [authz_core:debug] [pid 24094] mod_authz_core.c(802): [client xxx.xxx.xxx.xxx:56917] AH01626: authorization result of <RequireAny>: granted
[Sun Jul 22 14:21:17.894679 2018] [authz_core:debug] [pid 24094] mod_authz_core.c(802): [client xxx.xxx.xxx.xxx:56917] AH01626: authorization result of Require all granted: granted
[Sun Jul 22 14:21:17.894688 2018] [authz_core:debug] [pid 24094] mod_authz_core.c(802): [client xxx.xxx.xxx.xxx:56917] AH01626: authorization result of <RequireAny>: granted
[Sun Jul 22 14:21:18.369093 2018] [headers:debug] [pid 24096] mod_headers.c(845): AH01502: headers: ap_headers_output_filter()
[Sun Jul 22 14:21:18.369235 2018] [ssl:debug] [pid 24096] ssl_engine_io.c(1004): [client xxx.xxx.xxx.xxx:xxxxx] AH02001: Connection closed to child 11 with standard shutdown (server www.xxx.xxx:xxx)
[Sun Jul 22 14:21:18.767483 2018] [ssl:info] [pid 30681] (70007)The timeout specified has expired: [client xxx.xxx.xxx.xxx:40904] AH01991: SSL input filter read failed.
[Sun Jul 22 14:21:18.767542 2018] [ssl:debug] [pid 30681] ssl_engine_io.c(1004): [client xxx.xxx.xxx.xxx:40904] AH02001: Connection closed to child 5 with standard shutdown (server www.xxx.xxx:xxx)
[Sun Jul 22 14:21:19.081738 2018] [ssl:info] [pid 955] [client xxx.xxx.xxx.xxx:47672] AH01964: Connection to child 4 established (server www.xxx.xxx:xxx)
[Sun Jul 22 14:21:19.081971 2018] [ssl:debug] [pid 955] ssl_engine_kernel.c(1911): [client xxx.xxx.xxx.xxx:47672] AH02043: SSL virtual host for servername xxx.xxx found
[Sun Jul 22 14:21:19.095460 2018] [ssl:info] [pid 912] (70007)The timeout specified has expired: [client xxx.xxx.xxx.xxx:56258] AH01991: SSL input filter read failed.
[Sun Jul 22 14:21:19.095518 2018] [ssl:debug] [pid 912] ssl_engine_io.c(1004): [client xxx.xxx.xxx.xxx:56258] AH02001: Connection closed to child 0 with standard shutdown (server www.xxx.xxx:xxx)
[Sun Jul 22 14:21:19.135818 2018] [ssl:info] [pid 755] (70007)The timeout specified has expired: [client xxx.xxx.xxx.xxx:53849] AH01991: SSL input filter read failed.
[Sun Jul 22 14:21:19.135872 2018] [ssl:debug] [pid 755] ssl_engine_io.c(1004): [client xxx.xxx.xxx.xxx:53849] AH02001: Connection closed to child 13 with standard shutdown (server www.xxx.xxx:xxx)
[Sun Jul 22 14:21:19.173487 2018] [ssl:info] [pid 24097] (70007)The timeout specified has expired: [client xxx.xxx.xxx.xxx:58927] AH01991: SSL input filter read failed.
[Sun Jul 22 14:21:19.173562 2018] [ssl:debug] [pid 24097] ssl_engine_io.c(1004): [client xxx.xxx.xxx.xxx:58927] AH02001: Connection closed to child 10 with standard shutdown (server www.xxx.xxx:xxx)
[Sun Jul 22 14:21:19.195661 2018] [socache_shmcb:debug] [pid 955] mod_socache_shmcb.c(483): AH00831: socache_shmcb_store (0x79 -> subcache 25)
[Sun Jul 22 14:21:19.195696 2018] [socache_shmcb:debug] [pid 955] mod_socache_shmcb.c(808): AH00847: insert happened at idx=2, data=(394:426)
[Sun Jul 22 14:21:19.195700 2018] [socache_shmcb:debug] [pid 955] mod_socache_shmcb.c(813): AH00848: finished insert, subcache: idx_pos/idx_used=0/3, data_pos/data_used=0/591
[Sun Jul 22 14:21:19.195704 2018] [socache_shmcb:debug] [pid 955] mod_socache_shmcb.c(504): AH00834: leaving socache_shmcb_store successfully
[Sun Jul 22 14:21:19.195719 2018] [ssl:debug] [pid 955] ssl_engine_kernel.c(1844): [client xxx.xxx.xxx.xxx:47672] AH02041: Protocol: TLSv1.2, Cipher: ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)
[Sun Jul 22 14:21:19.235143 2018] [ssl:debug] [pid 955] ssl_engine_kernel.c(222): [client xxx.xxx.xxx.xxx:47672] AH02034: Initial (No.1) HTTPS request received for child 4 (server www.xxx.xxx:xxx)
[Sun Jul 22 14:21:19.236290 2018] [authz_core:debug] [pid 955] mod_authz_core.c(802): [client xxx.xxx.xxx.xxx:47672] AH01626: authorization result of Require all granted: granted
[Sun Jul 22 14:21:19.236301 2018] [authz_core:debug] [pid 955] mod_authz_core.c(802): [client xxx.xxx.xxx.xxx:47672] AH01626: authorization result of <RequireAny>: granted
[Sun Jul 22 14:21:19.236447 2018] [authz_core:debug] [pid 955] mod_authz_core.c(802): [client xxx.xxx.xxx.xxx:47672] AH01626: authorization result of Require all granted: granted
[Sun Jul 22 14:21:19.236457 2018] [authz_core:debug] [pid 955] mod_authz_core.c(802): [client xxx.xxx.xxx.xxx:47672] AH01626: authorization result of <RequireAny>: granted
[Sun Jul 22 14:21:19.287603 2018] [headers:debug] [pid 955] mod_headers.c(845): AH01502: headers: ap_headers_output_filter()

Nextcloud log (data/nextcloud.log)

2018-07-22T13:46:42+0200 Fatal	webdav	Sabre\DAV\Exception\BadRequest: expected filesize 1024000 got 12288

    /var/www/nextcloud/apps/dav/lib/Connector/Sabre/File.php - line 132: OCA\DAV\Connector\Sabre\File->createFileChunked(Resource id #79)
    /var/www/nextcloud/apps/dav/lib/Connector/Sabre/Directory.php - line 156: OCA\DAV\Connector\Sabre\File->put(Resource id #79)
    /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php - line 1096: OCA\DAV\Connector\Sabre\Directory->createFile('20180722_130406...', Resource id #79)
    /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/CorePlugin.php - line 529: Sabre\DAV\Server->createFile('SofortUpload/Ca...', Resource id #79, NULL)
    [internal function] Sabre\DAV\CorePlugin->httpPut(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))
    /var/www/nextcloud/3rdparty/sabre/event/lib/EventEmitterTrait.php - line 105: call_user_func_array(Array, Array)
    /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php - line 479: Sabre\Event\EventEmitter->emit('method PUT', Array)
    /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php - line 254: Sabre\DAV\Server->invokeMethod(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))
    /var/www/nextcloud/apps/dav/appinfo/v1/webdav.php - line 80: Sabre\DAV\Server->exec()
    /var/www/nextcloud/remote.php - line 164: require_once('/var/www/nextcl...')
    {main}

App log

2018/07/22 14:21:03
OwnCloudClient #2 : REQUEST PUT /nextcloud/remote.php/webdav/SofortUpload/Camera/20180722_130430.jpg-chunking-1684993321-11-5

2018/07/22 14:21:17
UploadListActivity : onDestroy() ending

2018/07/22 14:21:17
OperationsService : Destroying service

2018/07/22 14:21:17
UploadListActivity : onCreate(Bundle) starting

2018/07/22 14:21:17
OwnCloudClient #2 : REQUEST GET /nextcloud/ocs/v1.php/cloud/capabilities

2018/07/22 14:21:17
AdvancedSslSocketFactory : Creating SSL Socket with remote xxx.xxx:443, local null:0, params: org.apache.commons.httpclient.params.HttpConnectionParams@760383f

2018/07/22 14:21:17
AdvancedSslSocketFactory :  ... with connection timeout 60000 and socket timeout 60000

2018/07/22 14:21:17
ServerNameIndicator : SSLSocket implementation: com.google.android.gms.org.conscrypt.Java8FileDescriptorSocket

2018/07/22 14:21:17
ServerNameIndicator : SNI done, hostname: xxx.xxx

2018/07/22 14:21:17
UploadListAdapter : UploadListAdapter

2018/07/22 14:21:17
UploadListAdapter : loadUploadItemsFromDb

2018/07/22 14:21:17
UploadListAdapter : loadUploadItemsFromDb

2018/07/22 14:21:17
UploadListActivity : onStart() starting

2018/07/22 14:21:17
OwnCloudClient #2 : REQUEST GET /nextcloud/ocs/v1.php/cloud/user

2018/07/22 14:21:17
AdvancedSslSocketFactory : Creating SSL Socket with remote xxx.xxx:443, local null:0, params: org.apache.commons.httpclient.params.HttpConnectionParams@65f774c

2018/07/22 14:21:17
AdvancedSslSocketFactory :  ... with connection timeout 60000 and socket timeout 60000

2018/07/22 14:21:17
Avatar : URI: https://xxx.xxx/nextcloud/index.php/avatar/xxx/336

2018/07/22 14:21:17
ServerNameIndicator : SSLSocket implementation: com.google.android.gms.org.conscrypt.Java8FileDescriptorSocket

2018/07/22 14:21:17
ServerNameIndicator : SNI done, hostname: xxx.xxx

2018/07/22 14:21:17
ExternalLinks : links disabled

2018/07/22 14:21:17
OwnCloudClient #2 : REQUEST GET /nextcloud/index.php/avatar/xxx/336

2018/07/22 14:21:17
AdvancedSslSocketFactory : Creating SSL Socket with remote xxx.xxx:443, local null:0, params: org.apache.commons.httpclient.params.HttpConnectionParams@c1f32d9

2018/07/22 14:21:17
AdvancedSslSocketFactory :  ... with connection timeout 60000 and socket timeout 60000

2018/07/22 14:21:17
ServerNameIndicator : SNI done, hostname: xxx.xxx

2018/07/22 14:21:17
OwnCloudClient #2 : REQUEST GET /nextcloud/ocs/v1.php/cloud/user

2018/07/22 14:21:17
AdvancedSslSocketFactory : Creating SSL Socket with remote xxx.xxx:443, local null:0, params: org.apache.commons.httpclient.params.HttpConnectionParams@79cf49e

2018/07/22 14:21:17
AdvancedSslSocketFactory :  ... with connection timeout 60000 and socket timeout 60000

2018/07/22 14:21:17
ServerNameIndicator : SNI done, hostname: xxx.xxx

2018/07/22 14:21:17
UploadListActivity : onResume() start

2018/07/22 14:21:17
UploadListActivity : onResume() starting

2018/07/22 14:21:17
UploadListActivity : onResume() end

2018/07/22 14:21:17
FileDownloader : Destroying service

2018/07/22 14:21:17
FileUploader : Destroying service

2018/07/22 14:21:17
GetRemoteCapabilitiesOperation : Successful response: {"ocs":{"meta":{"status":"ok","statuscode":100,"message":"OK","totalitems":"","itemsperpage":""},"data":{"version":{"major":13,"minor":0,"micro":4,"string":"13.0.4","edition":""},"capabilities":{"core":{"pollinterval":60,"webdav-root":"remote.php\/webdav"},"bruteforce":{"delay":0},"activity":{"apiv2":["filters","filters-api","previews","rich-strings"]},"dav":{"chunking":"1.0"},"files_sharing":{"api_enabled":true,"public":{"enabled":true,"password":{"enforced":false},"expire_date":{"enabled":false},"send_mail":false,"upload":true,"upload_files_drop":true},"resharing":true,"user":{"send_mail":false,"expire_date":{"enabled":true}},"group_sharing":true,"group":{"enabled":true,"expire_date":{"enabled":true}},"federation":{"outgoing":true,"incoming":true,"expire_date":{"enabled":true}},"sharebymail":{"enabled":true,"upload_files_drop":{"enabled":true},"password":{"enabled":true},"expire_date":{"enabled":true}}},"notifications":{"ocs-endpoints":["list","get","delete","icons","rich-strings"],"push":["devices"]},"password_policy":{"minLength":8,"enforceNonCommonPassword":true,"enforceNumericCharacters":true,"enforceSpecialCharacters":true,"enforceUpperLowerCase":true},"theming":{"name":"Nextcloud","url":"https:\/\/nextcloud.com","slogan":"ein sicherer Ort f\u00fcr all Deine Daten","color":"#0082c9","color-text":"#ffffff","color-element":"#0082c9","logo":"https:\/\/xxx.xxx\/nextcloud\/core\/img\/logo.svg?v=0","background":"https:\/\/xxx.xxx\/nextcloud\/core\/img\/background.png?v=0","background-plain":false,"background-default":true},"files":{"bigfilechunking":true,"blacklisted_files":[".htaccess"],"undelete":true,"versioning":true}}}}}

2018/07/22 14:21:17
GetRemoteCapabilitiesOperation : *** Added version

2018/07/22 14:21:17
GetRemoteCapabilitiesOperation : *** Added core

2018/07/22 14:21:17
GetRemoteCapabilitiesOperation : *** Added files_sharing

2018/07/22 14:21:17
GetRemoteCapabilitiesOperation : *** Added files

2018/07/22 14:21:17
GetRemoteCapabilitiesOperation : *** Added theming

2018/07/22 14:21:17
GetRemoteCapabilitiesOperation : *** Added notifications

2018/07/22 14:21:17
GetRemoteCapabilitiesOperation : *** Get Capabilities completed 

2018/07/22 14:21:17
AccountUtils : Update Capabilities: true

2018/07/22 14:21:17
UploadListAdapter : FileUploaderBinder not ready yet for upload /SofortUpload/Camera/20180722_125007.jpg

2018/07/22 14:21:17
UploadListAdapter : FileUploaderBinder not ready yet for upload /SofortUpload/Camera/20180722_130239.jpg

2018/07/22 14:21:17
UploadListAdapter : FileUploaderBinder not ready yet for upload /SofortUpload/Camera/20180722_130403.jpg

2018/07/22 14:21:17
UploadListAdapter : FileUploaderBinder not ready yet for upload /SofortUpload/Camera/20180722_130430.jpg

2018/07/22 14:21:17
OperationsService : Creating service

2018/07/22 14:21:17
FileDownloader : Creating service

2018/07/22 14:21:18
FileUploader : Creating service

2018/07/22 14:21:18
UploadsStorageManager : Updating state of any killed upload

2018/07/22 14:21:18
UploadsStorageManager : 4 uploads where abruptly interrupted

2018/07/22 14:21:18
UploadsStorageManager : notifyObserversNow

2018/07/22 14:21:18
FileActivity : Operations service connected

2018/07/22 14:21:18
UploadListActivity : UploadListActivity not connected to Upload service. component: ComponentInfo{com.nextcloud.client/com.owncloud.android.files.services.FileDownloader} service: com.owncloud.android.files.services.FileDownloader$FileDownloaderBinder@ba17460

2018/07/22 14:21:18
UploadListActivity : UploadListActivity connected to Upload service. component: ComponentInfo{com.nextcloud.client/com.owncloud.android.files.services.FileUploader} service: com.owncloud.android.files.services.FileUploader$FileUploaderBinder@773fd19

2018/07/22 14:21:21
ChunkedUploadRemoteFileOperation : Upload of /storage/emulated/0/DCIM/Camera/20180722_130430.jpg to /SofortUpload/Camera/20180722_130430.jpg, chunk index 5, count 11, HTTP result status 201

2018/07/22 14:21:21
OwnCloudClient #2 : REQUEST PUT /nextcloud/remote.php/webdav/SofortUpload/Camera/20180722_130430.jpg-chunking-1684993321-11-6

2018/07/22 14:21:21
UploadFileOperation : Upload of /storage/emulated/0/DCIM/Camera/20180722_130430.jpg to /SofortUpload/Camera/20180722_130430.jpg: Unexpected exception Exception : [com.owncloud.android.files.services.FileUploader.onTransferProgress(FileUploader.java:1198), com.owncloud.android.lib.common.network.ChunkFromFileChannelRequestEntity.writeRequest(ChunkFromFileChannelRequestEntity.java:150), org.apache.commons.httpclient.methods.EntityEnclosingMethod.writeRequestBody(EntityEnclosingMethod.java:499), org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.java:2114), org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1096), org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398), org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171), org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397), org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323), com.owncloud.android.lib.common.OwnCloudClient.executeMethod(OwnCloudClient.java:232), com.owncloud.android.lib.resources.files.ChunkedUploadRemoteFileOperation.uploadFile(ChunkedUploadRemoteFileOperation.java:116), com.owncloud.android.lib.resources.files.UploadRemoteFileOperation.run(UploadRemoteFileOperation.java:110), com.owncloud.android.lib.common.operations.RemoteOperation.execute(RemoteOperation.java:145), com.owncloud.android.operations.UploadFileOperation.normalUpload(UploadFileOperation.java:841), com.owncloud.android.operations.UploadFileOperation.run(UploadFileOperation.java:422), com.owncloud.android.lib.common.operations.RemoteOperation.execute(RemoteOperation.java:145), com.owncloud.android.lib.common.operations.RemoteOperation.execute(RemoteOperation.java:149), com.owncloud.android.operations.common.SyncOperation.execute(SyncOperation.java:93), com.owncloud.android.files.services.FileUploader.uploadFile(FileUploader.java:1102), com.owncloud.android.files.services.FileUploader$ServiceHandler.handleMessage(FileUploader.java:1035), android.os.Handler.dispatchMessage(Handler.java:105), android.os.Looper.loop(Looper.java:164), android.os.HandlerThread.run(HandlerThread.java:65)]

2018/07/22 14:21:21
UploadsStorageManager : updateDatabaseUploadResult uploadResult: com.owncloud.android.lib.common.operations.RemoteOperationResult@481efbf upload: com.owncloud.android.operations.UploadFileOperation@f19768c

2018/07/22 14:21:21
UploadsStorageManager : Updating /storage/emulated/0/DCIM/Camera/20180722_130430.jpg with status:UPLOAD_FAILED and result:NETWORK_CONNECTION (old:/storage/emulated/0/DCIM/Camera/20180722_130430.jpg status:UPLOAD_FAILED result:10)

2018/07/22 14:21:21
UploadsStorageManager : Updating /storage/emulated/0/DCIM/Camera/20180722_130430.jpg with status=UPLOAD_FAILED

2018/07/22 14:21:21
UploadsStorageManager : updateUpload returns with: 1 for file: /storage/emulated/0/DCIM/Camera/20180722_130430.jpg

2018/07/22 14:21:21
UploadsStorageManager : notifyObserversNow

2018/07/22 14:21:21
FileUploader : NotifyUploadResult with resultCode: HOST_NOT_AVAILABLE

2018/07/22 14:21:21
UploadListAdapter : loadUploadItemsFromDb

2018/07/22 14:21:21
FileUploader : Stopping command after id 86

NOTE: Be super sure to remove sensitive data like passwords, note that everybody can look here! You can use the Issue Template application to prefill some of the required information: https://apps.nextcloud.com/apps/issuetemplate

@unix0r
Copy link

unix0r commented Jul 23, 2018

I get the same problem.
Some photos are uploaded via AutoUpload, some get the same error!
Android 8 with Sony Xperia XZ1 Compact

@ardevd
Copy link
Collaborator

ardevd commented Aug 2, 2018

I'm wondering if this could be an Apache related issue, specifically with your VirtualHost configuration. Could any of you share your VirtualHost configuration if you use one?

@unix0r
Copy link

unix0r commented Aug 3, 2018


<VirtualHost *:443>
    SSLEngine on
    SSLProtocol all -SSLv2 -SSLv3

SSLHonorCipherOrder on
SSLCipherSuite 'EECDH+ECDSA+AESGCM:EECDH+aRSA+AESGCM:EECDH+ECDSA:EECDH:EDH+AESGCM:EDH:+3DES:ECDH+AESGCM:ECDH+AES:ECDH:AES:HIGH:MEDIUM:!RC4:!CAMELLIA:!SEED:!aNULL:!MD5:!eNULL:!LOW:!EXP:!DSS:!PSK:!SRP'
    <IfModule mod_headers.c>
      Header always set Strict-Transport-Security "max-age=15552000; includeSubDomains"
    </IfModule>    
    # Pfad zu den Webinhalten
    DocumentRoot /var/www/html/
    ServerName cloud.*****.de
    ServerAlias www.*****.de
SSLCertificateFile /etc/letsencrypt/live/cloud.****.de/cert.pem
SSLCertificateKeyFile /etc/letsencrypt/live/cloud.****.de/privkey.pem
Include /etc/letsencrypt/options-ssl-apache.conf
SSLCertificateChainFile /etc/letsencrypt/live/cloud.****..de/chain.pem
</VirtualHost>

Server version: Apache/2.4.6 (CentOS)
Server built: Jun 27 2018 13:48:59

@mohelonline
Copy link
Author

<VirtualHost xxx.de:443>
		ServerAdmin webmaster@xxx.de
		ServerName  www.xxx.de
		ServerAlias xxx.de mail.xxx.de
		DocumentRoot /var/www/xxx

		Header always set Strict-Transport-Security "max-age=63072000; includeSubdomains; preload"

		ErrorLog ${APACHE_LOG_DIR}/error.log
		CustomLog ${APACHE_LOG_DIR}/access.log combined

		SSLEngine on
		SSLProtocol all -SSLv2
		SSLCipherSuite ALL:!ADH:!EXPORT:!SSLv2:RC4+RSA:+HIGH:+MEDIUM:!RC4:!DES:!3DES

		SSLCertificateFile /etc/ssl/xxx/letsencrypt.pem
		SSLCertificateKeyFile /etc/ssl/xxx/private.key
		SSLCertificateChainFile /etc/ssl/xxx/letsencrypt_intermediate.pem

		<FilesMatch "\.(cgi|shtml|phtml|php)$">
						SSLOptions +StdEnvVars
		</FilesMatch>


		BrowserMatch "MSIE [2-6]" \
						nokeepalive ssl-unclean-shutdown \
						downgrade-1.0 force-response-1.0

		BrowserMatch "MSIE [17-9]" ssl-unclean-shutdown

		<Directory /var/www/>
				Options Indexes FollowSymLinks
				AllowOverride All
				Require all granted
		</Directory>

</VirtualHost>
#########################
Alias /nextcloud "/var/www/nextcloud/"

<Directory /var/www/nextcloud/>
  Options +FollowSymlinks
  Options -ExecCGI
  AllowOverride All

 <IfModule mod_dav.c>
  Dav off
 </IfModule>

 SetEnv HOME /var/www/nextcloud
 SetEnv HTTP_HOME /var/www/nextcloud

</Directory>

Server version: Apache/2.4.7 (Ubuntu)
Server built: Apr 18 2018 15:36:26

@stale
Copy link

stale bot commented May 10, 2019

This request did not receive an update in the last 4 weeks. Please take a look again and update the issue with new details, otherwise the issue will be automatically closed in 2 weeks. Thank you!

@stale stale bot added the stale label May 10, 2019
@stale stale bot closed this as completed May 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants