Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors when generating images in the following models: #2556

Closed
BokDan93 opened this issue Jan 10, 2025 · 2 comments
Closed

Errors when generating images in the following models: #2556

BokDan93 opened this issue Jan 10, 2025 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@BokDan93
Copy link

Hi!
errors when generating images in the following models:
Response 404: The page could not be found
sdxl, playground-v2.5, sd-3

dall-e-3: Missing "_U" cookie

midjourney: Cannot connect to host image.pollinations.ai:443 ssl:True [SSLCertVerificationError: (1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:997)')]

@BokDan93 BokDan93 added the bug Something isn't working label Jan 10, 2025
@hlohaus
Copy link
Collaborator

hlohaus commented Jan 14, 2025

Hey @BokDan93

  1. you'll need authorization for DALL-E. We support OpenAI, Microsoft Copilot, Microsoft Designer, and Bing Create Images accounts.

  2. For Windows, just add this code to the top of main.py to get the latest SSL certificates.

import ssl
import certifi
from functools import partial

ssl.default_ca_certs = certifi.where()
ssl.create_default_context = partial(
    ssl.create_default_context,
    cafile=certifi.where()
) 

Copy link

Bumping this issue because it has been open for 7 days with no activity. Closing automatically in 7 days unless it becomes active again.

@github-actions github-actions bot added stale and removed stale labels Jan 22, 2025
@hlohaus hlohaus closed this as completed Jan 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants
@hlohaus @BokDan93 @xtekky and others