Inviting a New External User Is Throwing a Server Error

Bug #1771383 reported by Nat Katin-Borland
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KARL4
Fix Released
Medium
Carlos de la Guardia

Bug Description

There is an issue going on with the external user invitation process. After filling out the account creation form you get the following server error:

Internal Server Error

The server encountered an unexpected internal server error

(generated by waitress)

The user gets created, but they can't login with the password that they set. And obviously the error is confusing and has generated some support tickets. Can you investigate?

Thanks,
Nat

Revision history for this message
Paul Everitt (paul-agendaless) wrote :

Carlos, can you take a look at this?

It's weird because I don't see any exceptions in Nagios/Sentry.

Changed in karl4:
assignee: nobody → Carlos de la Guardia (cguardia)
importance: Undecided → Medium
milestone: none → 043
Revision history for this message
Carlos de la Guardia (cguardia) wrote : Re: [Bug 1771383] Re: Inviting a New External User Is Throwing a Server Error

Yes, will look at this today.
Carlos de la Guardia

      From: Paul Everitt <email address hidden>
 To: <email address hidden>
 Sent: Tuesday, May 15, 2018 1:20 PM
 Subject: [Bug 1771383] Re: Inviting a New External User Is Throwing a Server Error

Carlos, can you take a look at this?

It's weird because I don't see any exceptions in Nagios/Sentry.

** Changed in: karl4
  Importance: Undecided => Medium

** Changed in: karl4
    Milestone: None => 043

** Changed in: karl4
    Assignee: (unassigned) => Carlos de la Guardia (cguardia)

--
You received this bug notification because you are a bug assignee.
https://bugs.launchpad.net/bugs/1771383

Title:
  Inviting a New External User Is Throwing a Server Error

Status in KARL4:
  New

Bug description:
  There is an issue going on with the external user invitation process.
  After filling out the account creation form you get the following
  server error:

  Internal Server Error

  The server encountered an unexpected internal server error

  (generated by waitress)

  The user gets created, but they can't login with the password that they set.  And obviously the error is confusing and has generated some support tickets.  Can you investigate?

  Thanks,
  Nat

To manage notifications about this bug go to:
https://bugs.launchpad.net/karl4/+bug/1771383/+subscriptions

Changed in karl4:
status: New → Fix Released
Revision history for this message
Carlos de la Guardia (cguardia) wrote :

The session restriction machinery was trying to get the parent of the invitation object, which does not have a parent. Since the error happened in a Pyramid subscriber, after the view was handled, the system log is not updated.

I made the session restriction code a bit safer, which fixed the problem.

Revision history for this message
Paul Everitt (paul-agendaless) wrote :

Thanks a bunch for working on this so quickly.

Revision history for this message
Nat Katin-Borland (nborland) wrote :

Wow, thanks for the super-quick turnaround Carlos!

-----Original Message-----
From: <email address hidden> <email address hidden> On Behalf Of Paul Everitt
Sent: Wednesday, May 16, 2018 6:16 AM
To: Nathaniel Katin-Borland <email address hidden>
Subject: [Bug 1771383] Re: Inviting a New External User Is Throwing a Server Error

Thanks a bunch for working on this so quickly.

--
You received this bug notification because you are subscribed to the bug report.
https://bugs.launchpad.net/bugs/1771383

Title:
  Inviting a New External User Is Throwing a Server Error

Status in KARL4:
  Fix Released

Bug description:
  There is an issue going on with the external user invitation process.
  After filling out the account creation form you get the following
  server error:

  Internal Server Error

  The server encountered an unexpected internal server error

  (generated by waitress)

  The user gets created, but they can't login with the password that they set. And obviously the error is confusing and has generated some support tickets. Can you investigate?

  Thanks,
  Nat

To manage notifications about this bug go to:
https://bugs.launchpad.net/karl4/+bug/1771383/+subscriptions

