All Questions
Tagged with connection python
596
questions
0
votes
0
answers
26
views
2024-07-16 21:26:40,575 - WARNING - Connection pool is full, discarding connection: storage.googleapis.com
I'm working on a Python script that downloads images from an Amazon S3 bucket and uploads them to Google Cloud Storage (GCS) using the google-cloud-storage library. The script processes a large ...
0
votes
0
answers
20
views
Issues with large file download using pycurl resulting in "502 Bad Gateway" error
I'm currently facing an issue with pycurl while trying to download a somewhat large file from a remote server. Despite trying different methods, I consistently encounter a "502 Bad Gateway" ...
1
vote
1
answer
40
views
BLE FTMS service not discoverable in python But discovered in nrfconnect App
I am using the following code to make an ftms service. This service is easily visible on the mobile phone as shown below but the python script below doesn't show that and gives some unknown junk ...
0
votes
0
answers
23
views
I cant Create a Connection between Python with MySQL [duplicate]
So recently i try to use MySQL and Python ( MySQL 8.00, Python 3.12 ) i view some code in W3 School to create a connection between ( i use Visual Studio Code as my text editor ) and i try this code
...
0
votes
0
answers
14
views
Understanding socket.SOL_SOCKET and socket.SO_REUSEADDR in Python [duplicate]
I'm currently working on a network application in Python, and I've come across the socket module's constants socket.SOL_SOCKET and socket.SO_REUSEADDR. I'm a bit confused about their purpose and how ...
1
vote
0
answers
86
views
Minecraft TCP Socket Connection
I'm trying to make a MITM to check the packages passed between the Minecraft client and server, but I'm having a bit of a problem.
There doesn't seem to be any connection problems. I'm passing a proxy ...
0
votes
0
answers
22
views
Problems with multiple flask requests
I'm having a problem where I make 2 or 3 requests on the front-end and while one request is in progress it executes another, so it returns several types of errors:
sqlalchemy.exc.DBAPIError: (...
0
votes
0
answers
37
views
Why does a requests.get(...) call hang
The following simple python script that uses requests.get to execute a GET request does not return on my computer:
import requests
print(requests.get('https://api.openstreetmap.org/api/0.6/node/...
0
votes
0
answers
30
views
Docker ConnectionRefusedError: [Errno 61] Connection refused
I'm running a python server on Docker and the ip address is 172.17.0.5 which is created by Docker.
The server code is:
HEADER = 64
PORT = 5050
SERVER = socket.gethostbyname(socket.gethostname())
ADDR ...
0
votes
0
answers
31
views
Import PDF files from Outlook via Python
In order to download PDF files from the recent email sent by my colleague in outlook “[email protected]” via Python, I used this code to connect but I got an error even though my email ...
0
votes
0
answers
67
views
What could be the problem to our medicine dispencing machine?
Good day can someone help us to troubleshoot our issue our medicine dispensing and logging system ?
We've built a device using HTML, CSS, JavaScript, Python, and an Arduino Mega 2560 Mini for ...
0
votes
0
answers
21
views
Websocket Connection Failed Django javascript
I am trying to connect to my websocket from the frontend in javascript
const url = 'wss://chatapprender.onrender.com/${person_id}/';
I am using django channels for backend
ASGI_urlpatterns = [ ...
0
votes
0
answers
21
views
Connection error while using requests module in PyCharm
I'm trying to get the location of the ISS using an API.
I imported Python's requests module and tried to use the ISS API using requests.get, but I'm getting this error:
Code:
import requests
response ...
0
votes
0
answers
52
views
recognize_google fails with WinError 10060
I'm encountering a TimeoutError: [WinError 10060] while attempting to establish a connection in my Python program. This error arises when the connected party does not respond properly within a ...
0
votes
1
answer
139
views
How Can I retrive data from Google Ads API
(1) In the area I am now, Google website is not visitable because of the Great Firewall. But I am using Clash for Windows and I could access and visit Google website. It works well on my browser.
(2)I ...