Calling Developers!
We are reenergizing our code contribution process! Learn More

What are the Slack Archives?

It’s a history of our time together in the Slack Community! There’s a ton of knowledge in here, so feel free to search through the archives for a possible answer to your question.

Because this space is not active, you won’t be able to create a new post or comment here. If you have a question or want to start a discussion about something, head over to our categories and pick one to post in! You can always refer back to a post from Slack Archives if needed; just copy the link to use it as a reference..

Hi, I will be getting this exception when logging into the backoffice.

Options
U02445UB631
U02445UB631 Posts: 37 🧑🏻‍🚀 - Cadet

Hi, I will be getting this exception when logging into the backoffice.

Comments

  • Thomas Lehner
    Thomas Lehner Support Engineer @ Spryker Posts: 289 🏛 - Council (mod)
    Options

    have you tried incognito tab?

  • U01K43ADW5N
    U01K43ADW5N Posts: 69 🧑🏻‍🚀 - Cadet
    edited June 2021
    Options

    Try to access it with https instead of http

  • U02445UB631
    U02445UB631 Posts: 37 🧑🏻‍🚀 - Cadet
    Options

    Have tried it in Incognito but didnt help.

  • Valerii Trots
    Valerii Trots SRE @ Spryker Sprykee Posts: 1,654 ✨ - Novice
    Options

    Another browser?

  • U02445UB631
    U02445UB631 Posts: 37 🧑🏻‍🚀 - Cadet
    Options

    I have tried with chrome.

  • U02445UB631
    U02445UB631 Posts: 37 🧑🏻‍🚀 - Cadet
    Options

    trying with ff

  • U02445UB631
    U02445UB631 Posts: 37 🧑🏻‍🚀 - Cadet
    Options

    same in FF & Safari. if we use Vagrant or docker, its working well with http. i will be trying to setup in a separate ubuntu environment

  • U02445UB631
    U02445UB631 Posts: 37 🧑🏻‍🚀 - Cadet
    Options

    Tried with https as well but still getting the same error.

  • Thomas Lehner
    Thomas Lehner Support Engineer @ Spryker Posts: 289 🏛 - Council (mod)
    Options

    I am getting the same when i try to login on this shop of yours. What is the basis for that shop? Suite? B2b, b2c? How old?

  • U023LUXS8MR
    U023LUXS8MR Posts: 5 🧑🏻‍🚀 - Cadet
    edited June 2021
    Options

    Remembers me of some issue I had a while ago when extending an existing product edit form with an own subform. The extension Twig-Template broke the CSRF-Token-Embedding in the original form by using form(…)-Function, leading to such error message.

  • U023V02CMJA
    U023V02CMJA Posts: 2 🧑🏻‍🚀 - Cadet
    Options

    Thought: where are your php sessions saved? are they saved? Maybe it's not configured properly on your setup (since it seems to work on docker)

  • U024R34QUR4
    U024R34QUR4 Posts: 15 🧑🏻‍🚀 - Cadet
    Options

    I think it’s a cookie related issue, I get this message when visiting the site of yours

    Cookie "zed-us-suite-local" has been rejected for invalid domain.
    

    Resulting in no cookies at all making the login impossible because of not having any session.

  • U02445UB631
    U02445UB631 Posts: 37 🧑🏻‍🚀 - Cadet
    Options

    Thanks for the responses. I will verify the cookie generated.

  • U02445UB631
    U02445UB631 Posts: 37 🧑🏻‍🚀 - Cadet
    Options

    @tom.lehner i will be trying to setup B2B latest in ubuntu machine ( not using docker or vm). trying fresh setup in Ubuntu 20.04

  • U02445UB631
    U02445UB631 Posts: 37 🧑🏻‍🚀 - Cadet
    Options

    @U023V02CMJA, php sessions configured to save in files under folder /var/lib/php/sessions. Given full permissions but no luck. I will be using php 7.4.3 version. Is there any other specific version should need to be installed?

  • U023V02CMJA
    U023V02CMJA Posts: 2 🧑🏻‍🚀 - Cadet
    Options

    What's the env variable SPRYKER_BE_HOST set to?

  • U02445UB631
    U02445UB631 Posts: 37 🧑🏻‍🚀 - Cadet
    Options

    Hi @U023V02CMJA This is not configured with any values. does this is mandatory?

  • U02445UB631
    U02445UB631 Posts: 37 🧑🏻‍🚀 - Cadet
    Options

    Hi @U023V02CMJA, got the issue now. the zedhost and yves host for session cookiedomain and session cookie name should have updated if we use custom domain to access the Storefront and backoffice.

  • U02445UB631
    U02445UB631 Posts: 37 🧑🏻‍🚀 - Cadet
    Options

    I made the change according to my domain and got the access now.