Revision history for this message
Carlos de la Guardia (cguardia) wrote :

Hi,
now that I've done multiple deployments, I confirmed that osideploy build gets into an infinite loop whenever there's a new zc.buildout release. Want me to take a look at that problem?
Carlos de la Guardia

      From: Paul Everitt <email address hidden>
 To: <email address hidden>
 Sent: Tuesday, May 15, 2018 1:20 PM
 Subject: [Bug 1771383] Re: Inviting a New External User Is Throwing a Server Error

Carlos, can you take a look at this?

It's weird because I don't see any exceptions in Nagios/Sentry.

** Changed in: karl4
  Importance: Undecided => Medium

** Changed in: karl4
    Milestone: None => 043

** Changed in: karl4
    Assignee: (unassigned) => Carlos de la Guardia (cguardia)

--
You received this bug notification because you are a bug assignee.
https://bugs.launchpad.net/bugs/1771383

Title:
  Inviting a New External User Is Throwing a Server Error

Status in KARL4:
  New

Bug description:
  There is an issue going on with the external user invitation process.
  After filling out the account creation form you get the following
  server error:

  Internal Server Error

  The server encountered an unexpected internal server error

  (generated by waitress)

  The user gets created, but they can't login with the password that they set.  And obviously the error is confusing and has generated some support tickets.  Can you investigate?

  Thanks,
  Nat

To manage notifications about this bug go to:
https://bugs.launchpad.net/karl4/+bug/1771383/+subscriptions

Revision history for this message
Paul Everitt (paul-agendaless) wrote :

Yes, please!! Want me to make a ticket?

—paul

> On May 16, 2018, at 10:46 PM, Carlos de la Guardia <email address hidden> wrote:
>
> Hi,
> now that I've done multiple deployments, I confirmed that osideploy build gets into an infinite loop whenever there's a new zc.buildout release. Want me to take a look at that problem?
> Carlos de la Guardia
>
> From: Paul Everitt <email address hidden>
> To: <email address hidden>
> Sent: Tuesday, May 15, 2018 1:20 PM
> Subject: [Bug 1771383] Re: Inviting a New External User Is Throwing a Server Error
>
> Carlos, can you take a look at this?
>
> It's weird because I don't see any exceptions in Nagios/Sentry.
>
> ** Changed in: karl4
> Importance: Undecided => Medium
>
> ** Changed in: karl4
> Milestone: None => 043
>
> ** Changed in: karl4
> Assignee: (unassigned) => Carlos de la Guardia (cguardia)
>
> --
> You received this bug notification because you are a bug assignee.
> https://bugs.launchpad.net/bugs/1771383
>
> Title:
> Inviting a New External User Is Throwing a Server Error
>
> Status in KARL4:
> New
>
> Bug description:
> There is an issue going on with the external user invitation process.
> After filling out the account creation form you get the following
> server error:
>
> Internal Server Error
>
> The server encountered an unexpected internal server error
>
> (generated by waitress)
>
>
> The user gets created, but they can't login with the password that they set. And obviously the error is confusing and has generated some support tickets. Can you investigate?
>
> Thanks,
> Nat
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/karl4/+bug/1771383/+subscriptions
>
> --
> You received this bug notification because you are subscribed to KARL4.
> Matching subscriptions: KARL4
> https://bugs.launchpad.net/bugs/1771383
>
> Title:
> Inviting a New External User Is Throwing a Server Error
>
> Status in KARL4:
> Fix Released
>
> Bug description:
> There is an issue going on with the external user invitation process.
> After filling out the account creation form you get the following
> server error:
>
> Internal Server Error
>
> The server encountered an unexpected internal server error
>
> (generated by waitress)
>
>
> The user gets created, but they can't login with the password that they set. And obviously the error is confusing and has generated some support tickets. Can you investigate?
>
> Thanks,
> Nat
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/karl4/+bug/1771383/+subscriptions

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.