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

Bread Hangs on external server calls #168

Open
EddieW1 opened this issue Apr 23, 2021 · 2 comments
Open

Bread Hangs on external server calls #168

EddieW1 opened this issue Apr 23, 2021 · 2 comments

Comments

@EddieW1
Copy link

EddieW1 commented Apr 23, 2021

After updating to the new version the directories hang loading and fail to get the images called from an external image source.

Here is the json:

narcotics-anonymous-hawai-039-i-big-island-old04-23-2021.json.zip

@otrok7
Copy link
Collaborator

otrok7 commented Apr 23, 2021

I cannot reproduce this problem on either of my servers. Here in Germany, the PDF is generated within a few seconds. You are also using a JPEG, which Bread (or rather MPDF, the underlying library) likes best. Maybe we will get an idea of what the hang up is by looking at the debug logs. Please update wp-config.php with

define( 'WP_DEBUG', true );
define( 'WP_DEBUG_LOG', true);
define( 'WP_DEBUG_DISPLAY', false);`

If anything interesting comes out in wp-content/debug.log, send that to me.

In general though, referenced images should not only be local, they should be referenced with a relative path (ie, without "http:"). This is in any case faster, just not that much faster.

@EddieW1
Copy link
Author

EddieW1 commented Apr 24, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants