Skip to content

ENH: if redis does not connect, suggest using ssl flag#250

Open
Thomas A Caswell (tacaswell) wants to merge 2 commits into
NSLS2:mainfrom
tacaswell:enh/better_error
Open

ENH: if redis does not connect, suggest using ssl flag#250
Thomas A Caswell (tacaswell) wants to merge 2 commits into
NSLS2:mainfrom
tacaswell:enh/better_error

Conversation

@tacaswell

Copy link
Copy Markdown
Contributor

No description provided.

redis_client = _get_client(beamline, redis_ssl, prefix)

try:
redis_client.ping()

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we use the secure server specified via the REDIS_HOST env var without the -s option, it hangs on this step indefinitely. We may need some sort of timeout.

@mrakitin Max Rakitin (mrakitin) left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need to test it with an active proposal and multiple combinations of parameters. See the problem identified below.

@mrakitin

Copy link
Copy Markdown
Contributor

We also need to resolve the conflicts here.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants