Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

364
Views
Cloudinary Image Upload errpr en django python mientras está alojado en pythonanywhere

Así que uso pythonanywhere para alojar un sitio web de django donde se cargan imágenes y se muestran las imágenes cargadas se almacenan en cloudinary mostrando que las imágenes funcionan bien, pero cuando subo una publicación aparece este error:

 Error at /post/ Unexpected error - MaxRetryError("HTTPSConnectionPool(host='api.cloudinary.com', port=443): Max retries exceeded with url: /v1_1/meme-topia/image/upload (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8d77f41370>: Failed to establish a new connection: [Errno 111] Connection refused'))")

Archivo de modelos:

 from django.db import models from cloudinary.models import CloudinaryField # Create your models here. class MemeImg(models.Model): Title = models.CharField(max_length=500) Post_Img = CloudinaryField('image') def __str__(self): return self.Title

Archivo de formularios:

 from django import forms from .models import MemeImg class PostImg(forms.ModelForm): class Meta: model = MemeImg fields = '__all__'

Y luego el enlace del código fuente: https://github.com/Shadow-Knight503/memoster503.git

Por favor ayuda

over 4 years ago · Santiago Trujillo
2 answers
Answer question

0

Creo que las teclas deberían estar en mayúsculas. La forma infalible es ir a su Tablero y descargar la configuración de Python:

ingrese la descripción de la imagen aquí

settings.py debe tener este formato:

 CLOUDINARY = { 'cloud_name': 'CLOUD-NAME', 'api_key': 'xx', 'api_secret': 'xx', 'api_proxy': 'http://proxy.server:3128' }
over 4 years ago · Santiago Trujillo Report

0

¿Estás seguro de que tienes exactamente esto en tu settings.py?

 CLOUDINARY = { 'CLOUD_NAME': 'CLOUD-NAME', 'API_KEY': 'xx', 'API_SECRET': 'xx', 'API_PROXY': 'http://proxy.server:3128' }
over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!