RestComm / Restcomm-Connect

The Open Source Cloud Communications Platform
http://www.restcomm.com/
GNU Affero General Public License v3.0
240 stars 214 forks source link

Restcomm Login #2656

Open Nyasak opened 6 years ago

Nyasak commented 6 years ago

I am facing a strange issue whereby at first installation i can login to Restcomm-JBoss-AS7-8.2.1-67 using the default account details and was prompted to change to new password but it worked only once once after a logout or restart of Restcomm subsequent attempts were being rejected with new password. Eventually the login page would just not respond anymore. Here part of standalone logs

14:44:07,461 ERROR [org.jboss.as.server] (DeploymentScanner-threads - 1) JBAS015861: Redeploy of deployment "restcomm.war" was rolled back with no failure message 14:44:07,466 ERROR [org.jboss.as.server] (DeploymentScanner-threads - 1) JBAS015861: Redeploy of deployment "restcomm.war" was rolled back with no failure message 14:44:07,471 ERROR [org.jboss.as.server] (DeploymentScanner-threads - 1) JBAS015861: Redeploy of deployment "restcomm-management.war" was rolled back with no failure message 14:44:07,477 ERROR [org.jboss.as.server] (DeploymentScanner-threads - 1) JBAS015861: Redeploy of deployment "restcomm-management.war" was rolled back with no failure message 14:44:07,478 ERROR [org.jboss.as.server] (DeploymentScanner-threads - 1) JBAS015860: Redeploy of deployment "olympus.war" was rolled back with the following failure message: "JBAS014750: Operation handler failed to complete" 14:44:07,483 ERROR [org.jboss.as.server] (DeploymentScanner-threads - 1) JBAS015860: Redeploy of deployment "olympus.war" was rolled back with the following failure message: "JBAS014750: Operation handler failed to complete"

gsaslis commented 6 years ago

Hi @Nyasak,

Thanks for raising this. Would you mind sharing some more information about the issue? A gist of the full logs would be good as a start.

Nyasak commented 6 years ago

Thanks gsaslis please see the attached log for the last 5000 lines restcomm.log

gsaslis commented 6 years ago

Thanks @Nyasak !

Unfortunately the file you shared doesn't go as far back as showing the very first exception, which is where i'd start for trying to debug this issue. Could you please share the whole log file?

Also, could you please list the steps you followed for deploying restcomm, so we can try to reproduce the issue?

Hint: plz consider using a gist for sharing logs

Nyasak commented 6 years ago

Hi, I have finally decided to start a fresh Restcomm installation on a Ubuntu box away from "Ubuntu on Windows 10" setup. This time i cant even connect to restcomm from the browser. But the startup message is as follows.

Media Server automatic configuration started: Configuring MGCP Controller [Address=10.199.0.1, Port=2427, Expected Load=50] Configuring DTLS [Min Version=1.0, Max Version=1.2, Certificate=conf/dtls/x509-s erver-ecdsa.pem, Key=conf/dtls/x509-server-key-ecdsa.pem, Algorithm=ecdsa, Ciphe

r Suite=TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_ECDSA_WITH_CHACHA20_PO

LY1305_SHA256,TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA,TLS_ECDHE_ECDSA_WITH_AES256

      CBC_SHA]

Configuring JAVA_OPTS [-Xms2048m -Xmx2048m -XX:+UseG1GC -XX:ParallelGCThreads=8 -XX:ConcGCThreads=8 -XX:G1RSetUpdatingPauseTimePercent=10 -XX:+ParallelRefProcEn

abled -XX:G1HeapRegionSize=4m -XX:G1HeapWastePercent=5 -XX:InitiatingHeapOccupan cyPercent=85 -XX:+UnlockExperimentalVMOptions -XX:G1MixedGCLiveThresholdPercent=

85 -XX:+AlwaysPreTouch -XX:+UseCompressedOops

-Djava.net.preferIPv4Stack=true -D

org.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rm i.dgc.server.gcInterval=3600000 -Dhttp.keepAlive=false -XX:+HeapDumpOnOutOfMemor yError -XX:HeapDumpPath=../../mediaserver_dumpfile-Dec_06_2017_12_45_03.bin] Setting LOG_APPENDER_CONSOLE to INFO Setting LOG_APPENDER_FILE to INFO Setting LOG_CATEGORY org.mobicents.media.server to INFO Setting LOG_CATEGORY org.mobicents.media.control.mgcp to INFO Setting LOG_CATEGORY org.mobicents.media.server.impl.rtcp to INFO Setting LOG_CATEGORY org.mobicents.media.server.impl.rtp to INFO Setting LOG FILE PATH to /Restcomm-JBoss-AS7-8.2.1-67/mediaserver/log/server.log Configuring MGCP Media [Timeout=0, Max Duration=14440, Lowest Port=64534, Highes t Port=65534, Jitter Size=50] Configuring Media Codecs [pcmu,pcma,telephone-event] Configuring Network [BindAddress=10.199.0.1, ExternalAddress=, Network=10.199.0. 0, Subnet=255.255.255.0, Use SBC=true] Configuring Resource Pools [Local Connections=100, Remote Connections=50, Player s=50, Recorders=50, DTMF Detectors=50, DTMF Generators=50] Configuring Audio Cache [Enabled=false, Size=100] Configuring DTMF Detector [Dbi=-30] Configuring SSL [Enabled=false, KeyStore=restcomm.jks, Password=changeme] Media Server automatic configuration finished! Starting RestComm Media Server... failed to connect to server: Connection refused ...RestComm Media Server started running on session named "mediaserver"! TelScale RestComm started running on standalone mode. Terminal session: restcomm . Using IP Address: 10.199.0.1

Please find the complete attached server log file.

Regards

On Tue, Dec 5, 2017 at 2:01 PM, Yorgos Saslis notifications@github.com wrote:

Thanks @Nyasak https://github.com/nyasak !

Unfortunately the file you shared doesn't go as far back as showing the very first exception, which is where i'd start for trying to debug this issue. Could you please share the whole log file?

Also, could you please list the steps you followed for deploying restcomm, so we can try to reproduce the issue?

Hint: plz consider using a gist https://gist.github.com/ for sharing logs

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/RestComm/Restcomm-Connect/issues/2656#issuecomment-349284162, or mute the thread https://github.com/notifications/unsubscribe-auth/AEoIFJud1S4wWXR-R2DAldFjf8JEv1yyks5s9TCYgaJpZM4Qnh8J .

gsaslis commented 6 years ago

Hi @Nyasak !

thanks for the extra information. I've actually just merged earlier today an example that should allow you to bring restcomm up using Docker Compose.

Would you mind giving that a go and let me know if that works for you?

Nyasak commented 6 years ago

Thanks Yorgos Saslis , let me try it i will revert back.

On Mon, Dec 11, 2017 at 6:24 PM, Yorgos Saslis notifications@github.com wrote:

Hi @Nyasak https://github.com/nyasak !

thanks for the extra information. I've actually just merged earlier today an example that should allow you to bring restcomm up using Docker Compose https://github.com/RestComm/Restcomm-Connect/blob/master/restcomm/restcomm.docs/sources-asciidoc/src/main/asciidoc/configuration/docker/Restcomm%20-%20Docker%20Quick%20Start%20Guide.adoc#prerequisites .

Would you mind giving that a go and let me know if that works for you?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/RestComm/Restcomm-Connect/issues/2656#issuecomment-350775869, or mute the thread https://github.com/notifications/unsubscribe-auth/AEoIFANw8aG9vR0kD5fkTyAVG8UqC6f-ks5s_VdSgaJpZM4Qnh8J .