VideoCache
Videocache is no longer in development.

HTTP Error 403: Forbidden

by Sincan2 on 5 May 2011

ALL can`t save in to /var/spool/videocache

why ?
and miss error

05/May/2011:22:29:22 29410 INFO xxxxxxx YOUTUBE CACHE_THREAD_START YJ0y63mqTi8 Starting cache thread. -
05/May/2011:22:29:22 29410 ERROR xxxxxx YOUTUBE VIDEO_PAGE_ERR YJ0y63mqTi8 Error while fetching video webpage. HTTP Error 403: Forbidden
05/May/2011:22:29:27 29410 INFO - - CACHE_THREAD_REMOVE YJ0y63mqTi8 Cache thread completed. Removing from active list. -
05/May/2011:22:29:45 29410 INFO - - VIDEOS_RECEIVED - Received 1 videos from Videocache. -
05/May/2011:22:37:12 29410 INFO - - VIDEOS_RECEIVED - Received 1 videos from Videocache. -
05/May/2011:22:42:21 29410 INFO - - VIDEOS_RECEIVED - Received 1 videos from Videocache. -
05/May/2011:22:46:26 29410 INFO - - VIDEOS_RECEIVED - Received 1 videos from Videocache. -
05/May/2011:22:46:31 29410 INFO xxxxx YOUTUBE CACHE_THREAD_START Cb8j8h-7PYo Starting cache thread. -
05/May/2011:22:46:31 29410 ERROR xxxxx YOUTUBE VIDEO_PAGE_ERR Cb8j8h-7PYo Error while fetching video webpage. HTTP Error 403: Forbidden
05/May/2011:22:46:36 29410 INFO - - CACHE_THREAD_REMOVE Cb8j8h-7PYo Cache thread completed. Removing from active list. -
05/May/2011:22:47:35 29410 INFO - - VIDEOS_RECEIVED - Received 1 videos from Videocache. -
05/May/2011:22:47:45 29410 INFO - - VIDEOS_RECEIVED - Received 1 videos from Videocache. -
05/May/2011:22:47:46 29410 INFO xxxxxx HE_THREAD_START jnk4JwVDEbQ Starting cache thread. -
05/May/2011:22:47:46 29410 ERROR xxxxx YOUTUBE VIDEO_PAGE_ERR jnk4JwVDEbQ Error while fetching video webpage. HTTP Error 403: Forbidden
05/May/2011:22:47:51 29410 INFO - - CACHE_THREAD_REMOVE jnk4JwVDEbQ Cache thread completed. Removing from active list. -
05/May/2011:22:48:19 29410 INFO - - VIDEOS_RECEIVED - Received 1 videos from Videocache. -
05/May/2011:22:48:22 29410 INFO x.x.x.x YOUTUBE CACHE_THREAD_START jsVW-XO9nuY Starting cache thread. -
05/May/2011:22:48:22 29410 ERROR x.x.x.x YOUTUBE VIDEO_PAGE_ERR jsVW-XO9nuY Error while fetching video webpage. HTTP Error 403: Forbidden
05/May/2011:22:48:27 29410 INFO - - CACHE_THREAD_REMOVE jsVW-XO9nuY Cache thread completed. Removing from active list. -
05/May/2011:22:50:46 29410 INFO - - VIDEOS_RECEIVED - Received 1 videos from Videocache. -

Can`t saved why ?

3 Answers

by Kulbir Saini on 9 May 2011

Hi,

Are you using proxy option in videocache.conf?

Thank You!

by Sincan2 on 10 May 2011

Yes

cache_host = 192.168.10.100

# Base directories for caching the videos.
# You can specify multiple caching directories here separated by '|' .
#
# EXAMPLE: To keep /videocache1 and /videocache2 as your cache directories,
# set base_dir to base_dir = /videocache/ | /videocache2
#
# Please try to avoid special characters in directory names like spaces, $ etc.
base_dir = /var/spool/videocache/

# The maximum number of parallel cache processes allowed. If all connections are consumed,
# videos will be queued for caching.
max_cache_processes = 20

# Proxy for http content.
# -----------------------------------------------------------------------------
# | Warning : USE THIS ONLY IF Videocache Server should go via anohter proxy. |
# -----------------------------------------------------------------------------
# Example : http_proxy = http://<Proxy_Server_IP_OR_Domain>:<Proxy_port>/
# or http://proxy.example.com:3128/
proxy = http://192.168.10.100:2630/
by Kulbir Saini on 12 May 2011

Hi,

Can your proxy reach internet directly? If yes, then try removing the proxy option completely.

Thank You!