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..

Did anyone had an idea or maybe sometimes the same problem? We setup a new shop and get this message

UPF4FKAQ0
UPF4FKAQ0 Posts: 29 πŸ§‘πŸ»β€πŸš€ - Cadet

Did anyone had an idea or maybe sometimes the same problem? We setup a new shop and get this message on login except on one machine.

Comments

  • Hey, problem might be in http/https

  • UPF4FKAQ0
    UPF4FKAQ0 Posts: 29 πŸ§‘πŸ»β€πŸš€ - Cadet

    Hi, thanks for the reply, but unfortunately http/https is not the problem

  • sprymiker
    sprymiker Cloud Platform Architect Sprykee Posts: 781 πŸ§‘πŸ»β€πŸš€ - Cadet

    There 2 possible reasons:
    1. Domain in cookie is wrong
    2. Browser hardly cached something

  • sprymiker
    sprymiker Cloud Platform Architect Sprykee Posts: 781 πŸ§‘πŸ»β€πŸš€ - Cadet

    Try it in private window. If it is works - just clear browser cache in main window. If not - check that cookie is properly set looking into Response Headers.

  • UPF4FKAQ0
    UPF4FKAQ0 Posts: 29 πŸ§‘πŸ»β€πŸš€ - Cadet

    We already tried this in private mode, but no luck, i will check the headers

  • UPF4FKAQ0
    UPF4FKAQ0 Posts: 29 πŸ§‘πŸ»β€πŸš€ - Cadet

    Hi, only thing we could found is this:

    set-cookie: zed-de-suite-local=06l4hp0hh7m731pfb6vql6lr8j; path=/; domain=80; secure; HttpOnly
    
  • sprymiker
    sprymiker Cloud Platform Architect Sprykee Posts: 781 πŸ§‘πŸ»β€πŸš€ - Cadet
    edited January 2020

    Is your domain zed-de-suite-local?

  • UPF4FKAQ0
    UPF4FKAQ0 Posts: 29 πŸ§‘πŸ»β€πŸš€ - Cadet

    no, but where was this cookie set?

  • sprymiker
    sprymiker Cloud Platform Architect Sprykee Posts: 781 πŸ§‘πŸ»β€πŸš€ - Cadet
    $config[SessionConstants::ZED_SESSION_COOKIE_DOMAIN]
    
  • UPF4FKAQ0
    UPF4FKAQ0 Posts: 29 πŸ§‘πŸ»β€πŸš€ - Cadet

    ok thank you! i will check the config

  • sprymiker
    sprymiker Cloud Platform Architect Sprykee Posts: 781 πŸ§‘πŸ»β€πŸš€ - Cadet
    edited January 2020

    If you have same issue for Yves - it is different stuff. I advise you yo check it too.

  • UPF4FKAQ0
    UPF4FKAQ0 Posts: 29 πŸ§‘πŸ»β€πŸš€ - Cadet

    Thanks, currently we are running our own frontend, but thanks for the hint, because we will make projects with Yves in the near future!

  • Andriy Netseplyayev
    Andriy Netseplyayev Domain Lead Solution Architecture Sprykee Posts: 519 πŸ§‘πŸ»β€πŸš€ - Cadet

    @UPF4FKAQ0 ..another option to try out, add this to your config_local.php:

    use Spryker\Shared\Session\SessionConstants;
    ...
    $config[SessionConstants::ZED_SESSION_COOKIE_SECURE] = false;
    
  • Andriy Netseplyayev
    Andriy Netseplyayev Domain Lead Solution Architecture Sprykee Posts: 519 πŸ§‘πŸ»β€πŸš€ - Cadet

    for local development that is enough

  • UPF4FKAQ0
    UPF4FKAQ0 Posts: 29 πŸ§‘πŸ»β€πŸš€ - Cadet

    Hi, thanks to @ULYHPR789 and @UKJSE6T47 both solution work!