This connection is too fragile… 250002: Invalid Authentication Information
-
Why is this happening all the time? It drives me nuts. Basically I need to verify once a day to see if the connection is still there… just to find out that is not:
250002: Invalid Authentication Information
I don’t understand why this keeps breaking. Then I need to revoke it, turn off the firewall, and clean Chrome cache to the bone, only to be able to reestablish it again… until the very next day.
What is going on?!
-
Perhaps this is something specific to your setup. If you use Redis, check Memcache, or vice versa.
Provide the exact configuration of your WordPress, WooCommerce and LSCache and we will check if we can reproduce it.
You know you are requiring hundreds of settings, right? And in a very demanding and not polite way. You just expressed yourself as being sure about the LSCache object cache ‘not doing the right thing’. If you already isolated the issue, why don’t you fix that?
Sorry, I used the wrong word, I’m a simple developer, not a politician ??
To try to reproduce the problem we will need:
– PHP version
– WordPress version
– WooCommerce version
– LSCache version
– object cache configuration
– system status from WooCommerce would also be helpfulYou don’t have to be a politician to speak politely and respect your users and other people’s work. Maybe being less arrogant would help you realize that users like me can help you spot weaknesses in your work/plugin. Because is not always ‘them’, sometimes is ‘us’. Let’s keep this friendly and treat this issue as real, potentially affecting others as well.
I will later be getting back with the data requested.
In the meantime I switched from Redis to Memcache and I am monitoring the behavior.
Thank you for your support.
["_version","6.1"] ["hash","yz5OdtyKtlw4q6jDC3VMjlxyee2DERcw3dG"] ["auto_upgrade",true] ["api_key","233C969C81F060B1CD469254F6BBDCA96"] ["server_ip",""] ["guest",false] ["guest_optm",false] ["news",true] ["guest_uas",["Lighthouse","GTmetrix","Google","Pingdom","bot","PTST","HeadlessChrome"]] ["guest_ips",["208.70.247.157","172.255.48.130","172.255.48.131","172.255.48.132","172.255.48.133","172.255.48.134","172.255.48.135","172.255.48.136","172.255.48.137","172.255.48.138","172.255.48.139","172.255.48.140","172.255.48.141","172.255.48.142","172.255.48.143","172.255.48.144","172.255.48.145","172.255.48.146","172.255.48.147","52.229.122.240","104.214.72.101","13.66.7.11","13.85.24.83","13.85.24.90","13.85.82.26","40.74.242.253","40.74.243.13","40.74.243.176","104.214.48.247","157.55.189.189","104.214.110.135","70.37.83.240","65.52.36.250","13.78.216.56","52.162.212.163","23.96.34.105","65.52.113.236","172.255.61.34","172.255.61.35","172.255.61.36","172.255.61.37","172.255.61.38","172.255.61.39","172.255.61.40","104.41.2.19","191.235.98.164","191.235.99.221","191.232.194.51","52.237.235.185","52.237.250.73","52.237.236.145","104.211.143.8","104.211.165.53","52.172.14.87","40.83.89.214","52.175.57.81","20.188.63.151","20.52.36.49","52.246.165.153","51.144.102.233","13.76.97.224","102.133.169.66","52.231.199.170","13.53.162.7","40.123.218.94"]] ["cache",true] ["cache-priv",true] ["cache-commenter",true] ["cache-rest",true] ["cache-page_login",true] ["cache-favicon",true] ["cache-resources",false] ["cache-mobile",true] ["cache-mobile_rules",["Mobile","Android","Silk\/","Kindle","BlackBerry","Opera Mini","Opera Mobi"]] ["cache-browser",true] ["cache-exc_useragents",[]] ["cache-exc_cookies",[]] ["cache-exc_qs",[]] ["cache-exc_cat",[]] ["cache-exc_tag",[]] ["cache-force_uri",[]] ["cache-force_pub_uri",[]] ["cache-priv_uri",[]] ["cache-exc",["\/checkout\/$","\/cart\/$","\/my-account\/$","\/contact\/$","\/about\/$","\/privacy\/$","\/terms\/$","\/web-stories\/$","\/where-to-buy\/$","\/blog\/general\/$","\/contact\/"]] ["cache-exc_roles",[]] ["cache-drop_qs",["fbclid","gclid","utm*","_ga"]] ["cache-ttl_pub",604800] ["cache-ttl_priv",1800] ["cache-ttl_frontpage",604800] ["cache-ttl_feed",604800] ["cache-ttl_rest",604800] ["cache-ttl_browser",31557600] ["cache-ttl_status",["403 3600","404 1","500 3600"]] ["cache-login_cookie",""] ["cache-vary_cookies",[]] ["cache-vary_group",{"administrator":"99","author":"0","contributor":"0","customer":"0","ea_accountant":"0","ea_manager":"0","editor":"0","person":"0","shop_manager":"0","subscriber":"0","vip_distributor":"0","wholesale_customer":"0","wpas_agent":"0","wpas_manager":"0","wpas_support_manager":"0","wpas_user":"0"}] ["purge-upgrade",true] ["purge-stale",false] ["purge-post_all",true] ["purge-post_f",true] ["purge-post_h",true] ["purge-post_p",true] ["purge-post_pwrp",true] ["purge-post_a",true] ["purge-post_y",false] ["purge-post_m",true] ["purge-post_d",false] ["purge-post_t",true] ["purge-post_pt",true] ["purge-timed_urls",[]] ["purge-timed_urls_time","19:07"] ["purge-hook_all",["switch_theme","wp_create_nav_menu","wp_update_nav_menu","wp_delete_nav_menu","create_term","edit_terms","delete_term","add_link","edit_link","delete_link"]] ["esi",false] ["esi-cache_admbar",true] ["esi-cache_commform",true] ["esi-nonce",["stats_nonce","subscribe_nonce"]] ["util-instant_click",false] ["util-no_https_vary",false] ["debug-disable_all",false] ["debug",0] ["debug-ips",["127.0.0.1"]] ["debug-level",false] ["debug-filesize",3] ["debug-cookie",false] ["debug-collaps_qs",false] ["debug-inc",[]] ["debug-exc",[]] ["debug-exc_strings",[]] ["db_optm-revisions_max",10] ["db_optm-revisions_age",0] ["optm-css_min",true] ["optm-css_comb",true] ["optm-css_comb_ext_inl",true] ["optm-ucss",true] ["optm-ucss_inline",false] ["optm-ucss_whitelist",[]] ["optm-ucss_file_exc_inline",[]] ["optm-ucss_exc",["https:\/\/bfx.com\/","https:\/\/bfx.com\/shop\/","https:\/\/bfx.com\/the-101\/"]] ["optm-css_exc",[]] ["optm-js_min",true] ["optm-js_comb",true] ["optm-js_comb_ext_inl",true] ["optm-js_delay_inc",[]] ["optm-js_exc",["\/\/ DEFAULT","jquery.js","jquery.min.js"]] ["optm-html_min",true] ["optm-html_lazy",[]] ["optm-qs_rm",false] ["optm-ggfonts_rm",false] ["optm-css_async",false] ["optm-ccss_per_url",true] ["optm-ccss_sep_posttype",["page"]] ["optm-ccss_sep_uri",[]] ["optm-css_async_inline",true] ["optm-css_font_display",true] ["optm-js_defer",0] ["optm-emoji_rm",false] ["optm-noscript_rm",false] ["optm-ggfonts_async",false] ["optm-exc_roles",["administrator"]] ["optm-ccss_con",""] ["optm-js_defer_exc",["\/\/ DEFAULT","jquery.js","jquery.min.js","gtm.js","analytics.js"]] ["optm-gm_js_exc",[]] ["optm-dns_prefetch",["https:\/\/use.fontawesome.com","https:\/\/in.hotjar.com","https:\/\/script.hotjar.com","https:\/\/static.hotjar.com","https:\/\/vars.hotjar.com","https:\/\/www.youtube.com","https:\/\/www.google.com","https:\/\/widget.sndcdn.com","https:\/\/connect.facebook.net","https:\/\/static.doubleclick.net","https:\/\/cdn.jsdelivr.net","https:\/\/fonts.gstatic.com"]] ["optm-dns_prefetch_ctrl",true] ["optm-dns_preconnect",[]] ["optm-exc",["\/contact\/$","\/"]] ["optm-guest_only",true] ["object",true] ["object-kind",false] ["object-host","localhost"] ["object-port",11211] ["object-life",360] ["object-persistent",true] ["object-admin",false] ["object-transients",true] ["object-db_id",0] ["object-user",""] ["object-pswd",""] ["object-global_groups",["users","userlogins","useremail","userslugs","usermeta","user_meta","site-transient","site-options","site-lookup","site-details","blog-lookup","blog-details","blog-id-cache","rss","global-posts","global-cache-test"]] ["object-non_persistent_groups",["comment","counts","plugins","wc_session_id"]] ["discuss-avatar_cache",false] ["discuss-avatar_cron",false] ["discuss-avatar_cache_ttl",604800] ["optm-localize",false] ["optm-localize_domains",["### Popular scripts ###","https:\/\/platform.twitter.com\/widgets.js","https:\/\/connect.facebook.net\/en_US\/fbevents.js","https:\/\/www.google-analytics.com\/analytics.js","https:\/\/www.googletagmanager.com\/gtm.js","https:\/\/www.googletagmanager.com\/gtag\/js","https:\/\/www.googletagservices.com\/tag\/js\/gpt.js","https:\/\/www.googleoptimize.com\/optimize.js","https:\/\/www.google.com\/recaptcha\/api.js","https:\/\/maps.google.com\/maps\/api\/js","https:\/\/maps.googleapis.com\/maps\/api\/js","https:\/\/pagead2.googlesyndication.com\/pagead\/js","https:\/\/ajax.cloudflare.com\/","https:\/\/cdnjs.cloudflare.com\/","https:\/\/ajax.googleapis.com\/ajax\/","https:\/\/netdna.bootstrapcdn.com\/","https:\/\/stackpath.bootstrapcdn.com\/","https:\/\/code.jquery.com\/","https:\/\/www.google.ro\/"]] ["media-preload_featured",false] ["media-lazy",false] ["media-lazy_placeholder",""] ["media-placeholder_resp",false] ["media-placeholder_resp_color","#ffffff"] ["media-placeholder_resp_svg","<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"{width}\" height=\"{height}\" viewBox=\"0 0 {width} {height}\"><rect width=\"100%\" height=\"100%\" \/><\/svg>"] ["media-lqip",false] ["media-lqip_qual",20] ["media-lqip_min_w",400] ["media-lqip_min_h",400] ["media-placeholder_resp_async",true] ["media-iframe_lazy",false] ["media-add_missing_sizes",false] ["media-lazy_exc",[]] ["media-lazy_cls_exc",["wmu-preview-img"]] ["media-lazy_parent_cls_exc",[]] ["media-iframe_lazy_cls_exc",[]] ["media-iframe_lazy_parent_cls_exc",[]] ["media-lazy_uri_exc",["$\/","\/$","\/shop\/$"]] ["media-lqip_exc",["https:\/\/bfx.com$","https:\/\/bfx.com\/$","https:\/\/bfx.com\/shop\/$"]] ["media-vpi",false] ["media-vpi_cron",false] ["img_optm-auto",true] ["img_optm-cron",true] ["img_optm-ori",true] ["img_optm-rm_bkup",false] ["img_optm-webp",true] ["img_optm-lossless",false] ["img_optm-exif",false] ["img_optm-webp_attr",["img.src","div.data-thumb","img.data-src","div.data-large_image","img.retina_logo_url","div.data-parallax-image","video.poster"]] ["img_optm-webp_replace_srcset",true] ["img_optm-jpg_quality",77] ["crawler",true] ["crawler-usleep",500] ["crawler-run_duration",400] ["crawler-run_interval",300] ["crawler-crawl_interval",43200] ["crawler-threads",4] ["crawler-timeout",30] ["crawler-load_limit",5] ["crawler-sitemap","https:\/\/bfx.com\/sitemap.xml"] ["crawler-drop_domain",true] ["crawler-map_timeout",120] ["crawler-roles",[]] ["crawler-cookies",[]] ["misc-heartbeat_front",true] ["misc-heartbeat_front_ttl",15] ["misc-heartbeat_back",true] ["misc-heartbeat_back_ttl",15] ["misc-heartbeat_editor",true] ["misc-heartbeat_editor_ttl",90] ["cdn",false] ["cdn-ori",["\/\/bfx.com\/"]] ["cdn-ori_dir",["wp-content","wp-includes"]] ["cdn-exc",[]] ["cdn-quic",true] ["cdn-cloudflare",false] ["cdn-cloudflare_email",""] ["cdn-cloudflare_key",""] ["cdn-cloudflare_name",""] ["cdn-cloudflare_zone",""] ["cdn-mapping",[{"url":"","inc_img":true,"inc_css":true,"inc_js":true,"filetype":[".aac",".css",".eot",".gif",".jpeg",".jpg",".js",".less",".mp3",".mp4",".ogg",".otf",".pdf",".png",".svg",".ttf",".webp",".woff",".woff2"]}]] ["cdn-attr",[".src",".data-src",".href",".poster","source.srcset"]] ["qc-token",""] ["qc-nameservers",""] ["_cache",true]
This is the LSCache export settings.
- This reply was modified 9 months, 2 weeks ago by cosbe.
LSCache is the latest 6.1. Same as WordPress 6.4.3 and Woocommerce 8.5.2, PHP 8.1.27. Edited Sys Status (let me know if you need to know something specific and why):
` ### WordPress Environment ### WordPress address (URL): Site address (URL): WC Version: 8.5.2 REST API Version: ? WC Blocks Version: ? Action Scheduler Version: ? Log Directory Writable: ? WP Version: 6.4.3 WP Multisite: – WP Memory Limit: WP Debug Mode: – WP Cron: ? External object cache: ? ### Server Environment ### Server Info: LiteSpeed PHP Version: 8.1.27 PHP Post Max Size: PHP Time Limit: PHP Max Input Vars: cURL Version: OpenSSL/1.1.1k SUHOSIN Installed: – GZip: Multibyte String: Remote Post: Remote Get: ### Database ### ### Post Type Counts ### ### Security ### Secure connection (HTTPS): Hide errors from visitors: ### Active Plugins (73) ### ### Inactive Plugins (0) ### ### Dropin Plugins (2) ### ### Must Use Plugins (2) ### ### Settings ### API Enabled: ? Force SSL: ? Currency: EUR (€) Currency Position: Thousand Separator: Decimal Separator: Number of Decimals: Taxonomies: Product Types: external (external) grouped (grouped) pw gift card (pw-gift-card) simple (simple) variable (variable) woosb (woosb) Connected to Woo.com: ? ### WC Pages ### ### Theme ### Name: Version: Author URL: Child Theme: ? Parent Theme Name: Parent Theme Version: Parent Theme Author URL: WooCommerce Support: ? ### Templates ### ### Geolocation debug info ### REMOTE_ADDR: ### PBC Settings ### Version: 3.4.2 Base location: Base currency: EUR Price Based On: shipping Shipping: ? Test mode: Test country: Load products price in background: ? Prices entered with tax: ? Calculate tax based on: shipping Display prices in the shop: incl ### Zone Pricing ### ### Admin ### Enabled Features: Disabled Features: Daily Cron: Options: Notes: Onboarding: ### Action Scheduler ### Canceled: 1 Oldest: 2024-02-01 13:25:22 +0100 Newest: 2024-02-01 13:25:22 +0100 Complete: 514 Oldest: 2024-01-12 14:36:48 +0100 Newest: 2024-02-12 09:11:57 +0100 Failed: 27 Oldest: 2023-12-20 17:25:33 +0100 Newest: 2024-02-09 19:35:30 +0100 Pending: 8 Oldest: 2024-02-12 15:15:48 +0100 Newest: 2024-02-16 15:00:41 +0100 ### Status report information ### Generated at: 2024-02-12 13:41:11 +01:00 `
@becosfx, thank you. We are trying to reproduce the problem.
250002: Invalid Authentication Information
Memcache or Redis, it does the same. The very next day the connection to UPS API failed. Isn’t there any way to specify what part of your plugin scripts or whatever should stay out of LSCache? Because this is way too annoying…
@becosfx thank you for the update. We’re working on it.
FWIW, Our website is having the same 250002 error. We connected to UPS with the XML API for years without a single issue, and recently switched to the Oauth. It connects and says OK, but a day or so later we realize it is disconnected and the only way to fix is Revoke, and Reconnect. It is indeed very frustrating.
- This reply was modified 9 months, 2 weeks ago by billpq.
I hope you find a way because is becoming horrible.
We are not reproducing this problem. However, we have released an update with a fix that may potentially fix this issue.
Installed the update and monitoring.
I don’t think this is solved. I can see sometimes UPS Live Rates not showing in Cart and Checkout. When I go to plugin settings and the page first loads, it shows disconnection error [250002: Invalid Authentication Information] but if I simply refresh the page in the browser, is checking again and then it shows connection OK. After that, the Live Rates do show in Cart and checkout. But basically I need to check for this every day. It is very troublesome. Can’t you really find a way to keep that connection alive for good, or make a routine underground to check and reestablish the connection by itself, if it fails for whatever reason? Is this that hard?
- This reply was modified 9 months ago by cosbe.
- You must be logged in to reply to this topic.