►
From YouTube: Recreate IronBank connection upon Unauthorized error
A
A
So
we're
going
to
work
around
this
here-
and
this
is
the
bit
that
has
been
added,
in
particular,
that
new
class,
a
new
method
to
recreate
connections-
foreign-
let's
try
to
demo
this.
So
in
order
to
to
do
that.
I'm
just
gonna,
let's
say
comment
this
out
and
raise
the
unauthorized
error
so
that
we
are
reaching
the
the
bit
of
code
that
I'm
interested
in
here.
A
And
say.
A
Sorry
for
the
poor
audio
quality
that
they
need
to
do
a
few
things
here
on
my
computer
to
fix
that.
A
To
shoot
so
this
is
going
to
that.
One
page
here
makes
calls
to
iron
mankind,
connection
post,
but
yeah.
We
managed
to
trigger
the
unauthorized
error
here.
So,
let's
focus
on
on
the
logs.
A
So
we
have
quite
a
few
things
happening
since
that
Oracle
failed.
We're
resetting
the
connection,
object,
the
R1
client
connection
objects,
and
in
doing
so
we
are
also
resetting
the
the
the
authorization
token.