All Questions
924 questions
0
votes
1
answer
23
views
suds is not using HTTPS, even though the URL is set correctly
Consider this code:
from suds.client import Client
wsdl = "https://path/to/scv?wsdl"
client = Client(wsdl)
token = client.factory.create("ns1:AuthenticationToken")
token....
0
votes
1
answer
35
views
Retrieve server certificate in urllib3
In python's urllib3, can one retrieve the server certificate after making a successful HTTPS request? If so, how?
0
votes
1
answer
70
views
Python Requests GET with Proxy - HTTPS scheme returns expected result but HTTP returns header
When setting any URL to use HTTPS as the scheme (i.e., https://), I get my desired response (i.e., page source), but any http url (i.e., http://) fails or I receive a header and I don't understand why ...
0
votes
0
answers
57
views
Can't send requests to https urls with apify proxy
This is my first time subscribing to a proxy provider and I went with Apify Creator Plan.
My problem is on testing, I can only send requests to http urls, it works until I change to https then it ...
2
votes
1
answer
102
views
HTTPS hearders but HTTP URL in FastAPI and Cloud Run
I created a FastAPI app and I can access the Swagger UI autodocs at https://cloudrundomain.app/docs. When I send an HTTPS request using the Swagger UI, the request.headers.get("X-Forwarded-Proto&...
0
votes
1
answer
498
views
SSL and aiohttp: disable SSL verification do not work on python 3.12
I have a request like this from aiohttp:
async with aiohttp.ClientSession(auth=aiohttp.BasicAuth(self.user, self.password), timeout=aiohttp.ClientTimeout(connect=self.timeouts[0], sock_read=self....
0
votes
0
answers
34
views
Handling HTTPS Proxy Authentication in Android Emulator with Python
My goal is to configure a proxy with authorization for an Android emulator (used with Appium) launched from command line.
I tried configuring the Android emulator directly with a proxy via this ...
0
votes
1
answer
75
views
Python Flask: Automatically getting or generating SHA-1 fingeriprints
I've created a simple Flask server that runs on HTTPS, accessible by external devices.
When I connect another device (e.g. an ESP8266) I need to provide the SHA-1 fingerprint.
I have no control over ...
0
votes
0
answers
42
views
Python Sockets Specify Signature Algorithm in Client Handshake
I'm currently writing my own https webserver at home which complies with (or will comply with, when I'm done with it, as I'm writing the webserver in C++) TLS 1.3. I have a Python client that I want ...
1
vote
0
answers
375
views
ALPN: server did not agree on a protocol. Uses default. - https comunication using pycurl
I need to communicate with a server (on which I cannot act) via APIs thanks to which I can read the status of some requested variables.
The APIs are based on POST calls via the HTTPS protocol.
The ...
0
votes
0
answers
36
views
How to configure Python ssl server ciphers to match client's
I'm trying to run this simple socket ssl server in python
import socket, ssl
context = ssl.create_default_context(ssl.Purpose.CLIENT_AUTH)
bindsocket = socket.socket()
bindsocket.bind(("", ...
0
votes
0
answers
36
views
Selenium webdriver returns ERR_CONNECTION_RESET for reachable webpage
I am trying to setup a selenium webscraper in jupyter notebook on Azure Databricks (on a linux cluster). I am able to set up the service, options, and driver without issue. When I use driver.get(url) ...
2
votes
1
answer
128
views
How can I get around an unresolved hostname or unrecognized name error using HTTP(S) in java or python?
I a trying to access a website's information programmatically, but on both Java and Python it is unable to resolve a hostname. If I specify the IP address, it changes the error to ...
0
votes
0
answers
10
views
How to Receive JSON Data and File Upload Together in FastAPI [duplicate]
I'm working on a FastAPI project where I need to receive both JSON data and a file upload in the same request. Specifically, I need to pass an array of integers within the JSON data while also ...
2
votes
0
answers
54
views
Some HTTP to HTTPS redirections were not done using Python Requests
When visiting http://www.google.com in a browser located in the US, it should be redirected to https://www.google.com. However, this does not appear to work when using Python Requests, as demonstrated ...