Forum

Thread tagged as: Problem, Addons, Api

Kraken Pending / Webhook Failure

I have implemented Kraken yet all of my jobs say 'PENDING' and on my Kraken Dashboard, my Optimization Status='SUCCESS' and Webhook Status='FAILURE'. I have tried changing the Image Base URL to several different paths and waited 1-2 days between each change and the tried to upload new assets. I contacted Kraken several days ago but have not heard a response. When adding assets I just add them from the Assets page. Below is my Diagnostics information:


{ Perch: 3.0.9 Production mode: Production (100) Installed apps: content (3.0.9), assets (3.0.9), categories (3.0.9), perch_blog (5.6.1), perch_kraken (1.1) DB driver: PDO DB tables: perch3_blog_authors (2), perch3_blog_comments (0), perch3_blog_index (3306), perch3_blog_posts (7), perch3_blog_posts_to_tags (4), perch3_blog_sections (1), perch3_blog_tags (4), perch3_blog_webmention_queue (0), perch3_blogs (1), perch3_categories (6), perch3_category_counts (2), perch3_category_sets (1), perch3_content_index (0), perch3_content_items (0), perch3_content_regions (0), perch3_kraken_jobs (11), perch3_menu_items (10), perch3_navigation (0), perch3_navigation_pages (0), perch3_page_templates (1), perch3_pages (0), perch3_resource_log (586), perch3_resource_tags (1), perch3_resources (287), perch3_resources_to_tags (2), perch3_settings (37), perch3_user_passwords (0), perch3_user_privileges (38), perch3_user_role_privileges (2), perch3_user_roles (2), perch3_users (2) Users: 2 App runtimes: <?php $apps_list = ['perch_blog' ]; Scheduled tasks for perch_blog: delete_spam_comments (1440 mins), publish_posts (1 mins), process_webmentions (1 mins) Editor plug-ins: H1: a379f18005d89654627dfebccfa0838b L1: 46520621f5c68416d3b4052ba36078a4 F1: 3b606135b33e6a102526838f4152a807 headerColour: #ffffff content_singlePageEdit: 1 helpURL: siteURL: / hideBranding: 0 content_collapseList: 1 lang: en-gb installedAt: 3.0.8 update_3.0.8: done latest_version: on_sale_version: 3.0.9 headerScheme: light dashboard: 0 hide_pwd_reset: 0 keyboardShortcuts: 0 content_hideNonEditableRegions: 0 content_frontend_edit: 0 content_skip_region_list: 0 logoPath: /perch/resources/logo.png perch_blog_update: 5.6 perch_blog_post_url: post.php?s={postSlug} perch_blog_site_name: perch_blog_slug_format: {postTitle} perch_blog_akismet_key: perch_blog_max_spam_days: 0 perch_blog_comment_notify: 0 perch_gallery_bucket_mode: single perch_gallery_bucket: default perch_gallery_basicUpload: 0 update_3.0.9: done perch_kraken_api_key: NULL perch_kraken_api_secret: NULL perch_kraken_dev_mode: assets_restrict_buckets: 0 perch_blog_webmention_tx: 0 perch_blog_webmention_rx: 0 perch_kraken_url: https://EXAMPLE.com/ PERCH_DEVELOPMENT: 10 PERCH_STAGING: 50 PERCH_PRODUCTION: 100 PERCH_DB_USERNAME: NULL PERCH_DB_SERVER: NULL PERCH_DB_DATABASE: NULL PERCH_DB_PREFIX: perch3_ PERCH_TZ: UTC PERCH_EMAIL_FROM: USER@EXAMPLE.com PERCH_EMAIL_FROM_NAME: USER PERCH_LOGINPATH: /perch PERCH_PATH: /home/USER/public_html/EXAMPLE.com/perch PERCH_CORE: /home/USER/public_html/EXAMPLE.com/perch/core PERCH_RESFILEPATH: /home/USER/public_html/EXAMPLE.com/perch/resources PERCH_RESPATH: /perch/resources PERCH_HTML5: 1 PERCH_GMAPS_API_KEY: NULL PERCH_RWD: 1 PERCH_RUNWAY: PERCH_ERROR_MODE: DIE PERCH_DATE_LONG: %d %B %Y PERCH_DATE_SHORT: %d %b %Y PERCH_TIME_SHORT: %H:%M PERCH_TIME_LONG: %H:%M:%S PERCH_RUNWAY_ROUTED: PERCH_STRONG_PASSWORDS: PERCH_ASSET_VERSION: ab805d13c20751d6975a PERCH_DEBUG: PERCH_PREVIEW_ARG: preview PERCH_TEMPLATE_PATH: /home/USER/public_html/EXAMPLE.com/perch/templates PERCH_TEMPLATE_FILTERS: PERCH_DEFAULT_DOC: index.php PERCH_DEFAULT_EXT: .php PERCH_PRODUCTION_MODE: 100 PERCH_XHTML_MARKUP: PERCH_HTML_ENTITIES: PERCH_SSL: PERCH_STRIPSLASHES: PERCH_PROGRESSIVE_FLUSH: 1 PERCH_PARANOID: PERCH_FORCE_SECURE_COOKIES: PERCH_DEFAULT_BUCKET: default PERCH_TRANSLATION_ASSIST: PERCH_PASSWORD_MIN_LENGTH: 6 PERCH_MAX_FAILED_LOGINS: 10 PERCH_AUTH_LOCKOUT_DURATION: 1 HOUR PERCH_VERIFY_UPLOADS: PERCH_PRIV_ASSIST: PERCH_CUSTOM_EDITOR_CONFIGS: PERCH_ENABLE_EXIF: 1 PERCH_AUTH_PLUGIN: PERCH_DB_CHARSET: utf8 PERCH_DB_PORT: PERCH_DB_SOCKET: PERCH_APPS_EDITOR_PLUGIN: markitup PERCH_APPS_EDITOR_MARKUP_LANGUAGE: markdown Hosting settings PHP: 7.1.6 Zend: 3.1.0 OS: Linux SAPI: cgi-fcgi Safe mode: not detected MySQL client: 5.6.35 MySQL server: 5.6.35-cll-lve Free disk space: 1.27 TB Extensions: Core, date, libxml, openssl, pcre, sqlite3, zlib, bz2, calendar, ctype, curl, hash, filter, ftp, gettext, gmp, SPL, iconv, pcntl, readline, Reflection, session, standard, shmop, SimpleXML, mbstring, tokenizer, xml, cgi-fcgi, imap, Phar, bcmath, inotify, posix, dom, intl, json, fileinfo, PDO, gd, xmlreader, soap, xmlrpc, exif, pdo_mysql, xmlwriter, mcrypt, pdo_sqlite, mysqli, imagick, mysqlnd GD: Yes ImageMagick: Yes PHP max upload size: 512M PHP max form post size: 2M PHP memory limit: 512M Total max uploadable file size: 2M Resource folder writeable: Yes Session timeout: 24 minutes Native JSON: Yes Filter functions: Yes Transliteration functions: Yes PATH: /sbin:/usr/sbin:/bin:/usr/bin PWD: /usr/local/cpanel/cgi-sys PHP_FCGI_MAX_REQUESTS: 5000 SCRIPT_NAME: /perch/core/settings/diagnostics/index.php REQUEST_URI: /perch/core/settings/diagnostics/?extended QUERY_STRING: extended REQUEST_METHOD: GET SERVER_PROTOCOL: HTTP/1.1 GATEWAY_INTERFACE: CGI/1.1 REMOTE_PORT: 46470 SCRIPT_FILENAME: /home/USER/public_html/EXAMPLE.com/perch/core/settings/diagnostics/index.php SERVER_ADMIN: webmaster@EXAMPLE.EXAMPLE.com CONTEXT_DOCUMENT_ROOT: /home/USER/public_html/EXAMPLE.com REQUEST_SCHEME: https DOCUMENT_ROOT: /home/USER/public_html/EXAMPLE.com REMOTE_ADDR: NULL SERVER_PORT: 443 SERVER_ADDR: NULL SERVER_NAME: EXAMPLE.com SERVER_SOFTWARE: Apache/2.4.25 LD_LIBRARY_PATH: /usr/local/apache/lib HTTP_COOKIE: PHPSESSID=4f0fe093c472e316d9a73f48209dbc6a; cmsa=1 HTTP_ACCEPT_LANGUAGE: en-US,en;q=0.8 HTTP_ACCEPT_ENCODING: gzip, deflate, br HTTP_REFERER: https://EXAMPLE.com/perch/core/settings/diagnostics/ HTTP_DNT: 1 HTTP_ACCEPT: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8 HTTP_USER_AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.90 Safari/537.36 HTTP_UPGRADE_INSECURE_REQUESTS: 1 HTTP_CONNECTION: close HTTP_HOST: EXAMPLE.com SSL_TLS_SNI: EXAMPLE.com HTTPS: on UNIQUE_ID: WZyUxTI@sCUAAB4wAuoAAAGS FCGI_ROLE: RESPONDER PHP_SELF: /perch/core/settings/diagnostics/index.php REQUEST_TIME_FLOAT: 1503433925.651 REQUEST_TIME: 1503433925 }
Clinton Lawson

Clinton Lawson 0 points

  • 4 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

Is your site publicly accessible?

Yes it is online. I tried without my TLS certificate and with it, no difference.

Drew McLellan

Drew McLellan 2638 points
Perch Support

Is there anything in your server error log?

No error messages, I just reached out to Kraken again since they have not responded to me. I did search the forums and the other person who had the same issue had no luck until his just randomly started working so that is no solution for me. This seems very strange, any reason why the webhook status failed on the Kraken.io Delivered Webhooks dashboard - as that may be the issue.

Drew McLellan

Drew McLellan 2638 points
Perch Support

It looks like you don't have your Kraken API key set in Settings.

I do have the private and public key set, I removed them so that someone could not steal them. The website url, database names, IPs, emails, and my name, I replaced with EXAMPLE.COM, NULL, and USER for security purposes.

Kraken said their end is okay, are there known issues on the Perch side?

Drew McLellan

Drew McLellan 2638 points
Perch Support

No, there's nothing on our side that interacts with this, it's all between your site and the Kraken API.