nicovale
-
Posts
4 -
Joined
-
Last visited
Posts posted by nicovale
-
-
Hi all, when I try to run a flask app on the tommy server, pymongo gives me this error, how can I fix it?
"cluster0-shard-00-01.fhsrc.mongodb.net:27017: [Errno 111] Connection refused,cluster0-shard-00-02.fhsrc.mongodb.net:27017: [Errno 111] Connection refused,cluster0-shard-00-00.fhsrc.mongodb.net:27017: [Errno 111] Connection refused, Timeout: 30s, Topology Description: <TopologyDescription id: ugkctamdzd6nvshm69miov4r topology_type: ReplicaSetNoPrimary, servers: [<ServerDescription ('cluster0-shard-00-00.fhsrc.mongodb.net', 27017) server_type: Unknown, rtt: None, error=AutoReconnect('cluster0-shard-00-00.fhsrc.mongodb.net:27017: [Errno 111] Connection refused')>, <ServerDescription ('cluster0-shard-00-01.fhsrc.mongodb.net', 27017) server_type: Unknown, rtt: None, error=AutoReconnect('cluster0-shard-00-01.fhsrc.mongodb.net:27017: [Errno 111] Connection refused')>, <ServerDescription ('cluster0-shard-00-02.fhsrc.mongodb.net', 27017) server_type: Unknown, rtt: None, error=AutoReconnect('cluster0-shard-00-02.fhsrc.mongodb.net:27017: [Errno 111] Connection refused')>]>"
Instead if i run the app with my pc on the localhost i don't get any error.
-
Hi Admin, can you please install and update this python libraries.
Update:
werkzeug to 1.0.1
Install:
flask-socketio
flask-cors
Server: Tommy
Python version: 3.7
Thanks
[Solved] Install Python modules
in Customer Service
Posted
Hi Admin, can you please install this python libraries:
fastapi
uvicorn
pydantic
Server: Tommy
Python version: 3.7
Thanks