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

Installation metrics has long timeout and blocks Nautobot startup #4241

Closed
Kircheneer opened this issue Aug 10, 2023 · 4 comments · Fixed by #4266
Closed

Installation metrics has long timeout and blocks Nautobot startup #4241

Kircheneer opened this issue Aug 10, 2023 · 4 comments · Fixed by #4266
Assignees
Labels
type: bug Something isn't working as expected

Comments

@Kircheneer
Copy link
Contributor

Environment

  • Nautobot version: 1.6.0
  • Python version: 3.8
  • Database platform, version: PostgresQL 14
  • Middleware(s): -

Steps to Reproduce

  1. Start Nautobot with installation metrics enabled (default) in an environment where Nautobot Cloud can't be reached

Expected Behavior

Nautobot starts up as quickly as usual, with either asynchronous communication to Nautobot cloud or an aggressive timeout.

Observed Behavior

Nautobot hangs for at least 5 minutes, I just disabled the setting at that point.

@bryanculver bryanculver added the type: bug Something isn't working as expected label Aug 10, 2023
@bryanculver
Copy link
Member

@gsnider2195
Copy link
Contributor

Is the plan to make this asynchronous or just add a timeout?

@bryanculver
Copy link
Member

@gsnider2195 I would think make it asynchronous because it would entirely get around any concerns with timeouts but if it's not possible or would require an entire rewrite, a significantly shorter timeout would be fine.

@nniehoff
Copy link
Contributor

FYI in certain environments we are also seeing Nautobot fail the post_upgrade because the SSL cert at nautobot.cloud... I suspect in these environments the organization proxies ssl traffic or for whatever reason doesn't trust the Let's Encrypt CAs. In any case I feel like these errors should be non-blocking and silently ignored, maybe just a warning

@glennmatthews glennmatthews self-assigned this Aug 15, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 16, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: bug Something isn't working as expected
Projects
No open projects
Archived in project
Development

Successfully merging a pull request may close this issue.

5 participants