{"action":"created","issue":{"url":"https://api.github.com/repos/bigbluebutton/bigbluebutton/issues/3305","repository_url":"https://api.github.com/repos/bigbluebutton/bigbluebutton","labels_url":"https://api.github.com/repos/bigbluebutton/bigbluebutton/issues/3305/labels{/name}","comments_url":"https://api.github.com/repos/bigbluebutton/bigbluebutton/issues/3305/comments","events_url":"https://api.github.com/repos/bigbluebutton/bigbluebutton/issues/3305/events","html_url":"https://github.com/bigbluebutton/bigbluebutton/issues/3305","id":172464395,"number":3305,"title":"Updating secret does not works","user":{"login":"dvapelnik","id":1562244,"avatar_url":"https://avatars.githubusercontent.com/u/1562244?v=3","gravatar_id":"","url":"https://api.github.com/users/dvapelnik","html_url":"https://github.com/dvapelnik","followers_url":"https://api.github.com/users/dvapelnik/followers","following_url":"https://api.github.com/users/dvapelnik/following{/other_user}","gists_url":"https://api.github.com/users/dvapelnik/gists{/gist_id}","starred_url":"https://api.github.com/users/dvapelnik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dvapelnik/subscriptions","organizations_url":"https://api.github.com/users/dvapelnik/orgs","repos_url":"https://api.github.com/users/dvapelnik/repos","events_url":"https://api.github.com/users/dvapelnik/events{/privacy}","received_events_url":"https://api.github.com/users/dvapelnik/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2016-08-22T14:18:06Z","updated_at":"2016-08-23T06:40:43Z","closed_at":"2016-08-22T14:22:08Z","body":"I wrote\r\n`# bbb-conf --setsecret <my-new-secret-key>`\r\nThe secret key has been changed:\r\n```\r\n# cat /var/lib/tomcat7/webapps/bigbluebutton/WEB-INF/classes/bigbluebutton.properties | grep security\r\nsecuritySalt=<my-new-secret-key>\r\n```\r\nBut I cant use API because response has error: `You did not pass the checksum security check`.\r\nI set up default salt (secret) from clean installed software. It works. OK.\r\nBut new salt (secret) not used.\r\nIs it bug?\r\n\r\n`bbb-conf --check` with new salt (updated on demo config too)\r\n```\r\n# bbb-conf --check\r\n\r\nBigBlueButton Server 1.0.0 (1017)\r\n                    Kernel version: 4.2.0-41-generic\r\n                      Distribution: Ubuntu 14.04.4 LTS (64-bit)\r\n                            Memory: 7982 MB\r\n\r\n/var/www/bigbluebutton/client/conf/config.xml (bbb-client)\r\n  \t\tPort test (tunnel): <SERVER_IP>\r\n                              Red5: <SERVER_IP>\r\n              useWebrtcIfAvailable: true\r\n\r\n/opt/freeswitch/conf/sip_profiles/external.xml (FreeSWITCH)\r\n                    websocket port: 5066\r\n                    WebRTC enabled: true\r\n\r\n/etc/nginx/sites-available/bigbluebutton (nginx)\r\n                       server name: <SERVER_IP>\r\n                              port: 80\r\n                    bbb-client dir: /var/www/bigbluebutton\r\n\r\n/var/lib/tomcat7/webapps/bigbluebutton/WEB-INF/classes/bigbluebutton.properties (bbb-web)\r\n                      bbb-web host: <SERVER_IP>\r\n\r\n/var/lib/tomcat7/webapps/demo/bbb_api_conf.jsp (API demos)\r\n                               url: <SERVER_IP>\r\n\r\n/usr/share/red5/webapps/bigbluebutton/WEB-INF/red5-web.xml (red5)\r\n                  voice conference: FreeSWITCH\r\n                     capture video: true\r\n                   capture desktop: true\r\n\r\n/usr/local/bigbluebutton/core/scripts/bigbluebutton.yml (record and playback)\r\n                     playback host: <SERVER_IP>\r\n\r\n\r\n** Potential problems described below **\r\n# Warning: The API demos are installed and accessible from:\r\n#\r\n#    http://<SERVER_IP>/demo/demo1.jsp\r\n#\r\n# These API demos allow anyone to access your server without authentication\r\n# to create/manage meetings and recordings. They are for testing purposes only.\r\n# If you are running a production system, remove them by running:\r\n#\r\n#    sudo apt-get purge bbb-demo\r\n```\r\nDemo not works with updated secret on config:\r\n```\r\nError: getJoinURL() failed\r\nchecksumError: You did not pass the checksum security check\r\nThese API demos use the BigBlueButton API. The source code for these demos is available here.\r\n```"},"comment":{"url":"https://api.github.com/repos/bigbluebutton/bigbluebutton/issues/comments/241640997","html_url":"https://github.com/bigbluebutton/bigbluebutton/issues/3305#issuecomment-241640997","issue_url":"https://api.github.com/repos/bigbluebutton/bigbluebutton/issues/3305","id":241640997,"user":{"login":"dvapelnik","id":1562244,"avatar_url":"https://avatars.githubusercontent.com/u/1562244?v=3","gravatar_id":"","url":"https://api.github.com/users/dvapelnik","html_url":"https://github.com/dvapelnik","followers_url":"https://api.github.com/users/dvapelnik/followers","following_url":"https://api.github.com/users/dvapelnik/following{/other_user}","gists_url":"https://api.github.com/users/dvapelnik/gists{/gist_id}","starred_url":"https://api.github.com/users/dvapelnik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dvapelnik/subscriptions","organizations_url":"https://api.github.com/users/dvapelnik/orgs","repos_url":"https://api.github.com/users/dvapelnik/repos","events_url":"https://api.github.com/users/dvapelnik/events{/privacy}","received_events_url":"https://api.github.com/users/dvapelnik/received_events","type":"User","site_admin":false},"created_at":"2016-08-23T06:40:43Z","updated_at":"2016-08-23T06:40:43Z","body":"BBB needs restart `tomcat7` web-server after changing shared secret key but `java.lang.NullPointerException` has been threw on creating first meeting after restart\r\n```\r\njava.lang.NullPointerException\r\n\tat org.apache.jsp.demo1_jsp.getJoinURL(demo1_jsp.java:223)\r\n\tat org.apache.jsp.demo1_jsp._jspService(demo1_jsp.java:1279)\r\n\tat org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)\r\n\tat javax.servlet.http.HttpServlet.service(HttpServlet.java:727)\r\n\tat org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)\r\n\tat org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)\r\n\tat org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)\r\n\tat javax.servlet.http.HttpServlet.service(HttpServlet.java:727)\r\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)\r\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)\r\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)\r\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)\r\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)\r\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)\r\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)\r\n\tat org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)\r\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)\r\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)\r\n\tat org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1041)\r\n\tat org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)\r\n\tat org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:313)\r\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)\r\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)\r\n\tat java.lang.Thread.run(Thread.java:745)\r\n```"}}
{"actor":{"display_login":"dvapelnik"}}