-
Notifications
You must be signed in to change notification settings - Fork 12
SSL connect failure when searching for policy file. #3
Comments
On which domain do you have this issue? |
raidensnakesden.net This is the server I'm testing. The DNS records work just fine. It's when it comes to the policy file. |
Sorry for the long delay.
This means that the URL is unresolvable. This is easy to test: it also times out in a browser. |
apologies the datacentre were doing some network updates and the server lost connection for about an hour. |
Ah I see, that's unfortunate. Yeah, now the URL resolves in a browser but not in the tool. I'm looking into it. |
yeah not sure why. |
Reopening. I'll look into this later. |
Fixed the issue. It's probably a bug in Python 3.5 that has been fixed in Python 3.6. I'm now running the verifier in Python 3.6. |
Whe i test my site the same problem! but when i open with browser all is OK Error: Got a non-OK status code from the server: 403. |
The issue seems to be the lack of a import http.client
conn = http.client.HTTPSConnection("mta-sts.smiltene.lv", 443)
conn.request("GET","/.well-known/mta-sts.txt")
r1 = conn.getresponse()
print(r1.status, r1.reason)
r1.read()
conn.request("GET","/.well-known/mta-sts.txt", headers={"user-agent": "something"})
r2 = conn.getresponse()
print(r2.status, r2.reason) $ python test.py
403 Forbidden
200 OK |
PR opened: #12 |
Error: SSL error while connecting to the HTTPS server: TLSV1_ALERT_INTERNAL_ERROR.
The text was updated successfully, but these errors were encountered: