Digest::SHA1 error

Hi,

We would like to evaluate the FOP2 demo on our Asterisk 1.8.11 server (Debian Squeeze) but are facing a connection problem between the web interface and the server.
The "fop2_server -t" command returns :

Flash Operator Panel 2 - License file fop2.lic not found.
Running in Demo Mode
Connection to manager OK!

but browsing to the site (located on our server in /var/www/localhost/htdocs/fop2/ for legacy reasons), we get the following error :

"One moment please
loading
Connecting to server, attempt number : 1"

and the only log on the server console (launched with ./fop2_server -X 3) is :

EV: error in callback (ignoring): Undefined subroutine &Digest::SHA1::sha1 called at /tmp/par-root/cache-382aa18dc5e5dfe5841e1f10977d5bb7344d6d27/inc/lib/Protocol/WebSocket/Response.pm line 95.

Any idea ?

Many thanks in advance,
SymMat

Comments

  • Hi,

    Yes, I have noticed that debian dropped the use of Digest:SHA1 in perl and used Digest:SHA instead (a similar but different package). I have updated the debian package to use that instead. Please redownload the .tar.gz and replace only the fop2_server binary and try again.


    Best regards,
  • It now works perfectly, thank you !
Sign In or Register to comment.