Skip to content

Pyctuator hangs and is blocking the application until the first registration request is completed (succesfull or not) #51

@michaelyaakoby

Description

@michaelyaakoby

This is easily reproduced when with k8s if the SBA host name cannot be resolved.

The problem is that the first registration occurs during the application's startup - subsequent registrations are done using a "daemonic" threading.Timer() and therefore don't block the main thread.

To reproduce, you can start nc -l -p 8080 (instead of SBA) and run the flask example which seeks for SBA at http://localhost:8080.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions