Community @ The Turning Gate

Support community for TTG plugins and products.

NOTICE

The Turning Gate's Community has moved to a new home, at https://discourse.theturninggate.net.

This forum is now closed, and exists here as a read-only archive.

  • New user registrations are disabled.
  • Users cannot create new topics.
  • Users cannot reply to existing topics.

You are not logged in.

#1 2018-06-01 19:26:33

HD
Member
Registered: 2018-06-01
Posts: 4

503 error

Sorry to bother you with this, but I keep getting a .503 error when publishing a collection to Backlight/Client Review. Should be latest version.

I tried modifying .htaccess & deleted them completely, to no avail.
I tried to use JPG instead of TIF, so keep the load lighter in LR, no result

Sometimes it works, but mostly not & this time it just won't work, even if I keep it down to 13 images.

Can't find any way to make TTG/Backlight/client response work properly and am quite ready to throw the towel.

503 error

Offline

#2 2018-06-01 20:57:59

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: 503 error

This might be due to php upload limits. Are you including large downloadable images?

There should be a php.ini file at the root of your site. If there isn’t, you’ll need to create one, you should be able to do this from your host’s CPanel.

Open that with a text editor and look for upload_max_filesize
And increase the value. I believe the default is 2M. Try changing it to something like 64M

For more, see: http://community.theturninggate.net/vie … 738#p44738
And here: http://community.theturninggate.net/vie … 454#p43454


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#3 2018-06-01 21:06:30

HD
Member
Registered: 2018-06-01
Posts: 4

Re: 503 error

Dear Rod, thanks for the quick reply.
root php.in is at 64M already, here is the content of php.ini:

file_uploads = On
max_execution_time = 120
post_max_size = 200M
memory_limit = 200M
register_globals = Off
safe_mode = Off
upload_max_filesize = 64M
session.gc_maxlifetime = 1440
session.cache_expire = 180

Offline

#4 2018-06-01 21:48:49

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: 503 error

Ben will need to take a look then.

Is this happening only with Client Response albums?
Is this a new behavior?
Who is your host?

The error implied maintenance downtime. Is your host doing any maintenance?


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#5 2018-06-01 21:57:57

HD
Member
Registered: 2018-06-01
Posts: 4

Re: 503 error

No, the site is up and running, hosted at Strato PowerWebPro & 503 comes up every time I do this, it is rather rare that I manage to publish an album at all. I only have Client Response as this is what I use TTG for, letting clients pick their images and feeding the choice back into LR.
So it is not new behavior. The last time I did it it didn't work with the TIF & I put low-res JPG in, but this time this also did not help.

Offline

#6 2018-06-01 22:14:18

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: 503 error

Can you try publishing a regular Backlight album?

Have you checked permissions: http://backlight.theturninggate.net/doc … irectories


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#7 2018-06-01 22:45:32

HD
Member
Registered: 2018-06-01
Posts: 4

Re: 503 error

Hey Rod, it's awesome that you take such care of my matter, much obliged.
Alas, no success so far... if a regular backlight-album is the option «unmanaged» (Instead of managed by client response) in Lightroom, that doesn't work as well, resulting in a 503-error with 13 jpgs that are 1800 px. 

Regarding permissions, the main folder and all folders/files beneath them are set to 777 currently, permissions was my first instinct but doesn't seem to be the problem.

Offline

#8 2018-06-01 22:56:01

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: 503 error

Regular Backlight albums are those not using the Client Management add-on.

My guess is that it won’t make a difference but it should be checked.

Create a new album template, but don’t use the add-on section of the template setup.
Then try publishing an album using the new template.

But Ben (one of the developers) will need to look into it and he’ll likely ask for Backlight admin credentials as well as FTP credentials.

He’s in Australia and it’s the middle of the night there now, so you can save some time by sending him an email with those credentials and include a link to this topic.
Ben’s info: http://community.theturninggate.net/profile.php?id=101


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#9 2018-06-02 09:24:55

Ben
Moderator
From: Melbourne, Australia
Registered: 2012-09-29
Posts: 4,399

Re: 503 error

This looks to be a server issue.  Your host is blocking requests.  Have you tried contacting them about this?

It's possibly a denial-of-service detection that's blocking the publisher after too many calls.  We added a delay field in the latest LR Publisher module that can be used to space out requests to the server in case the frequency of requests is causing them to be blocked.  If you double-click on the Publisher instance, you should see a setting 'Delay API Requests by [5.0] seconds', underneath the 'Publish thumbnails without updating other renditions' checkbox.
If that setting isn't there, then download the latest version of Backlight and re-install the LR Publisher.

Try enabling that, to see whether it helps.  You may need to change the duration to something that is effective in avoiding the problem but not too long to make publishing tedious.

Offline

Board footer

Powered by FluxBB