IAPI Error A valid URL was not provided.
-
Hello,
I am using LiteSpeed Cache Image Optimization v2.9 for WordPress.
Everything worked fine with image optimization till some days back:
Current Stage Status
Images optimized and pulled: 1608 groups (11053 images)Image Information
98%
Images total: 1648 groups
Images not yet requested: 40 groupsOptimization Summary
Total Reduction: 143.28M
Images Pulled: 8817
Last Request: 12/23/2018 10:27:52Storage Optimization
Last calculated: 01/06/2019 21:25:36
Files: 11053
Total: 1.31GNow when i press “Send optimization request” i receive an error:
“IAPI Error A valid URL was not provided.”I tried to reset IAPY Key (with success), also “Clean up unfinished data” but nothing help.
thanks for any help,
RobertThe page I need help with: [log in to see the link]
-
Hello, no slution for my problem?
Hi @robilix, sorry for late reply, can you provide your Report Number for us, you can find in WP Admin > LiteSpeed Cache > Report.
Hello,
Sorry, i have opened a forum ticket also on the litespeedtech.com support forum.
Here is: Report number: JFFFJUZG
Also on that page i have on top “IAPI Error A valid URL was not provided. ”thank you,
RobertHi @robilix, can you turn on the
Litespeed Cache > Debug > Debug Log [Admin IP olny]and set you IPs on Admin IPs,
And then send us the debug log under
Litespeed Cache > Debug Logafter you
Send optimization request-
This reply was modified 7 years, 4 months ago by
stanley@litespeed.
Hello,
Yes, here is the log
01/16/19 15:30:21.688 [162.158.91.90:13002 1 XuB] ——GET HTTP/1.1 (HTTPS) /wp-admin/admin.php
01/16/19 15:30:21.688 [162.158.91.90:13002 1 XuB] Query String: page=lscache-settings
01/16/19 15:30:21.688 [162.158.91.90:13002 1 XuB] HTTP_REFERER: https://www.aiudulmeu.ro/wp-admin/admin.php?page=lscache-settings
01/16/19 15:30:21.688 [162.158.91.90:13002 1 XuB] Cookie _lscache_vary: admin_bar:1;logged-in:1;role:99
01/16/19 15:30:22.707 [172.69.55.125:51484 1 d1D] ——GET HTTP/1.1 (HTTPS) /wp-admin/admin.php
01/16/19 15:30:22.707 [172.69.55.125:51484 1 d1D] Query String: page=lscache-optimization
01/16/19 15:30:22.707 [172.69.55.125:51484 1 d1D] HTTP_REFERER: https://www.aiudulmeu.ro/wp-admin/admin.php?page=lscache-settings
01/16/19 15:30:22.707 [172.69.55.125:51484 1 d1D] Cookie _lscache_vary: admin_bar:1;logged-in:1;role:99
01/16/19 15:30:23.198 [162.158.91.90:13002 1 XuB] [Ctrl] X Cache_control -> private ( logged in user )
01/16/19 15:30:23.200 [172.69.55.125:51484 1 d1D] [Ctrl] X Cache_control -> private ( logged in user )
01/16/19 15:30:24.131 [162.158.91.90:13002 1 XuB] [Ctrl] X Cache_control -> no Cache ( Admin page )
01/16/19 15:30:24.140 [172.69.55.125:51484 1 d1D] [Ctrl] X Cache_control -> no Cache ( Admin page )
01/16/19 15:30:24.318 [162.158.91.90:13002 1 XuB] [Ctrl] not cacheable before ctrl finalize
01/16/19 15:30:24.353 [162.158.91.90:13002 1 XuB] [Router] get_uid: 2
01/16/19 15:30:24.380 [162.158.91.90:13002 1 XuB] [Router] get_role: administrator
01/16/19 15:30:24.386 [162.158.91.90:13002 1 XuB] X-LiteSpeed-Cache-Control: no-cache
01/16/19 15:30:24.386 [162.158.91.90:13002 1 XuB] [Optm] bypass: Not frontend HTML type
01/16/19 15:30:24.386 [162.158.91.90:13002 1 XuB] End response
——————————————————————————–01/16/19 15:30:24.778 [172.69.55.125:51484 1 d1D] [Ctrl] not cacheable before ctrl finalize
01/16/19 15:30:24.778 [172.69.55.125:51484 1 d1D] [Router] get_uid: 2
01/16/19 15:30:24.778 [172.69.55.125:51484 1 d1D] [Router] get_role: administrator
01/16/19 15:30:24.780 [172.69.55.125:51484 1 d1D] X-LiteSpeed-Cache-Control: no-cache
01/16/19 15:30:24.780 [172.69.55.125:51484 1 d1D] [Optm] bypass: Not frontend HTML type
01/16/19 15:30:24.780 [172.69.55.125:51484 1 d1D] End response
——————————————————————————–01/16/19 15:30:36.739 [172.69.55.125:14036 1 mrf] ——GET HTTP/1.1 (HTTPS) /wp-admin/admin.php
01/16/19 15:30:36.739 [172.69.55.125:14036 1 mrf] Query String: page=lscache-optimization&LSCWP_CTRL=img_optm&LSCWP_NONCE=01888ed29c&type=img_optm
01/16/19 15:30:36.739 [172.69.55.125:14036 1 mrf] HTTP_REFERER: https://www.aiudulmeu.ro/wp-admin/admin.php?page=lscache-optimization
01/16/19 15:30:36.739 [172.69.55.125:14036 1 mrf] Cookie _lscache_vary: admin_bar:1;logged-in:1;role:99
01/16/19 15:30:37.239 [172.69.55.125:14036 1 mrf] [Ctrl] X Cache_control -> private ( logged in user )
01/16/19 15:30:37.241 [172.69.55.125:14036 1 mrf] [Router] LSCWP_CTRL: img_optm
01/16/19 15:30:37.241 [172.69.55.125:14036 1 mrf] [Router] LSCWP_CTRL verified: ‘img_optm’
01/16/19 15:30:37.247 [172.69.55.125:14036 1 mrf] [Router] parsed type: img_optm
01/16/19 15:30:37.247 [172.69.55.125:14036 1 mrf] [Img_Optm] preparing images to push
01/16/19 15:30:37.284 [172.69.55.125:14036 1 mrf] [Img_Optm] found images: 7601/16/19 15:31:28.909 [162.158.92.161:21346 1 j5k] ——POST HTTP/1.1 (HTTPS) /wp-admin/admin-ajax.php
01/16/19 15:31:28.909 [162.158.92.161:21346 1 j5k] Query String:
01/16/19 15:31:28.909 [162.158.92.161:21346 1 j5k] HTTP_REFERER: https://www.aiudulmeu.ro/wp-admin/admin.php?page=lscache-optimization
01/16/19 15:31:28.909 [162.158.92.161:21346 1 j5k] Cookie _lscache_vary: admin_bar:1;logged-in:1;role:99
01/16/19 15:31:29.838 [162.158.92.161:21346 1 j5k] [Ctrl] X Cache_control -> private ( logged in user )
01/16/19 15:31:31.599 [162.158.92.161:21346 1 j5k] [Ctrl] X Cache_control -> no Cache ( Admin page )
01/16/19 15:31:31.732 [162.158.92.161:21346 1 j5k] [Ctrl] not cacheable before ctrl finalize
01/16/19 15:31:31.748 [162.158.92.161:21346 1 j5k] [Router] get_uid: 2
01/16/19 15:31:31.764 [162.158.92.161:21346 1 j5k] [Router] get_role: administrator
01/16/19 15:31:31.796 [162.158.92.161:21346 1 j5k] X-LiteSpeed-Cache-Control: no-cache
01/16/19 15:31:31.870 [162.158.92.161:21346 1 j5k] [Optm] bypass: Not frontend HTML type
01/16/19 15:31:31.885 [162.158.92.161:21346 1 j5k] End response
——————————————————————————–01/16/19 15:32:05.166 [172.69.55.125:14036 1 mrf] [Img_Optm] prepared images to push: groups 76 images 608
01/16/19 15:32:05.169 [172.69.55.125:14036 1 mrf] [IAPI] posting to : https://wp.api.litespeedtech.com/list_clouds
01/16/19 15:32:05.930 [172.69.55.125:14036 1 mrf] [Util] ping [Domain] us.wp.api.litespeedtech.com [Speed] 99999
01/16/19 15:32:05.935 [172.69.55.125:14036 1 mrf] [Util] ping [Domain] eu.wp.api.litespeedtech.com [Speed] 99999
01/16/19 15:32:05.935 [172.69.55.125:14036 1 mrf] [Util] ping [Domain] as.wp.api.litespeedtech.com [Speed] 99999
01/16/19 15:32:05.935 [172.69.55.125:14036 1 mrf] [IAPI] failed to ping all clouds
01/16/19 15:32:05.935 [172.69.55.125:14036 1 mrf] [IAPI] req auth_key
01/16/19 15:32:05.937 [172.69.55.125:14036 1 mrf] [IAPI] posting to : /request_key
01/16/19 15:32:05.938 [172.69.55.125:14036 1 mrf] [IAPI] failed to post: A valid URL was not provided.
01/16/19 15:32:05.938 [172.69.55.125:14036 1 mrf] [IAPI] request key failed: — ‘A valid URL was not provided.’
01/16/19 15:32:05.941 [172.69.55.125:14036 1 mrf] [IAPI] posting to : /request_optimize
01/16/19 15:32:05.941 [172.69.55.125:14036 1 mrf] [IAPI] failed to post: A valid URL was not provided.
01/16/19 15:32:05.941 [172.69.55.125:14036 1 mrf] [Ctrl] 301 from https://www.aiudulmeu.ro/wp-admin/admin.php
01/16/19 15:32:05.941 [172.69.55.125:14036 1 mrf] [Ctrl] 301 to https://www.aiudulmeu.ro/wp-admin/admin.php?page=lscache-optimization&type=img_optm
01/16/19 15:32:05.941 [172.69.55.125:14036 1 mrf] [Ctrl] X Cache_control -> no Cache ( 301 to same url )
01/16/19 15:32:05.942 [172.69.55.125:14036 1 mrf] [Ctrl] not cacheable before ctrl finalize
01/16/19 15:32:05.942 [172.69.55.125:14036 1 mrf] [Router] get_uid: 2
01/16/19 15:32:05.942 [172.69.55.125:14036 1 mrf] [Router] get_role: administrator
01/16/19 15:32:05.944 [172.69.55.125:14036 1 mrf] X-LiteSpeed-Cache-Control: no-cache
01/16/19 15:32:05.944 [172.69.55.125:14036 1 mrf] [Optm] bypass: Not frontend HTML type
01/16/19 15:32:05.944 [172.69.55.125:14036 1 mrf] End response
——————————————————————————–01/16/19 15:32:06.334 [172.69.55.125:19750 1 x03] ——GET HTTP/1.1 (HTTPS) /wp-admin/admin.php
01/16/19 15:32:06.334 [172.69.55.125:19750 1 x03] Query String: page=lscache-optimization&type=img_optm
01/16/19 15:32:06.334 [172.69.55.125:19750 1 x03] HTTP_REFERER: https://www.aiudulmeu.ro/wp-admin/admin.php?page=lscache-optimization
01/16/19 15:32:06.334 [172.69.55.125:19750 1 x03] Cookie _lscache_vary: admin_bar:1;logged-in:1;role:99
01/16/19 15:32:06.581 [172.69.55.125:19750 1 x03] [Ctrl] X Cache_control -> private ( logged in user )
01/16/19 15:32:07.908 [172.69.55.125:19750 1 x03] [Ctrl] X Cache_control -> no Cache ( Admin page )
01/16/19 15:32:08.036 [172.69.55.125:19750 1 x03] [Ctrl] not cacheable before ctrl finalize
01/16/19 15:32:08.036 [172.69.55.125:19750 1 x03] [Router] get_uid: 2
01/16/19 15:32:08.036 [172.69.55.125:19750 1 x03] [Router] get_role: administrator
01/16/19 15:32:08.037 [172.69.55.125:19750 1 x03] X-LiteSpeed-Cache-Control: no-cache
01/16/19 15:32:08.038 [172.69.55.125:19750 1 x03] [Optm] bypass: Not frontend HTML type
01/16/19 15:32:08.038 [172.69.55.125:19750 1 x03] End response
——————————————————————————–Thank you,
RobertOne thing more, i use CloudFlare, but it is not something new.
I have used it from first steps, before installed LiteSpeed and all worked fine till now.Hi @robilix, thanks for the information. We will get back to you if have any updates.
Hello,
Hosting company gaved a solution that under cPanel -> Select PHP Version -> Switch To PHP Options ->
remove everything at “disable_functions” (fsockopen, passthru, system, dl, proc_open, proc_close, shell, shell_exec, ini_alter, ini_restore, popen, escapeshellarg, escapeshellcmd, pcntl_exec, proc_terminate, proc_nice, error_log, syslog, link, symlink, proc_open_status, readlink, virtual, shell, mysql_pconnect, exec, disk_free_space, diskfreespace, disk_total_space, getmyuid, getmypid, getrusage, highlight_file, php_uname, show_source, proc_get_status, posix_kill, posix_mkfifo, posix_setpgid, posix_setsid, posix_setuid, posix_getpwuid, allow_url_fopen)
After that works again.
RobertThanks for the update, our image optimization needs to use
fsockopento check the connection with our server, so it will be blocked because the function has been disabled. -
This reply was modified 7 years, 4 months ago by
The topic ‘IAPI Error A valid URL was not provided.’ is closed to new replies.