Comments (4)
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.
So you navigate to the activate link once and the router logs the request twice?
from coursereviews.
Exactly. When activate gets called the second time, the account is already active so the key is invalid.
from coursereviews.
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)
- Identify and associate class year with user profile
- Upgrade Django Pipeline to 1.6
- Custom error and maintenance pages
- Terms and Conditions
- Escape typeahead consistently
- Pad existing course codes
- Add --file option to scrapecatalog for testing.
- Add "departments taught" relation to professors HOT 1
- Use django.utils.html.strip_tags in scrapecatalog for descriptions
- Prof Course pages don't set <title>.
- Add JavaScript linter.
- Upgrade to Django 1.9
- Upgrade to Python 2.7.11. HOT 1
- Support SSL
- Update README.md. No longer looking for maintainers. (Spring 2016)
- Add npm and less requirement. HOT 1
- Add a license. HOT 4
- Continuous deployment.
- Remove Teddy from notification emails. HOT 2
- Fake activation link for development doesn't work HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from coursereviews.