MyBB Internal: One or more warnings occured. Please contact your administrator for assistance.
Private instance InsecureRequestWarning: Unverified HTTPS request is being made
Current time: 03-03-2021, 11:28 AM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Private instance InsecureRequestWarning: Unverified HTTPS request is being made
01-06-2021, 12:55 PM (This post was last modified: 01-06-2021 01:07 PM by jbaptiste.)
Post: #1
Private instance InsecureRequestWarning: Unverified HTTPS request is being made
Hi,

We've been running a private instance on docker for a long time on-premises expanding to two datacenters in different geographic locations. Today we migrated the server to a swarm cluster on aws and left the agents on the old infrastructure to have localized tests. I split the docker-compose file in three parts, one for the server that is now running on the swarm cluster on aws (updated to run as a stack on swarm), and two docker-compose files for each of the agent locations. For the server we use letsecncrypt certificates that were correctly generated on the swarm cluster on aws (using a traefik load balancer) after pointing the private instance DNS name to the new location, but on the agent logs I'm seeing this error:

Code:
19:41:12.891 - Starting new HTTPS connection (1): wpt.xxxx.com:443
agent-pe_1  | /usr/local/lib/python2.7/dist-packages/urllib3/connectionpool.py:988: InsecureRequestWarning: Unverified HTTPS request is being made to host 'wpt.xxxxx.com'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings

Which is weird as the ssl certificate is valid from letsencrypt, no errors when going to the private instance web interface. The tests seem to work fine on one of the agents, but on the other one we get a broken waterfall image on the first view for some tests, or "First View: Test Data Missing" on others, which I'm not sure if this has anything to do with this error.

Both agents use the same docker configuration which did not change when they got split into separate files, same agent docker images and are running on the same hosts as before, so I really don't get why now some of the tests have this problem. How can I start to debug this ? agent logs are lengthy and don't I know what to look for on them.

Thanks in advance for any pointers.

This is the docker-compose file of the agent with issues:

Code:
version: "2"
services:
  agent-pe:
    image: webpagetest/agent
    init: true
    shm_size: 256mb
    environment:
      SERVER_URL: https://wpt.xxxxx.com/work/
      LOCATION: desktop_lima
      EXTRA_ARGS: "-m debug --checknet yes --log /debug.log -vvvv"
    volumes:
      - "/etc/localtime:/etc/localtime:ro"
    cap_add:
      - NET_ADMIN
    privileged: true
    restart: "always"
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Private instance InsecureRequestWarning: Unverified HTTPS request is being made - jbaptiste - 01-06-2021 12:55 PM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)