Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • T tails
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 968
    • Issues 968
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 32
    • Merge requests 32
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • tails
  • tails
  • Merge requests
  • !426

TCA reports an error in case of slow connection

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged boyska requested to merge bugfix/18299-tca-reports-error-wrongly into devel May 09, 2021
  • Overview 3
  • Commits 7
  • Pipelines 5
  • Changes 2

closes #18299 (closed)

This MR depends on !422 (merged)

This implements these changes to the timeout thing:

  • if we don't reach bootstrap_phase = 10 (meaning we can establish no connection to any Tor relay) in 30 seconds, we consider this an error
  • after reaching bootstrap_phase=10, we wait for 120seconds for bootstrap to be completed. Otherwise, we consider this an error.

Tips for testing:

  • https://paste.debian.net/1196989/ ready-made script to make both upstream and downstream slow
Edited May 10, 2021 by boyska
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: bugfix/18299-tca-reports-error-wrongly