question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

How to connect to a remote redis server through a squid proxy?

See original GitHub issue

Version: redis-py 3.3.8 and redis 5.0.7.

Platform: Python 3.7.4 on Mac

Description: Hi experts, I am trying to connect to a remote redis server through a squid proxy. Can I set the proxy_server_url when creating a redis client? For example, redis.Redis(host=host, password=password, proxies=SQUID_PROXY_SERVER_URL). I didn’t find any parameters for this, then how should I set the connection over some proxy server?

Thank you so much!

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
Hanny2010commented, Mar 3, 2020

Connect to Redis server over Squid Proxy This is a feasible solution. It works for me. I’ll close this issue and thanks Andy!

0reactions
Hanny2010commented, Mar 1, 2020

Okay, I see. Subclass redis.Connection sounds reasonable. I’ll give a try. Thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to connect to a remote redis server through a squid ...
Hi experts, I am trying to connect to a remote redis server through a squid proxy. Can I set the proxy_server_url when creating...
Read more >
How to connect to remote Redis server?
5 Answers 5 · 1. Using host & port individually as options in command · 2. Using single uri option in command.
Read more >
How to Set Up Squid Proxy for Private Connections on ...
Begin by running the following commands as a non-root user to update your package listings and install Squid Proxy: sudo apt update. sudo...
Read more >
How to connect to remote Redis server?
In Real-time, the Redis server is hosted in a remote cloud or external. You can connect using a remote url in client libraries...
Read more >
Install and Configure Squid Proxy Server on Ubuntu
In this blog post , We will learn to install and configure squid proxy Server ... We will also learn to configure remote...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found