Bookmark Application keeps logging out

Hi
When I try to add a bookmark, I get the circle icon. It doesn’t stop spinning for over 5 minutes. So I refresh the page and get logged out.
I have tried adding a bookmark and waiting 10 seconds and the same happens, I get logged out.
I can add bookmarks sometimes but it is flaky.
Thanks for the help.
Rich

Do you see anything in the nextcloud log?

Just tried it out and I am getting:
TypeError: Return value of OC\Http\Client\Response::getHeader() must be of the type string, null returned
Do you need all the steps as well?
And at the same time I get:
Undefined offset: 0 at /var/sites/s/*******************/public_html/lib/private/Http/Client/Response.php#74
Does that help?

Which version of nextcloud and the bookmarks app do you have installed? Do you have the files_external_gdrive app installed?

The error you got appears to be an internal bug that shouldn’t, however, prevent bookmarks from being added.

Hi
Thanks for the reply. I have just updated to Nextcloud 14.02. I’ll try to add some bookmarks and see if it has made a difference. Does it matter that I am on shared hosting?

No difference. Added a bookmark fine but couldn’t tag it. Tried to another and it logged me out. The Bookmark app is made by Arthur Schiwon, Marcel Klehr, Marvin Thomas Rabe, Stefan Klemm and it is version 0.13.1

Yep, that’s the right one and that’s me :wink:

Could you check the browser console for errors, too? https://webmasters.stackexchange.com/questions/8525/how-do-i-open-the-javascript-console-in-different-browsers#77337

(Also, which browser are you using?)

I was using Firefox on an Ubuntu 18.04 and got this from the console:
JQMIGRATE: Migrate is installed, version 1.4.0 core.js:7:542

New search handler registered search.js:66:4

Shutting down notifications: [401] Unauthorized App.vue:144

_fetch/< App.vue:144

Source map error: TypeError: NetworkError when attempting to fetch resource. Resource URL: https://***************/apps/bookmarks/js/dist/main.bundle.js?v=070c1f53-8 Source Map URL: ./backbone.radio.js.map[Learn More]
Just heading to Chrome

Ok Chrome was horrible. I couldn’t log in and then discovered that it was taking me from https to http? Here is the log from there.
main.bundle.js?v=070c1f53-8:25915 GET https://***********/index.php/apps/bookmarks/bookmark/28/image 401 (Unauthorized)
infiniteScroll @ main.bundle.js?v=070c1f53-8:25915
triggerEvents @ main.bundle.js?v=070c1f53-8:441
triggerApi @ main.bundle.js?v=070c1f53-8:426
eventsApi @ main.bundle.js?v=070c1f53-8:225
Events.trigger @ main.bundle.js?v=070c1f53-8:416
set @ main.bundle.js?v=070c1f53-8:586
success @ main.bundle.js?v=070c1f53-8:25149
options.success @ main.bundle.js?v=070c1f53-8:1121
fire @ main.bundle.js?v=070c1f53-8:6858
fireWith @ main.bundle.js?v=070c1f53-8:6988
done @ main.bundle.js?v=070c1f53-8:12895
(anonymous) @ main.bundle.js?v=070c1f53-8:13138
load (async)
send @ main.bundle.js?v=070c1f53-8:13157
ajax @ main.bundle.js?v=070c1f53-8:12796
Backbone.ajax @ main.bundle.js?v=070c1f53-8:1530
Backbone.sync @ main.bundle.js?v=070c1f53-8:1513
__WEBPACK_IMPORTED_MODULE_1_backbone___default.a.sync @ main.bundle.js?v=070c1f53-8:25049
sync @ main.bundle.js?v=070c1f53-8:868
fetch @ main.bundle.js?v=070c1f53-8:1125
fetchPage @ main.bundle.js?v=070c1f53-8:25138

And that kept going for ages.

Sorry. I hope I’m not causing you stress! When it does work it is lovely to use. The tags are amazing and I wish I could do that with the passwords app.

So, the reason nothing loads, is that you appear to be already logged out at the time of loading the bookmarks app. It might be because of that error after all. I’ve filed a bug with the core repo…

Thanks for the reply. I’ll carry on using it because it is a good app. Software development for the web as I know and you know is a complicated process, making sure it works on multiple browsers and on multiple platforms. Thanks for all you do.

I think you are correct by the way. If I access Nextcloud via /index.php/login. There is no problem. I login fine and can use apps. The problem seems to be, when I use Nextcloud with an app for instance the photo gallery, it logs me out and when I try to log back in, it simply loops me back to login again. I change the url to the one above and all is fine. Hope that helps with the error. Thanks