500 Internal Server Error on first login


I can’t login to YUNO just after the successful post-installation.
It’s related to cookies but clearing my browser cache and everything didn’t help.
Has someone ever seen this error before?
Here is YUNO traceback.

    Traceback (most recent call last):
      File "/usr/lib/python2.7/dist-packages/bottle.py", line 862, in _handle
        return route.call(**args)
      File "/usr/lib/python2.7/dist-packages/bottle.py", line 1728, in wrapper
        rv = callback(*a, **ka)
      File "/usr/lib/python2.7/dist-packages/moulinette/interfaces/api.py", line 596, in wrapper
        return callback(*args, **kwargs)
      File "/usr/lib/python2.7/dist-packages/moulinette/interfaces/api.py", line 145, in wrapper
        return callback(**kwargs)
      File "/usr/lib/python2.7/dist-packages/moulinette/interfaces/api.py", line 213, in login
        s_id = request.get_cookie('session.id') or random_ascii()
      File "/usr/lib/python2.7/dist-packages/bottle.py", line 1059, in get_cookie
        value = self.cookies.get(key)
      File "/usr/lib/python2.7/dist-packages/bottle.py", line 166, in __get__
        if key not in storage: storage[key] = self.getter(obj)
      File "/usr/lib/python2.7/dist-packages/bottle.py", line 1051, in cookies
        cookies = SimpleCookie(self.environ.get('HTTP_COOKIE','')).values()
      File "/usr/lib/python2.7/Cookie.py", line 579, in __init__
        if input: self.load(input)
      File "/usr/lib/python2.7/Cookie.py", line 632, in load
      File "/usr/lib/python2.7/Cookie.py", line 665, in __ParseString
        self.__set(K, rval, cval)
      File "/usr/lib/python2.7/Cookie.py", line 585, in __set
        M.set(key, real_value, coded_value)
      File "/usr/lib/python2.7/Cookie.py", line 460, in set
        raise CookieError("Illegal key value: %s" % key)
    CookieError: Illegal key value: cv2_0:use_hi_res

I had a similar problem when using an admin password containing some specific keys (French accents, for instance: é à è).

Could it be the same problem ?

Definitely no specific key in my case.
Regarding password, my admin and root passwords are different, is that ok?

Root and admin are different accounts and have different passwords. Try another browser?

Chromium works fine. Thanks.
I’m very new to yuno and I heard there was an issue concerning the SSL and firefox but I didn’t expect Cookies error. I guess someone else got this problem before, and this has been reported in the bug tracker, is it?

I get this same issue with Firefox, but no problem with chromium. I’m not sure which repo would be appropriate to report this to.

This is infortunately a known bug.

It is related to the fact that we do not concatenate the certificate with the CA. We will fix this as soon as we can, thank you for your feedbacks though :blush:


J’ai le même souci sous Firefox quand je logue et motdepasse le formulaire d’accès à mon portail YunoHost j’obtiens:

500 Internal Server Error


Je n’ai pas avec Epiphany 3.10.3.
Je suis sous Linux Mint 17 et j’utilise YunoHost sur La Brique.
Merci à Neutrinet et tous les contributeurs!

Y-a-t-il un contournement de ce problème?

I tried to restart nginx on root

# service nginx restart

I emptied my browser’s cache & cookies as it was told on the topic Nginx error 500
But I can’t login as user at YunoHost with Firefox. I can do it on Epiphany.
What is going wrong with Firefox conf?

Thank you for your help!