nextcloud-filelink icon indicating copy to clipboard operation
nextcloud-filelink copied to clipboard

Network error while setting up account

Open vasyugan opened this issue 8 years ago • 2 comments

Bug report

Yesterday I set up a filelink for Nextcloud just fine and used it once. Today, when using it, it suddenly reported that it was "unauthorized", but clicking "authorize" in the settings did nothing for me.

Then I deleted the account and tried to set it up again, again it did not work, restarted thunderbird and again to no avail.

Verified that my Nextcloud is up and running, also checked whether there are any signs that the extension tries to contact the server, but there is nothing in the webserver log or in the server log.

The Thunderbird console says:

Nextcloud	ERROR	Could not retrieve password
 1 log4moz.js:691
	CApp_append resource:///modules/gloda/log4moz.js:691:7
	Logger_log resource:///modules/gloda/log4moz.js:380:7
	Logger_error resource:///modules/gloda/log4moz.js:388:5
	nsNc_logon jar:file:///C:/Users/heike/AppData/Roaming/Thunderbird/Profiles/p53cogaf.default/extensions/[email protected]!/components/nsNextcloud.js:430:4
	nsNc_createExistingAccount jar:file:///C:/Users/heike/AppData/Roaming/Thunderbird/Profiles/p53cogaf.default/extensions/[email protected]!/components/nsNextcloud.js:310:3
	cloudFileAccounts.createAccount resource:///modules/cloudFileAccounts.js:111:9
	AAD_onOK chrome://messenger/content/cloudfile/addAccountDialog.js:229:20
	anonymous chrome://global/content/bindings/dialog.xml%20line%20380%20%3E%20Function:1:8
	_fireButtonEvent chrome://global/content/bindings/dialog.xml:381:28
	_doButtonCommand chrome://global/content/bindings/dialog.xml:349:28
	_handleButtonCommand chrome://global/content/bindings/dialog.xml:337:18
	CFA_addAccountDialog resource:///modules/cloudFileAccounts.js:193:5
	CFT_addCloudFileAccount chrome://messenger/content/preferences/applications.js:759:22
	gCloudFileController.commands.cmd_addCloudfileAccount.doCommand chrome://messenger/content/preferences/applications.js:445:9
	gCloudFileController.doCommand chrome://messenger/content/preferences/applications.js:489:5
	goDoCommand chrome://global/content/globalOverlay.js:100:7
	oncommand chrome://messenger/content/preferences/preferences.xul:1:1
	openOptionsDialog chrome://messenger/content/mailCore.js:427:7
	onclick chrome://messenger/content/messenger.xul:1:1

I set up the same Nextcloud account again, only this time under a different domain, under which my nextcloud is also available. This time no network error.

So it seems like the actual problem was in the next line where it says ... Nextcloud ERROR Could not retrieve password ...

Just not understanding why. After all, I entered the password yesterday. And this time, when the addon cannot retrieve the password again, why doen't it prompt for one?

Also, I use the same nextcloud instance for calendar and contacts (TB addons Lightning and CardBook), and they don't have any problems.

vasyugan avatar Oct 27 '17 11:10 vasyugan

I am seeing an identical issue in version 1.7 scrot_1162x140_12_11_58

Jeffrey-P-McAteer avatar May 03 '18 16:05 Jeffrey-P-McAteer

Same here with v1.7. Although the click on the button "authorize" succeeds and the details are shown correctly, Thunderbird displays an error in the JS console?! grafik

creopard avatar May 10 '18 17:05 creopard