Bookmark Export doesn't work

Server
NC 11.0.1
Ubuntu 16.04

Client:
Ubuntu 16.10
Firefox 51.0.1

Error message when trying to Export bookmarks:
Access forbidden
CSRF check failed

Some entries in the log:
Error PHP hash_equals(): Expected user_string to be a string, integer given at /var/www/nextcloud/lib/private/Security/CSRF/CsrfTokenManager.php#104

Which Bookmarks version?

0.9.1

But now it’s no more reproduce able. Also no errors in logging.

##CLOSED##

Hi!

I have the same issue.

Server
Nextcloud 11.0.2
Bookmaks app 0.9.1
macOS Server 10.12.2 (I know, at my own… :upside_down:)
PHP 7.0.15
MySQL 5.7.17

The users are imported from an LDAP server (Apple Open Directory).

Client
Safari 10.0.3
Firefox 52.0.1
both on macOS 10.12.3

When I try to export my bookmarks, I get the “Access forbidden CSRF check failed” error message.

And in the logs:
hash_equals(): Expected user_string to be a string, integer given at /Library/Server/Web/Data/Sites/cloud.nollivier.com/lib/private/Security/CSRF/CsrfTokenManager.php#104 :thinking:

I already got that issue few weeks ago and, as suggested by some people in this feed, I add 'forcessl' = true and that solved the problème. :+1: But this time, no. :slight_frown:

Actually, I can export bookmarks of the admin account, which is not imported from the LDAP and, above all, has only one URL in it… While I have maybe 300 or 400 URL in my bookmarks. :sweat_smile:

Does anyone have an idea?