Skip to content
This repository has been archived by the owner on Jun 30, 2024. It is now read-only.

Logged in but can't access class #1884

Closed
Mrs-Simms opened this issue Jan 25, 2022 · 8 comments
Closed

Logged in but can't access class #1884

Mrs-Simms opened this issue Jan 25, 2022 · 8 comments

Comments

@Mrs-Simms
Copy link

Myself and a student log into Runestone, when we click to move anywhere on the site for example if I click an assignment it brings me to the attached page
Screenshot (90)
e

@bnmnetp
Copy link
Member

bnmnetp commented Jan 25, 2022

Please logout, clear your browsing history and log in again. This has been reported many times since we did the server upgrade, and this seems to clear up the problem for everyone.

@bnmnetp
Copy link
Member

bnmnetp commented Jan 25, 2022

Also please make sure that you are just using https://runestone.academy and make sure that you are using the new style links to access your course https://runestone.academy/ns/books/published/YOUCLASSNAME/index.html

@Mrs-Simms
Copy link
Author

Mrs-Simms commented Jan 25, 2022 via email

@mburns1074
Copy link

mburns1074 commented Feb 1, 2022

I have done everything that has been suggested and it has not cleared up the problem for me.
username: MBurns
Class: APCSA21-22Burns

@bnmnetp
Copy link
Member

bnmnetp commented Feb 1, 2022

@mburns1074 - What happens ???

I can see that many students in your class are running their code and answering questions today. Without SPECIFIC information it is impossible for me to diagnose what may be wrong in your particular case. I can also see that you are able to login and access assignments and the instructor interface, so clearly you are able to at least access some parts of the site. It really doesn't help to give me incorrect or partial information.

@bnmnetp bnmnetp pinned this issue Feb 3, 2022
@bnmnetp
Copy link
Member

bnmnetp commented Feb 3, 2022

Just to provide some additional clarity on this issue:

What is going on? The technical details!

With the new Runestone Architecture (See: https://blog.runestone.academy/2021/12/21/academy_downtime.html) We have two separate servers, both of which need to know that a user is logged in successfully.

  1. The old web2py based server which is now primarily for logging in and the instructor interface.
  2. The new FastAPI based server which is primarily for serving books.

So we had to devise a way for users to login on web2py but also let the new server know that you are legit. We do this with a secure access token. That token is only generated when you log in. However, since some users have not needed to log in since the change was made they are logged in to web2py but do not have the secure access token to view their books. Hence the re-login.

I didn't really anticipate the magnitude of the confusion this would create. So in hindsight I could have done a much better job of creating some additional UI that would have caught and explained this problem. I have already made some improvements to this and will launch them Saturday Feb 5.

Some Important Things to Remember

  1. ALWAYS use https://runestone.academy
  2. ALWAYS use the new style URLs. https://runestone.academy/ns/books/published/YOURCOURSENAME/index.html
  3. When in doubt, just log out. Then log in again.
  4. Do NOT block Cookies from Runestone we use them for keeping you logged in.

If you are seeing ads

IF you are seeing ads then you are NOT logged in! We only show ads to people that have not created an account. This is not because we want to collect information about you it is because a significant portion of our traffic is "one visit" traffic from search engines. One of the ways that we try to support this service is by showing ads to search engine traffic.

@bnmnetp
Copy link
Member

bnmnetp commented Feb 14, 2022

This problem and related problems of student work not getting saved was solved about 10 days ago.

@github-actions
Copy link

Stale issue message

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants