is not a valid URL message #9

Closed
opened 2020-07-23 12:20:45 +02:00 by Ghost · 2 comments

https://www.fas.usda.gov/newsroom/search?f%5B0%5D=field_programs%3A17 is not a valid URL.

not sure what is the cause and if it can be fixed

https://www.fas.usda.gov/newsroom/search?f%5B0%5D=field_programs%3A17 is not a valid URL. not sure what is the cause and if it can be fixed
Author

I think I know where it maybe the problem.
I tried to input it manually from admin and I got an SSL error.
I did a SSL test at SSL Lab and found out that the server has "This server's certificate chain is incomplete. Grade capped to B.". This is a us gov website :)
Now I understand there should be a way to by pass the certificate verification.
A "verify=False" in the request line.
Could it be possible to add it? If not as standard rule, what shall I modify in my local build?

I think I know where it maybe the problem. I tried to input it manually from admin and I got an SSL error. I did a SSL test at SSL Lab and found out that the server has "This server's certificate chain is incomplete. Grade capped to B.". This is a us gov website :) Now I understand there should be a way to by pass the certificate verification. A "verify=False" in the request line. Could it be possible to add it? If not as standard rule, what shall I modify in my local build?
Author

found it
return requests.get(url, headers=headers, verify = False)
in utils.py

but now I have the same problem of https://hipstercat.fr/gogs/hipstercat/hrss/issues/8

:( :(

found it return requests.get(url, headers=headers, verify = False) in utils.py but now I have the same problem of https://hipstercat.fr/gogs/hipstercat/hrss/issues/8 :( :(
Ghost closed this issue 2020-07-23 15:14:33 +02:00
Sign in to join this conversation.
No Label
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: hipstercat/hrss#9
No description provided.