[Freeswitch-users] mod_http_cache doesn't retrieve any file

Brian West brian at freeswitch.org
Thu Apr 21 16:42:07 MSD 2016


Please file a JIRA

On Thursday, April 21, 2016, Alexander Mustafin <
mustafin.aleksandr at gmail.com> wrote:

> Thanks for helping me, guys.
>
> The directory /var/cache/freeswitch didn’t exist (Debian 8.4, debian
> packages) . I’ve created this one and set appropriate permissions.
>
> Now all works fine!
>
> Best regards,
> Alexander Mustafin
> mustafin.aleksandr at gmail.com
> <javascript:_e(%7B%7D,'cvml','mustafin.aleksandr at gmail.com');>
>
>
>
>
> 20 апр. 2016 г., в 18:34, cmrienzo at gmail.com
> <javascript:_e(%7B%7D,'cvml','cmrienzo at gmail.com');> написал(а):
>
> Make sure FreeSWITCH process has permission to open /create directories in
> /var/cache/freeswitch and that directory exists.
>
> Chris
>
>
> On Apr 20, 2016, at 08:26, Alexander Mustafin <
> mustafin.aleksandr at gmail.com
> <javascript:_e(%7B%7D,'cvml','mustafin.aleksandr at gmail.com');>> wrote:
>
> Hi there!
>
> I am testing mod_http_cache module and unfortunately it doesn’t work for
> me properly. I loaded module, and trying console commands such as
> ‘http_prefetch’ and others.
>
> A respond of server look like:
>
> freeswitch at fs.sip3.net
> <javascript:_e(%7B%7D,'cvml','freeswitch at fs.sip3.net');>> http_prefetch
> http://download.wavetlan.com/SVV/Media/HTTP/WAV/Media-Convert/Media-Convert_test4_Ulaw_Mono_VBR_8SS_22050Hz.wav
> +OK
>
> 2016-04-20 12:22:38.810363 [DEBUG] mod_http_cache.c:565 Locked cache
> 2016-04-20 12:22:38.810363 [INFO] mod_http_cache.c:653 Cache MISS: size =
> 1 (0 MB), hit ratio = 0/2
> 2016-04-20 12:22:38.810363 [DEBUG] mod_http_cache.c:718 Adding
> http://download.wavetlan.com/SVV/Media/HTTP/WAV/Media-Convert/Media-Convert_test4_Ulaw_Mono_VBR_8SS_22050Hz.wav(/var/cache/freeswitch/c9/396ca9-b29f-4a97-b40d-cb1430a7f1b6.wav)
> to cache index 1
> 2016-04-20 12:22:38.810363 [DEBUG] mod_http_cache.c:576 Unlocked cache
> 2016-04-20 12:22:38.810363 [DEBUG] mod_http_cache.c:1069 opening
> /var/cache/freeswitch/c9/396ca9-b29f-4a97-b40d-cb1430a7f1b6.wav for URL
> cache
> 2016-04-20 12:22:38.810363 [ERR] mod_http_cache.c:1103 open() error: No
> such file or directory
> 2016-04-20 12:22:38.810363 [DEBUG] mod_http_cache.c:565 Locked cache
> 2016-04-20 12:22:38.810363 [INFO] mod_http_cache.c:675 Failed to download
> URL
> http://download.wavetlan.com/SVV/Media/HTTP/WAV/Media-Convert/Media-Convert_test4_Ulaw_Mono_VBR_8SS_22050Hz.wav
> 2016-04-20 12:22:38.810363 [DEBUG] mod_http_cache.c:576 Unlocked cache
>
> And server does not try to obtain file from the url, because I listen 80
> port and I can’t see anything.
>
> Possibly the problem here '2016-04-20 12:22:38.810363 [INFO]
> mod_http_cache.c:653 Cache MISS: size = 1 (0 MB), hit ratio = 0/2’ but I
> don’t know what  it’s about.
>
> Any clue for this problem?
>
>
> Best regards,
> Alexander Mustafin
> mustafin.aleksandr at gmail.com
> <javascript:_e(%7B%7D,'cvml','mustafin.aleksandr at gmail.com');>
>
>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> <javascript:_e(%7B%7D,'cvml','consulting at freeswitch.org');>
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> <javascript:_e(%7B%7D,'cvml','FreeSWITCH-users at lists.freeswitch.org');>
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> <javascript:_e(%7B%7D,'cvml','consulting at freeswitch.org');>
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> <javascript:_e(%7B%7D,'cvml','FreeSWITCH-users at lists.freeswitch.org');>
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
>

-- 

*Brian West*
brian at freeswitch.org


*Twitter: @FreeSWITCH , @briankwest*
http://www.freeswitchbook.com
http://www.freeswitchcookbook.com
https://www.gofundme.com/freeswitch_ubuntu

Got Bugs? Report them here <https://freeswitch.org/jira>! | Reddit:
/r/freeswitch <https://www.reddit.com/r/freeswitch>

*T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378)
*iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160421/3afea081/attachment-0001.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list