#1 /checkwebsite HTTP Code 400

Closed
opened 4 years ago by matteosavatteri · 4 comments

/checkwebsite command reports HTTP error code 400 - Bad Request.

Maybe HTTP request is malformed?

`/checkwebsite` command reports HTTP error code `400 - Bad Request`. Maybe HTTP request is malformed?

Chiming in to say that the error likely stems from using HTTPConnection on the site's HTTPS port (443). Replacing line 25 of handlers.py with

conn = httplib.HTTPSConnection('lcm.mi.infn.it:443')

should fix the issue. I'll probably submit a PR if nobody else gets to it by tomorrow.

Chiming in to say that the error likely stems from using `HTTPConnection` on the site's HTTPS port (443). Replacing line 25 of `handlers.py` with `conn = httplib.HTTPSConnection('lcm.mi.infn.it:443')` should fix the issue. I'll probably submit a PR if nobody else gets to it by tomorrow.
lucacolombogomez commented 4 years ago
Owner

It's a known issue, i'll pull later today the fix, with some small improvement to /checkwebsite command readability

It's a known issue, i'll pull later today the fix, with some small improvement to /checkwebsite command readability
blue commented 4 years ago
Owner

Still broken afaict

Still broken afaict

Fixed in #4.

Fixed in #4.
Sign in to join this conversation.
No Milestone
No assignee
5 Participants
Loading...
Cancel
Save
There is no content yet.