urlopen error Tunnel connection failed: 403 Forbidden

Hello Experts,

I have playbook which works fine since 6 months. It’s started throwing tunnel connection failed, since yesterday morning. However the curl works fine. Can someone let me know if this is a bug or any other ways to bypass proxy?

curl -I https://10.97.7.198 -k
HTTP/1.1 200 OK
Server: Apache
X-Frame-Options: SAMEORIGIN
Strict-Transport-Security: max-age=16070400; includeSubDomains
Last-Modified: Wed, 17 Feb 2021 11:20:20 GMT
ETag: “fa1-5bb866788fb67”
Accept-Ranges: bytes
Content-Length: 4001

  • hosts: f5
    environment:
    no_proxy: ‘10.97.7.198,10.97.7.199’
    gather_facts: true
    connection: local

tasks:

  • name: Grab Credentials
    include_vars: secrets.yml
    no_log: true

  • name: Collect BIG-IP facts
    bigip_command:
    provider: “{{ f5_provider }}”
    commands: ‘tmsh show sys failover’
    register: failover_state

Regards,
Sri