[iOS] Self-signed certificates not working
Which version of floccus are you using?
Lastest from App Store
Sync method
{"label"=>"Nextcloud Bookmarks"}
Which browser are you using? In case you are using the Android App, specify the Android version please.
No response
Which version of Nextcloud Bookmarks are you using? (if relevant)
No response
Which version of Nextcloud? (if relevant)
No response
What kind of WebDAV server are you using? (if relevant)
No response
Describe the Bug
After install the app, just launched, then selected the NextCloud Bookmarks option and insert the url of my Nextcloud instance, as already did it for the browser extension on my computers. The app keep loading without going further in the setup wizard
Expected Behavior
Proceed in the setup
To Reproduce
Already wrote in the description part
Debug log provided
- [ ] I have provided a debug log file
Hello!
Which iOS version is this and what device?
iPhone SE 2020 with iOS 15.5
On Fri, Jun 17, 2022 at 16:04, Marcel Klehr @.***> wrote:
Hello!
Which iOS version is this and what device?
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>
Also on iPad 7th gen, same iOS version
On Fri, Jun 17, 2022 at 17:08, Malvicini Carlo @.***> wrote:
iPhone SE 2020 with iOS 15.5
On Fri, Jun 17, 2022 at 16:04, Marcel Klehr @.***> wrote:
Hello!
Which iOS version is this and what device?
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>
Do you use 2 factor authentication?
Yes, but I can't even use app's password because floccus doesn't accept the address
So it stalls after the first button press directly after entering the URL?
Floccus tests the URL as follows: POST {nextcloudURL}/index.php/login/v2 can you try that with curl, perhaps?
It rejects the url saying is wrong, so I can’t proceed to authentication
On Sun, Jul 3, 2022 at 14:16, Marcel Klehr @.***> wrote:
So it stalls after the first button press directly after entering the URL?
Floccus tests the URL as follows: POST {nextcloudURL}/index.php/login/v2 can you try that with curl, perhaps?
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>
Result of curl:
“ Please enter content (application/x-www-form-encoded) to be POSTed”
and after wait for input
On Sun, Jul 3, 2022 at 14:16, Marcel Klehr @.***> wrote:
So it stalls after the first button press directly after entering the URL?
Floccus tests the URL as follows: POST {nextcloudURL}/index.php/login/v2 can you try that with curl, perhaps?
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>
You can POST an empty message in curl
It rejects the url saying is wrong
Do you mind sending me the URL in private, e.g. email (see my github profile) so I can check why it might be seen as invalid?
You can POST an empty message in curl
Still it keep waiting for input even after input
maybe ctrl+D
It rejects the url saying is wrong
Do you mind sending me the URL in private, e.g. email (see my github profile) so I can check why it might be seen as invalid?
No sorry, it's my private instance.
It works with all the following OS/ software with no problem:
- Gnome
- Joplin
- Floccus browser extension (Firefox)
- macOS
- Windows
And many others.
I made it to not share with anyone
No sorry, it's my private instance.
ok, I understand.
Are you using a self-signed certificate?
maybe ctrl+D
Here the result:
LWP will support https if the LWP::Protocol::https module is installed
So the app use a different method from other app and browser extension to handle https?
No sorry, it's my private instance.
ok, I understand.
Are you using a self-signed certificate?
Yes.
The only software where I've had problem due to this is macOS which accept only certificates with specific criteria, even with self-signed With other software no specific problem about certificate
LWP will support https if the LWP::Protocol::https module is installed So the app use a different method from other app and browser extension to handle https?
This is a message from your server, it has nothing to do with floccus.
So, either your https setup is broken, as curl cannot seem to connect either, or floccus cannot handle self-signed certificates on iOS (which I haven't tested yet, but is not unlikely, it also doesn't work on Android).
I'm pretty sure is the second: Also Joplin for iOS has problem with self signed certificate due to how iOS handle them
I'm closing this as 'won't fix' as self-signed certificates are an avoidable IMO and out of scope of floccus.