Homepage | Products | OX Knowledge Base | Support | Try Now | Contact | Company
OX Logo
Page 1 of 2 12 LastLast
Results 1 to 10 of 15
  1. #1
    Join Date
    Aug 2008
    Posts
    107

    Default OX Drive; unable to connect from Android mobile

    Hello,

    using OX Drive in the Appsuite web ui works very well. Now I wanted to sync with Android mobile devices. I fail allready by connecting to the OX server - Message: "Die angegebene URL scheint nicht zu einem OX-Server zu gehören".

    I find nothing korreponding in the logs, neither open-xchange.log.0 nor in the apache2 logs.

    For information here are...

    dpkg --get-selections|grep open-xchange :
    Code:
    ...
    open-xchange-appsuite-help-drive-common		install
    open-xchange-appsuite-help-drive-de-de		install
    open-xchange-appsuite-help-drive-en-us		install
    open-xchange-drive				install
    open-xchange-drive-comet			install
    open-xchange-drive-restricted			install
    ...
    /opt/open-xchange/sbin/listbundles|grep -v ACTIVE :
    Code:
    bundlename: com.openexchange.logback.configuration status: RESOLVED
    bundlename: com.openexchange.logback.extensions status: RESOLVED
    bundlename: com.openexchange.system.extension status: RESOLVED
    /etc/apache2/conf.d/proxy_http.conf
    Code:
    # Please note that the servlet path to the soap API has changed:
    <Location /webservices>
        # restrict access to the soap provisioning API
        Order Deny,Allow
        Deny from all
        Allow from 127.0.0.1
        # you might add more ip addresses / networks here
        # Allow from 192.168 10 172.16
    </Location>
    
    # the old path is kept for compatibility reasons
    <Location /servlet/axis2/services>
        # restrict access to the soap provisioning API
        Order Deny,Allow
        Deny from all
        Allow from 127.0.0.1
        # you might add more ip addresses / networks here
        # Allow from 192.168 10 172.16
    </Location>
    
    <IfModule mod_proxy_http.c>
       ProxyRequests Off
       # When enabled, this option will pass the Host: line from the incoming request to the proxied host.
    #  ProxyPreserveHost On
       ProxyPreserveHost Off
       <Proxy balancer://oxguard>
           Order deny,allow
           Allow from all
           BalancerMember http://localhost:8080/oxguard timeout=1800 smax=0 ttl=60 retry=60 loadfactor=100 route=OX1
           ProxySet stickysession=JSESSIONID|jsessionid scolonpathdelim=ON
           SetEnv proxy-initial-not-pooled
           SetEnv proxy-sendchunked
       </Proxy>
       <Proxy balancer://oxcluster>
           Order deny,allow
           Allow from all
           # multiple server setups need to have the hostname inserted instead localhost
           BalancerMember http://localhost:8009 timeout=100 smax=0 ttl=60 retry=60 loadfactor=50 route=OX1
           # Enable and maybe add additional hosts running OX here
           # BalancerMember http://oxhost2:8009 timeout=100  smax=0 ttl=60 retry=60 loadfactor=50 route=OX2
          ProxySet stickysession=JSESSIONID|jsessionid scolonpathdelim=On
          SetEnv proxy-initial-not-pooled
          SetEnv proxy-sendchunked
       </Proxy>
       # Microsoft recommends a minimum timeout value of 15 minutes for eas connections
       <Proxy balancer://eas_oxcluster>
          Order deny,allow
          Allow from all
          # multiple server setups need to have the hostname inserted instead localhost
          BalancerMember http://localhost:8009 timeout=1800 smax=0 ttl=60 retry=60 loadfactor=50 route=OX1
          # Enable and maybe add additional hosts running OX here
          # BalancerMember http://oxhost2:8009 timeout=1800  smax=0 ttl=60 retry=60 loadfactor=50 route=OX2
          ProxySet stickysession=JSESSIONID|jsessionid scolonpathdelim=On
          SetEnv proxy-initial-not-pooled
          SetEnv proxy-sendchunked
       </Proxy>
       # OX AppSuite frontend
           ProxyPass /appsuite/api/oxguard balancer://oxguard
           ProxyPass /drive balancer://oxcluster/drive
       <Proxy /appsuite/api>
           ProxyPass balancer://oxcluster/ajax
       </Proxy>
    
       # OX frontend
       <Proxy /ajax>
           ProxyPass balancer://oxcluster/ajax
       </Proxy>
       <Proxy /servlet>
           ProxyPass balancer://oxcluster/servlet
       </Proxy>
       <Proxy /infostore>
           ProxyPass balancer://oxcluster/infostore
       </Proxy>
       <Proxy /publications>
           ProxyPass balancer://oxcluster/publications
       </Proxy>
       # USM
       <Proxy /usm-json>
           ProxyPass balancer://oxcluster/usm-json
       </Proxy>
       # SOAP
       <Proxy /webservices>
           ProxyPass balancer://oxcluster/webservices
      </Proxy>
      <Proxy /realtime>
           ProxyPass balancer://oxcluster/realtime
      </Proxy>
       # OXtender/EAS specific proxy container with higher timeout
       <Proxy /Microsoft-Server-ActiveSync>
           ProxyPass balancer://eas_oxcluster/Microsoft-Server-ActiveSync
       </Proxy>
    </IfModule>
    /opt/open-xchange/etc/drive.properties :
    Code:
    # Properties for com.openexchange.drive
    
    
    # == General =================================================================
    
    # Enables or disables the "drive" module capability globally. The capability
    # can also be set more fine-grained via config cascade. Per default it is only
    # enabled for users that have the "infostore" permission set. This is configured
    # in /opt/open-xchange/etc/contextSets/drive.yml.
    com.openexchange.capability.drive=true
    
    # Short product name as used in the version comment string inserted for drive
    # uploads, e.g. "Uploaded with OX Drive (Ottos Laptop)". Defaults to 
    # "OX Drive".
    com.openexchange.drive.shortProductName=OX Drive
    
    
    # == Temp Cleaner ============================================================
    
    # Specifies whether the synchronization logic will make use of a folder named 
    # ".drive" below the root synchronization folder or not. If enabled, this 
    # folder is used to store temporary uploads and removed files, which usually
    # leads to a better user experience since previously synchronized files can
    # be restored from there for example. If not, removed files are not kept, and
    # uploads are performed directly in the target folder.
    # Defaults to "true".
    com.openexchange.drive.useTempFolder=true
    
    # Configures the interval between runs of the cleaner process for the 
    # temporary ".drive" folder. A cleaner run is only initiated if the 
    # synchronization is idle, i.e. the last synchronization resulted in no 
    # actions to be performed, and the last run was before the configured 
    # interval. The value can be defined using units of measurement: "D" (=days), 
    # "W" (=weeks) and "H" (=hours). Defaults to "1D" (one day).
    com.openexchange.drive.cleaner.interval=1D
    
    # Defines the maximum age of files and directories to be kept inside the 
    # temporary ".drive" folder. Files or directories that were last modified 
    # before the configured age are deleted during the next run of the cleaner
    # process. The value can be defined using units of measurement: "D" (=days), 
    # "W" (=weeks) and "H" (=hours). Defaults to "1D" (one day).
    com.openexchange.drive.cleaner.maxAge=1D
    
    
    # == Throttling ==============================================================
    
    # Allows to limit the maximum used bandwidth for all downloads. If
    # configured, downloads via the drive module handled by this backend node will
    # not exceed the configured bandwidth. The available bandwidth is defined as 
    # the number of allowed bytes per second, where the byte value can be 
    # specified with one of the units "B" (bytes), "kB" (kilobyte), "MB" 
    # (Megabyte) or "GB" (Gigabyte), e.g. "10 MB". Must fit into the "Integer" 
    # range, i.e. the configured number of bytes has to be be smaller than 2^31. 
    # Defaults to "-1" (no limitations).
    com.openexchange.drive.maxBandwidth=-1
    
    # Allows to limit the maximum used bandwidth for client downloads within the 
    # same session. If configured, downloads originating in the same session via 
    # the drive module handled by this backend node will not exceed the 
    # configured bandwidth. The available bandwidth is defined as the number of 
    # allowed bytes per second, where the byte value can be specified with one of 
    # the units "B" (bytes), "kB" (kilobyte), "MB" (Megabyte) or "GB" (Gigabyte), 
    # e.g. "500 kB". Must fit into the "Integer" range, i.e. the configured 
    # number of bytes has to be be smaller than 2^31. Defaults to "-1" (no 
    # limitations).
    com.openexchange.drive.maxBandwidthPerClient=-1
    
    # Specifies the maximum allowed number of synchronization operations, i.e. 
    # all requests to the "drive" module apart from up- and downloads, that the 
    # server accepts concurrently. While the limit is reached, further 
    # synchronization requests are rejected in a HTTP 503 manner (service 
    # unavailable), and the client is instructed to try again at a later time. 
    # Defaults to "-1" (no limitations). 
    com.openexchange.drive.maxConcurrentSyncOperations=-1
    
    
    # == Direct Link Templates ===================================================
    
    # Configures the pattern for a direct link to manage a user's quota. Text in 
    # brackets is replaced dynamically during link generation in the backend, 
    # however, it's still possible to overwrite them here with a static value, or 
    # even define an arbitrary URL here. 
    # [protocol] is replaced automatically with the protocol used by the client 
    # (typically "http" or "https").
    # [hostname] should be replaced with the server's canonical host name (if not,
    # the server tries to determine the hostname on it's own), [uiwebpath] is 
    # replaced with the value of "com.openexchange.UIWebPath" as defined in 
    # "server.properties", while [dispatcherPrefix] is replaced with the value of
    # "com.openexchange.dispatcher.prefix" ("server.properties", too). 
    # [contextid], [userid] and [login] are replaced to reflect the values of the 
    # current user. 
    # Defaults to "[protocol]://[hostname]".
    com.openexchange.drive.directLinkQuota=[protocol]://[hostname]
    
    # Configures the pattern for a direct link to the online help. This serves as
    # target for the "Help" section in the client applications. Text in brackets 
    # is replaced dynamically during link generation in the backend, however, it's
    # still possible to overwrite them here with a static value, or even define an 
    # arbitrary URL here.
    # [protocol] is replaced automatically with the protocol used by the client 
    # (typically "http" or "https").
    # [hostname] should be replaced with the server's canonical host name (if not,
    # the server tries to determine the hostname on it's own), [uiwebpath] is 
    # replaced with the value of "com.openexchange.UIWebPath" as defined in 
    # "server.properties", while [dispatcherPrefix] is replaced with the value of
    # "com.openexchange.dispatcher.prefix" ("server.properties", too). 
    # [contextid], [userid] and [login] are replaced to reflect the values of the 
    # current user. 
    # Defaults to "[protocol]://[hostname]/[uiwebpath]/help/[locale]/index.html".
    com.openexchange.drive.directLinkHelp=[protocol]://[hostname]/[uiwebpath]/help-drive/l10n/[locale]/index.html
    
    
    # == Push ====================================================================
    
    # Enables or disables push event notifications to clients using the Apple Push
    # Notification service (APNS) for iOS devices. This requires a valid 
    # configuration for the APNS certificate and keys, see either options below, 
    # or install the restricted components packages for drive. Defaults to 
    # "false". 
    com.openexchange.drive.events.apn.ios.enabled=false
    
    # Specifies the path to the local keystore file (PKCS #12) containing the APNS 
    # certificate and keys for the iOS application, e.g. 
    # "/opt/open-xchange/etc/drive-apns.p12". Required if 
    # "com.openexchange.drive.events.apn.enabled" is "true" and the package 
    # containing the restricted drive components is not installed.
    com.openexchange.drive.events.apn.ios.keystore=
    
    # Specifies the password used when creating the referenced keystore containing
    # the certificate of the iOS application. Note that blank or null passwords 
    # are in violation of the PKCS #12 specifications. Required if 
    # "com.openexchange.drive.events.apn.enabled" is "true" and the package 
    # containing the restricted drive components is not installed.
    com.openexchange.drive.events.apn.ios.password=
    
    # Indicates which APNS service is used when sending push notifications to iOS
    # devices. A value of "true" will use the production service, a value of 
    # "false" the sandbox service. Defaults to "true".
    com.openexchange.drive.events.apn.ios.production=true
    
    # Configures the interval between queries to the APN feedback service for the
    # subscribed iOS devices. The value can be defined using units of measurement: 
    # "D" (=days), "W" (=weeks) and "H" (=hours). Defaults to "1D" (one day). 
    # Leaving this parameter empty disables the feedback queries on this node. 
    # Since each received feedback is processed cluster-wide, only one node in the 
    # cluster should be enabled here. 
    com.openexchange.drive.events.apn.ios.feedbackQueryInterval=1D
    
    # Enables or disables push event notifications to clients using the Apple Push
    # Notification service (APNS) for Mac OS devices. This requires a valid 
    # configuration for the APNS certificate and keys, see either options below, 
    # or install the restricted components packages for drive. Defaults to 
    # "false". 
    com.openexchange.drive.events.apn.macos.enabled=false
    
    # Specifies the path to the local keystore file (PKCS #12) containing the APNS 
    # certificate and keys for the Mac OS application, e.g. 
    # "/opt/open-xchange/etc/drive-apns.p12". Required if 
    # "com.openexchange.drive.events.apn.macos.enabled" is "true" and the package 
    # containing the restricted drive components is not installed.
    com.openexchange.drive.events.apn.macos.keystore=
    
    # Specifies the password used when creating the referenced keystore containing
    # the certificate of the Mac OS application. Note that blank or null passwords 
    # are in violation of the PKCS #12 specifications. Required if 
    # "com.openexchange.drive.events.apn.macos.enabled" is "true" and the package 
    # containing the restricted drive components is not installed.
    com.openexchange.drive.events.apn.macos.password=
    
    # Indicates which APNS service is used when sending push notifications to Mac 
    # OS devices. A value of "true" will use the production service, a value of 
    # "false" the sandbox service. Defaults to "true".
    com.openexchange.drive.events.apn.macos.production=true
    
    # Configures the interval between queries to the APN feedback service for the
    # subscribed Mac OS devices. The value can be defined using units of 
    # measurement: "D" (=days), "W" (=weeks) and "H" (=hours). Defaults to "1D" 
    # (one day). Leaving this parameter empty disables the feedback queries on 
    # this node. Since each received feedback is processed cluster-wide, only one 
    # node in the cluster should be enabled here. 
    com.openexchange.drive.events.apn.macos.feedbackQueryInterval=1D
    
    # Enables or disables push event notifications to clients using the Google
    # Cloud Messaging (GCM) service. This requires a valid configuration for the 
    # GCM API key, see options below. Defaults to "false". 
    com.openexchange.drive.events.gcm.enabled=true
    
    # Specifies the API key of the server application. Required if 
    # "com.openexchange.drive.events.gcm.enabled" is "true" and the package 
    # containing the restricted drive components is not installed.
    com.openexchange.drive.events.gcm.key=
    
    # Configures whether blocking long polling for pushing synchronization events 
    # to clients may be used as fallback when no other long polling handlers are 
    # available due to missing support of the HTTP service. Handling long polling 
    # in a blocking manner consumes a server thread, and should therefore only be 
    # enabled for testing purposes. Defaults to "false". 
    com.openexchange.drive.events.blockingLongPolling.enabled=false
    
    
    # == Version Restrictions ====================================================
    
    # The following properties allow the configuration of version restrictions for 
    # the supported clients. For each client (Windows, Mac OS, iOS and Android),
    # two restrictions can be set. First, a "soft" limit that has informational 
    # character only, i.e. the client is just informed about an available update
    # when identifying with a lower version number. Second, the "hard" limit will
    # restrict further synchronization of clients that identify themselves with a 
    # lower version number.
    # The properties are disabled by default to always fall back to the 
    # recommended settings, but can be overridden if needed. 
    
    #com.openexchange.drive.version.windows.softMinimum=
    #com.openexchange.drive.version.windows.hardMinimum=
    
    #com.openexchange.drive.version.macos.softMinimum=
    #com.openexchange.drive.version.macos.hardMinimum=
    
    #com.openexchange.drive.version.ios.softMinimum=
    #com.openexchange.drive.version.ios.hardMinimum=
    
    #com.openexchange.drive.version.android.softMinimum=
    #com.openexchange.drive.version.android.hardMinimum=
    My normal URL to the appsuite is: https://example.com/appsuite
    For OX Drive on Android I tried: https://example.com and https://example.com/appsuite; both failed

    Any idea, what's wrong?
    Last edited by 881822; 11-19-2014 at 03:30 PM.
    Viele Grüße
    Rene

    OS: Ubuntu Server amd64 12.4 LTS
    JRE: openjdk-7-jre, MySQL: 5.5, Apache 2.2, Dovecot 2.0.19
    OX-Server backend: OXSE latest
    OX-frontend: OXSE latest appsuite + ox6

  2. #2
    Join Date
    Aug 2008
    Posts
    107

    Default

    Hey there,

    no idea? Is there any additional information, I can provide?

    Many thanks in advance.
    Viele Grüße
    Rene

    OS: Ubuntu Server amd64 12.4 LTS
    JRE: openjdk-7-jre, MySQL: 5.5, Apache 2.2, Dovecot 2.0.19
    OX-Server backend: OXSE latest
    OX-frontend: OXSE latest appsuite + ox6

  3. #3

    Default

    Hallo Rene,

    konntest Du das Problem lösen?
    Ich bin jetzt auf das gleiche Problem gestoßen.

    Vielen Dank

    Gruß Johann

  4. #4
    Join Date
    Aug 2008
    Posts
    107

    Default

    Hallo Johann,

    leider nein, ich kann mich weiterhin nicht mit der "OX Drive" App anmelden.
    Viele Grüße
    Rene

    OS: Ubuntu Server amd64 12.4 LTS
    JRE: openjdk-7-jre, MySQL: 5.5, Apache 2.2, Dovecot 2.0.19
    OX-Server backend: OXSE latest
    OX-frontend: OXSE latest appsuite + ox6

  5. #5
    Join Date
    Sep 2007
    Location
    Germany
    Posts
    494

    Default

    Gibt es noch irgendwelche weiteren Hinweise?
    Apache access logs müssten ja irgendwas zeigen? HTTP response codes?
    Oder mal auf Port 8009 den Traffic zwischen OX und Apache aufzeichnen und sehen, was da passiert.

  6. #6
    Join Date
    Aug 2008
    Posts
    107

    Default

    Vielen Dank für die Hinweise. Leider gibt es weder in der access.log noch in der error.log des Apache eine entsprechende Meldung.

    Habe ich erwähnt, das es sich beimssl-Zertifikat für den Apache um ein self-signed Zertifikat handelt?

    Wie kann ich den Traffic zwischen OX und Apache auf Port 8009 aufzeichnen?
    Viele Grüße
    Rene

    OS: Ubuntu Server amd64 12.4 LTS
    JRE: openjdk-7-jre, MySQL: 5.5, Apache 2.2, Dovecot 2.0.19
    OX-Server backend: OXSE latest
    OX-frontend: OXSE latest appsuite + ox6

  7. #7
    Join Date
    Sep 2007
    Location
    Germany
    Posts
    494

    Default

    Ich befürchte fast, es könnte an dem self-signed Zertifikat liegen.
    Wenn nichts im Apache access log auftaucht, geht wohl schon früher was schief :-(

    Traffic mitschneiden (was voraussichtlich nichts bringt):
    tcpdump -s0 -w output.tcp -i lo port 8009

    Danach kann man output.tcp schön in wireshark laden und sich in Ruhe ansehen.

  8. #8
    Join Date
    Aug 2008
    Posts
    107

    Default

    Quote Originally Posted by Wolfgang Rosenauer View Post
    Ich befürchte fast, es könnte an dem self-signed Zertifikat liegen.
    Wenn nichts im Apache access log auftaucht, geht wohl schon früher was schief :-(

    Traffic mitschneiden (was voraussichtlich nichts bringt):
    tcpdump -s0 -w output.tcp -i lo port 8009

    Danach kann man output.tcp schön in wireshark laden und sich in Ruhe ansehen.
    Oh, das wäre natürlich schade. Wird das denn noch geändert? Alle übrigen Funktionen, bis hin zu eax können ja mit einem solchen Certificate genutzt werden.

    Den Output habe ich mitgeschnitten, wie oben beschrieben. Wonach soll ich suchen in der Datei. Soweit ich das erkenen kann, wird auch der eax-Traffic hier abgebildet.
    Viele Grüße
    Rene

    OS: Ubuntu Server amd64 12.4 LTS
    JRE: openjdk-7-jre, MySQL: 5.5, Apache 2.2, Dovecot 2.0.19
    OX-Server backend: OXSE latest
    OX-frontend: OXSE latest appsuite + ox6

  9. #9
    Join Date
    Sep 2007
    Location
    Germany
    Posts
    494

    Default

    Zugriffe auf den Pfad ajax/drive müssten im Traffic auftauchen (in der Zeit sollte niemand mit der WebUI im Drive rumgeklickt haben).
    Wenn da nichts auftaucht, dann geht schon vorher was schief. Ich versuche mal rauszufinden, ob was mit self signed Zertifikaten bekannt ist.

  10. #10

    Default

    Unter Windows klappt es auch nicht. Es kann nur am self signed Zertifikat liegen. Wäre es möglich irgendwo in configs einzustellen, dass die self signed Zertifikate akzeptiert werden?

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •