13
Root
4y

Signet, the google auth library, is somehow throwing a DivideByZero error, despite the only math in the file being linear back-off (`sleep retry++ * 0.3`). Also, the line it’s getting thrown on very specifically throws an entirely different error: a Signet::AuthorizationError.

What is even going on?
Also this worked yesterday.

🥺

Comments
  • 3
    If we're guessing, I'd assume that the default value for the datatype is zero, something in configuration or request payloads is preventing the value from getting set, and then for some reason devolves to {some value}/{default value}

    Dependencies are great 😇
  • 0
    You on nightly release or what?
  • 0
    @superposition I know about @root, don't worry.
  • 0
    @root Any progress?

    I'd guess an unexpected response flew in...

    and if it worked yesterday.....

    weeeeellllll.... a response is shady. it stabs you in your back when you least expect it.
  • 0
    @IntrusionCM Just started for the day! I’ll post what I figure out.
  • 1
    I couldn’t narrow it down at all, and ended up fixing the sink by replacing the house.

    I eventually clobbered all of the gems, reinstalled Ruby, bundler, all project gems, and reran the database setup script that drops and recreates everything, runs migrations etc., inserts seed data, and does other project setup steps. After that, everything worked as expected again.

    Five hours of my life gone.
  • 0
    When all else works theres always /dev/null.
  • 1
    Now I’m diagnosing another google issue:

    I’m sending them an updated wallet pass, and they’re rejecting it. Yet it gets updated within Google Pay. Eh?

    Error: Failed successfully!
    🤦🏻‍♀️
  • 0
    @superposition No ☹️
  • 1
    @superposition This codebase is pretty crap, too. It’s been upgraded all the way from Rails 2.x, so there are lots of stale areas and quirks and subtleties.
Add Comment