Giter Club home page Giter Club logo

Comments (4)

danasilver avatar danasilver commented on June 22, 2024

Relevant logs. Possibly a Heroku routing issue. Activation works fine in development.

2014-03-22T06:33:36.864718+00:00 heroku[router]: at=info method=GET path=/ host=www.middcourses.com request_id=ffc085d8-c612-45e8-befe-a3c7e3bc175e fwd="140.233.169.242" dyno=web.1 connect=1ms service=1139ms status=200 bytes=2638
2014-03-22T06:33:45.786084+00:00 heroku[router]: at=info method=POST path=/register/ host=www.middcourses.com request_id=43abcc72-37eb-47a9-ac95-9432d96a6f58 fwd="140.233.169.242" dyno=web.1 connect=1ms service=358ms status=302 bytes=217
2014-03-22T06:33:46.743589+00:00 heroku[router]: at=info method=GET path=/register/complete/ host=www.middcourses.com request_id=3740b10c-ca99-43b3-bc00-9a3d2a120b07 fwd="140.233.169.242" dyno=web.1 connect=0ms service=900ms status=200 bytes=1740
2014-03-22T06:33:47.073060+00:00 heroku[router]: at=info method=GET path=/activate/b1dfd1c36a03b0d4f67af0d4faa8a3a982a54b39/ host=www.middcourses.com request_id=ab85eca8-2620-407e-af92-01712ac78c98 fwd="140.233.2.16" dyno=web.1 connect=2ms service=153ms status=302 bytes=464
2014-03-22T06:34:04.184852+00:00 heroku[router]: at=info method=GET path=/activate/b1dfd1c36a03b0d4f67af0d4faa8a3a982a54b39/ host=www.middcourses.com request_id=49852d24-2ced-4ce8-ba0e-e57a71412e8b fwd="140.233.169.242" dyno=web.1 connect=1ms service=1798ms status=200 bytes=833
2014-03-22T06:34:21.566979+00:00 heroku[router]: at=info method=GET path=/ host=www.middcourses.com request_id=afbdea70-ffb3-4324-bbf9-d0cc68108750 fwd="140.233.169.242" dyno=web.2 connect=1ms service=390ms status=200 bytes=2636

from coursereviews.

teddyknox avatar teddyknox commented on June 22, 2024

So you navigate to the activate link once and the router logs the request twice?

from coursereviews.

danasilver avatar danasilver commented on June 22, 2024

Exactly. When activate gets called the second time, the account is already active so the key is invalid.

from coursereviews.

danasilver avatar danasilver commented on June 22, 2024

For the sake of the record: the request isn't getting processed twice. The email provider is visiting links (presumably to screen for viruses), which activates the account. When the user clicks the link, it has already been visited, so the activation fails.

from coursereviews.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.