Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ping_server wrapper function randomly crashes. #8

Closed
ewang2002 opened this issue Feb 11, 2022 · 4 comments
Closed

ping_server wrapper function randomly crashes. #8

ewang2002 opened this issue Feb 11, 2022 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@ewang2002
Copy link
Member

It looks like something went wrong when trying to unwrap here. For now, changed to unwrap_or_default but I'm not sure if this will change anything.

Error logs also shows that there was a core dumped message, so that's interesting.

Leaving this up as a reminder.

@ewang2002 ewang2002 added the bug Something isn't working label Feb 11, 2022
@ewang2002 ewang2002 self-assigned this Feb 11, 2022
@ewang2002
Copy link
Member Author

ewang2002 commented Feb 12, 2022

This could potentially be related to the following:

  • 2/12 ~04:27am: got signed out (needs 20 failed attempts to sign out, 3 seconds per failed attempt)
  • 2/12 ~04:28am: program stopped (exited gracefully) due to not being able to get data.

Might be worth looking into, especially if we want to keep this up 24/7.

@ewang2002
Copy link
Member Author

Looks like something happened around 2/13 ~4:08am which caused the program to stop working. The only thing that was interesting was that it was requesting courses just fine, then couldn't find anything for one course and decided to stop from there.

@ewang2002
Copy link
Member Author

dead

Upon further inspection (i.e. staying up until 4am), it looks like WebReg does some form of maintenance at around 04:06am (in the screenshot above, the program is unable to get courses). During this time period, WebReg is inaccessible (e.g. when trying to access WebReg via browser like you normally would, the browser will eventually time out due to the request taking too long to process). At around 4:14am, WebReg comes out of maintenance (e.g. you can access it normally).

@ewang2002 ewang2002 transferred this issue from UCSD-Historical-Enrollment-Data/webreg_scraper Apr 10, 2022
@ewang2002
Copy link
Member Author

For now, I'll close this issue.

@ewang2002 ewang2002 closed this as not planned Won't fix, can't repro, duplicate, stale Jun 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant