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

TImezone offset error #492

Open
2 tasks done
hv7214 opened this issue Jan 11, 2020 · 1 comment
Open
2 tasks done

TImezone offset error #492

hv7214 opened this issue Jan 11, 2020 · 1 comment

Comments

@hv7214
Copy link
Contributor

hv7214 commented Jan 11, 2020

Prerequisites

  • I am running the latest version
  • I checked to make sure that this issue has not already been filed

Expected Behavior

Server should not be producing any error on any request.

Current Behavior

Each and every endpoint is non-functional.
Error: ValueError: Timezone offset does not match system offset: 19800 != 0. Please, check your config files.

Failure Information (for bugs)

Steps to Reproduce

  1. Start server.
  2. Make any request. Ex: localhost:5000/apidocs.

Context

Setup: Ubuntu 18.04. Chrome. python3.
Timezone set in env: Asia/Kolkata

Failure Logs

Screenshot from 2020-01-11 19-47-24

@2knal
Copy link

2knal commented Jan 17, 2020

Try adding timezone to the scheduler initializer as follows:

BackgroundScheduler(timezone="Asia/Kolkata")

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

No branches or pull requests

2 participants