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

Internal login issue #14022

Open
Abhinav-Anand12 opened this issue Feb 25, 2020 · 5 comments
Open

Internal login issue #14022

Abhinav-Anand12 opened this issue Feb 25, 2020 · 5 comments

Comments

@Abhinav-Anand12
Copy link

After logging in to Zulip I get this error

Traceback (most recent call last):
File "/home/zulip/deployments/2020-01-17-00-55-51/zerver/tornado/handlers.py", line 229, in get_response
response = callback(request, *callback_args, **callback_kwargs)
File "/home/zulip/deployments/2020-01-17-00-55-51/zerver/lib/rest.py", line 35, in _wrapped_view_func
response = view_func(request, *args, **kwargs)
File "/home/zulip/deployments/2020-01-17-00-55-51/zulip-py3-venv/lib/python3.6/site-packages/django/views/decorators/csrf.py", line 58, in wrapped_view
return view_func(*args, **kwargs)
File "/home/zulip/deployments/2020-01-17-00-55-51/zerver/lib/rest.py", line 172, in rest_dispatch
return target_function(request, **kwargs)
File "/home/zulip/deployments/2020-01-17-00-55-51/zerver/decorator.py", line 657, in _wrapped_view_func
return view_func(request, *args, **kwargs)
File "/home/zulip/deployments/2020-01-17-00-55-51/zulip-py3-venv/lib/python3.6/site-packages/django/utils/decorators.py", line 149, in _wrapped_view
response = view_func(request, *args, **kwargs)
File "/home/zulip/deployments/2020-01-17-00-55-51/zerver/decorator.py", line 710, in _wrapped_view_func
return authenticate_log_and_execute_json(request, view_func, *args, **kwargs)
File "/home/zulip/deployments/2020-01-17-00-55-51/zerver/decorator.py", line 689, in authenticate_log_and_execute_json
return limited_view_func(request, user_profile, *args, **kwargs)
File "/home/zulip/deployments/2020-01-17-00-55-51/zerver/decorator.py", line 827, in wrapped_func
rate_limit_user(request, user, domain)
File "/home/zulip/deployments/2020-01-17-00-55-51/zerver/decorator.py", line 787, in rate_limit_user
rate_limit_request_by_entity(request, entity)
File "/home/zulip/deployments/2020-01-17-00-55-51/zerver/lib/rate_limiter.py", line 267, in rate_limit_request_by_entity
ratelimited, time = rate_limit_entity(entity)
File "/home/zulip/deployments/2020-01-17-00-55-51/zerver/lib/rate_limiter.py", line 250, in rate_limit_entity
ratelimited, time = is_ratelimited(entity)
File "/home/zulip/deployments/2020-01-17-00-55-51/zerver/lib/rate_limiter.py", line 183, in is_ratelimited
boundary = float(timestamp) + range_seconds
ValueError: could not convert string to float:

@harshbisle
Copy link
Collaborator

@zulipbot claim

@timabbott
Copy link
Sponsor Member

@Abhinav-Anand12 can you provide more details on the issue? I haven't seen this exception before. What Zulip version are you running, does this happen every time, are you using Docker, etc?

@Abhinav-Anand12
Copy link
Author

Abhinav-Anand12 commented Mar 2, 2020

@timabbott I am using the latest version itself Zulip 2.1.2. for the docker-zulip image. Every time I log in to my Zulip account, the same error keeps popping up in the mail and log files.

@harshbisle harshbisle removed their assignment Mar 2, 2020
@zulipbot
Copy link
Member

Hello @zulip/server-api members, this issue was labeled with the "area: api" label, so you may want to check it out!

@timabbott
Copy link
Sponsor Member

@Abhinav-Anand12 sorry for the slow reply -- do you have the system still accessible and/or have you upgraded to Zulip 3.x?

@mateuszmandera FYI -- any idea what might have caused this from reading the code?

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

No branches or pull requests

4 participants