Bug 423407 - Infinite loop when creating Owncloud online account
Summary: Infinite loop when creating Owncloud online account
Status: REPORTED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_kaccounts (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Telepathy Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-06-23 19:51 UTC by Ceaus
Modified: 2021-07-29 15:19 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Screenshot (288.83 KB, image/png)
2020-06-23 19:51 UTC, Ceaus
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ceaus 2020-06-23 19:51:47 UTC
Created attachment 129616 [details]
Screenshot

SUMMARY


STEPS TO REPRODUCE
1. Deploy a Owncload instance *refusing* a connection on a certain IP range.
2. Create an Owncloud connection using KDE's System Settings > Online Accounts. Run this from a client within the refused network range (in my case an OpenVPN network range).
3. Provide the connection details in the popup window.

OBSERVED RESULT
The spinner will run endlessly, and commandline output will also endlessly spew out a connection error:
Checking for ownCloud instance at QUrl("https://cloud.lan.pohw.nl/status.php")
"Kon geen verbinding maken met host cloud.lan.pohw.nl: Connection refused."
"cloud.lan.pohw.nl: Connection refused"
Received url to figure out: QUrl("https://cloud.lan.pohw.nl/status.php")
Checking for ownCloud instance at QUrl("https://cloud.lan.pohw.nl/status.php")
"Kon geen verbinding maken met host cloud.lan.pohw.nl: Connection refused."
"cloud.lan.pohw.nl: Connection refused"
Received url to figure out: QUrl("https://cloud.lan.pohw.nl/status.php")
Checking for ownCloud instance at QUrl("https://cloud.lan.pohw.nl/status.php")
"Kon geen verbinding maken met host cloud.lan.pohw.nl: Connection refused."
"cloud.lan.pohw.nl: Connection refused"



EXPECTED RESULT
A human interface error message stating a connection error. After acknowledging the error to return to the Online Accounts interface.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: OpenSUSE Leap 15.1 
(available in About System)
KDE Plasma Version: 5.12.8
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Ceaus 2020-06-23 21:05:13 UTC
After further experimentation it seems a more generic problem. For instance it also happens when I fill in a non-existing host name.