Skip to content

GCP CE/CloudSQL can't run with multiple threads #166

@Aboisier

Description

@Aboisier

In computeengine.py and cloudsql.py (will soon be merged with PR #164 ) need to hardcode the thread config to 1, otherwise, we get SSL errors.

Repro steps:

  • Have more than one resource (eg. 2 vms, or 2 cloud SQL instances)
  • Start a scan
  • You should see errors in the console, or sometimes it hangs indefinitely

Here's different errors I got:

  • [SSL: BLOCK_CIPHER_PAD_IS_WRONG] block cipher pad is wrong (_ssl.c:2217)Failed to fetch backups for SQL instance xxxxxxxx: [SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:2217)
  • python SSL: WRONG_VERSION_NUMBER

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions