All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mike Jones <proclivis@gmail.com>
To: openbmc@lists.ozlabs.org
Subject: Infinite redirect.
Date: Mon, 27 Jul 2020 13:01:48 -0600	[thread overview]
Message-ID: <E38290F8-4FC6-4FF3-9FF2-5ED7853FE1DB@gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 869 bytes --]

I need help debugging an infinite redirect.

Using tag 2.8.0

I built meta-phosphor with raspberrypi4. See https://github.com/Proclivis/conf-meta-rasberrypi-evb.git

I setup a host entry on my ubuntu laptop in /etc/hosts

10.0.1.72 bmc

Then with firefox use url

https://bmc:18080

I get a redirect to 

https://bmc:18080/#/login?next=%2F

Which also redirects again.

bmcweb is not sending a cookie on the first request.

On the target, token_authorization_middleware.hpp:187 is failing the cookie authorization, probably because Firefox is not sending back the cookie it never received.

There are two failed services not running:

obmc-phosphor-sysd.service
start-ipkvm-.service

I assume these would not interfere with something as basic as cookies.

Is there something I need to configure on the target?

Mike

Sent from my iPad

[-- Attachment #2: Type: text/html, Size: 1465 bytes --]

             reply	other threads:[~2020-07-27 19:01 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-27 19:01 Mike Jones [this message]
2020-07-27 19:09 ` Infinite redirect Ed Tanous
2020-07-27 23:06   ` Mike
2020-07-27 23:11     ` Ed Tanous
2020-07-27 23:27       ` Mike

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E38290F8-4FC6-4FF3-9FF2-5ED7853FE1DB@gmail.com \
    --to=proclivis@gmail.com \
    --cc=openbmc@lists.ozlabs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.