You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Client is expected to connect to the server and login.
Actual behaviour
Client is unable to connect to the server using SSL with self-signed wildcard 4096 bit certificate. Login fails with vanilla error "Unknown error occurred".
Webserver identification string was altered to "Anarchy webserver" in source code prior to the compilation. However, this behavior should not affect client functionality when connecting.
Steps to reproduce
Wildcard certificate was imported into Android and is successfully used with another app for the same server.
Open app, try to login => error message.
Environment data
Android version: Cyanogenmod 10.2 / Android 4.3.1
Device model: GT-I8160 (Samsung Galaxy Ace II)
Stock or customized system: CM
ownCloud app version:1.5.4
ownCloud server version: 6.0.1
Logs
(logcat output)
03-08 11:47:26.094 E/OwnCloudServerCheckOperation(5058): Connection check at https://cloud.mydomain.com/status.php: HTTP violation
03-08 11:47:26.094 E/OwnCloudServerCheckOperation(5058): org.apache.commons.httpclient.ProtocolException: Unable to parse header: Anarchy webserver
03-08 11:47:26.094 E/OwnCloudServerCheckOperation(5058): at org.apache.commons.httpclient.HttpParser.parseHeaders(HttpParser.java:202)
03-08 11:47:26.094 E/OwnCloudServerCheckOperation(5058): at org.apache.commons.httpclient.HttpMethodBase.readResponseHeaders(HttpMethodBase.java:1935)
03-08 11:47:26.094 E/OwnCloudServerCheckOperation(5058): at org.apache.commons.httpclient.HttpMethodBase.readResponse(HttpMethodBase.java:1737)
03-08 11:47:26.094 E/OwnCloudServerCheckOperation(5058): at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1098)
03-08 11:47:26.094 E/OwnCloudServerCheckOperation(5058): at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398)
03-08 11:47:26.094 E/OwnCloudServerCheckOperation(5058): at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
03-08 11:47:26.094 E/OwnCloudServerCheckOperation(5058): at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
03-08 11:47:26.094 E/OwnCloudServerCheckOperation(5058): at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323)
03-08 11:47:26.094 E/OwnCloudServerCheckOperation(5058): at com.owncloud.android.lib.network.OwnCloudClient.executeMethod(OwnCloudClient.java:177)
03-08 11:47:26.094 E/OwnCloudServerCheckOperation(5058): at com.owncloud.android.lib.network.OwnCloudClient.executeMethod(OwnCloudClient.java:157)
03-08 11:47:26.094 E/OwnCloudServerCheckOperation(5058): at com.owncloud.android.lib.operations.remote.OwnCloudServerCheckOperation.tryConnection(OwnCloudServerCheckOperation.java:82)
03-08 11:47:26.094 E/OwnCloudServerCheckOperation(5058): at com.owncloud.android.lib.operations.remote.OwnCloudServerCheckOperation.run(OwnCloudServerCheckOperation.java:146)
03-08 11:47:26.094 E/OwnCloudServerCheckOperation(5058): at com.owncloud.android.lib.operations.common.RemoteOperation.run(RemoteOperation.java:222)
03-08 11:47:26.094 E/OwnCloudServerCheckOperation(5058): at java.lang.Thread.run(Thread.java:841)
...
03-08 11:47:29.147 E/OwnCloudServerCheckOperation(5058): at java.lang.Thread.run(Thread.java:841)
03-08 11:47:40.558 E/OwnCloudServerCheckOperation(5058): Connection check at http://cloud.mydomain.com/status.php: Socket timeout exception
03-08 11:47:40.558 E/OwnCloudServerCheckOperation(5058): java.net.SocketTimeoutException
03-08 11:47:40.558 E/OwnCloudServerCheckOperation(5058): at java.net.PlainSocketImpl.read(PlainSocketImpl.java:492)
03-08 11:47:40.558 E/OwnCloudServerCheckOperation(5058): at java.net.PlainSocketImpl.access$000(PlainSocketImpl.java:46)
03-08 11:47:40.558 E/OwnCloudServerCheckOperation(5058): at java.net.PlainSocketImpl$PlainSocketInputStream.read(PlainSocketImpl.java:241)
03-08 11:47:40.558 E/OwnCloudServerCheckOperation(5058): at java.io.InputStream.read(InputStream.java:163)
03-08 11:47:40.558 E/OwnCloudServerCheckOperation(5058): at java.io.BufferedInputStream.fillbuf(BufferedInputStream.java:142)
03-08 11:47:40.558 E/OwnCloudServerCheckOperation(5058): at java.io.BufferedInputStream.read(BufferedInputStream.java:227)
03-08 11:47:40.558 E/OwnCloudServerCheckOperation(5058): at org.apache.commons.httpclient.HttpParser.readRawLine(HttpParser.java:78)
03-08 11:47:40.558 E/OwnCloudServerCheckOperation(5058): at org.apache.commons.httpclient.HttpParser.readLine(HttpParser.java:106)
03-08 11:47:40.558 E/OwnCloudServerCheckOperation(5058): at org.apache.commons.httpclient.HttpConnection.readLine(HttpConnection.java:1116)
03-08 11:47:40.558 E/OwnCloudServerCheckOperation(5058): at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.readLine(MultiThreadedHttpConnectionManager.java:1413)
Hi, @technodrome . The change of the webserver identification is breaking HTTP. See the curl output; the line "Anarchy webserver" should be "Server: Anarchy webserver". The client is trying to process the line as a header: value and failing due to that.
Try to recover the "Server: " prefix and tell us how it goes.
Expected behaviour
Client is expected to connect to the server and login.
Actual behaviour
Client is unable to connect to the server using SSL with self-signed wildcard 4096 bit certificate. Login fails with vanilla error "Unknown error occurred".
Webserver identification string was altered to "Anarchy webserver" in source code prior to the compilation. However, this behavior should not affect client functionality when connecting.
Steps to reproduce
Environment data
Android version: Cyanogenmod 10.2 / Android 4.3.1
Device model: GT-I8160 (Samsung Galaxy Ace II)
Stock or customized system: CM
ownCloud app version:1.5.4
ownCloud server version: 6.0.1
Logs
(logcat output)
CURL output
Web server error log
No errors. Output from nginx's access.log (HTTP 200 so no problem there)
Server modules
ownCloud log (data/owncloud.log)
no output as this problem is concerned
One last thing, my girlfriend is doing the vacuuimg and says hello to you :)
The text was updated successfully, but these errors were encountered: