Settings Frame error

Post your Server Bug Report

Settings Frame error

Unread postby huggenknubbel » 13 Dec 2016, 17:07

Code: Select all
=========================================================================================
 VERSION:      MADSONIC 6.2 | BUILD: 9040
 SERVLET:      JETTY
 SERVER:       CPU: ICORE7 | ARCH: X64 | MEMORY: 4GB | HDD: 1TB
 OS:           DEBIAN 8.1
 SYSTEM:       SERVER
 INSTALLER:    DEB |
 JAVA:         ORACLE JDK 1.8
 BROWSER:      CHROME  54.0.2840.99 m
 CLIENT:       MADSONIC 6.2
 DESCRIPTION: Settings doesn't open
 REPRODUCIBLE: YES
=========================================================================================

After clicking on Settings, Chrome block the frame and i got this message:
f280667c-61d9-41a4-8d98-2b8c5b2d2b12.png
Attachments
80396ae9-fa4a-4448-a172-237991bf5e26.png
2.png
huggenknubbel
 
Posts: 5
Joined: 13 Nov 2016, 17:33
Location: Jena, Germany
Has thanked: 4 times
Been thanked: 1 time

Re: Settings Frame error

Unread postby Madevil » 14 Dec 2016, 13:55

Hi there,

here is a sample default installation on a debian 8.6 virtual machine to check your installation.

SETUP

Code: Select all
=========================================================================================
 VERSION:      MADSONIC 6.2 | BUILD: 9040
 SERVLET:      JETTY
 SERVER:       CPU: ICORE7 | ARCH: X64 | MEMORY: 32GB | HDD: 1TB
 OS:           DEBIAN 8.6
 SYSTEM:       SERVER
 INSTALLER:    DEB
 JAVA:         ORACLE JDK 1.8.111
 BROWSER:      CHROME  55.0.2883.87
 CLIENT:       MADSONIC 6.2
=========================================================================================


JAVA

Code: Select all
# java -version
java version "1.8.0_111"
Java(TM) SE Runtime Environment (build 1.8.0_111-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.111-b14, mixed mode)


INSTALL

Code: Select all
#dpkg -i Madsonic-6.2.9040.deb


SETTINGS

etc/default/madsonic

Code: Select all
# This is the configuration file for the Madsonic service
# (/etc/init.d/madsonic)
#
# To change the startup parameters of Madsonic, modify
# the MADSONIC_ARGS variable below.
#

MADSONIC_ARGS="--port=4040 --https-port=4443 --init-memory=128 --max-memory=512"
MADSONIC_USER=root


RESTART

Code: Select all
#service madsonic stop
#service madsonic start

LOGS

/var/madsonic/madsonic_sh.log

Code: Select all
...
2016-12-14 13:44:18.757:INFO:/:Initializing Spring FrameworkServlet 'madsonic'
2016-12-14 13:44:19.747:INFO:oejs.AbstractConnector:Started @0.0.0.0:4040
2016-12-14 13:44:19.877:INFO:oejus.SslContextFactory:Enabled Protocols [TLSv1, TLSv1.1, TLSv1.2] of [SSLv2Hello, SSLv3, TLSv1, TLSv1.1, TLSv1.2]
2016-12-14 13:44:19.885:INFO:oejs.AbstractConnector:Started SslSocketConnector@0.0.0.0:4443
Madsonic running on: http://localhost:4040/
                and: https://localhost:4443/


GUI

inst1.png


inst2.png


inst3.png


Hope this little install guide will help you :)

Best regards,
The Madsonic Team
User avatar
Madevil
Administrator
Administrator
 
Posts: 881
Joined: 07 Dec 2012, 03:58
Has thanked: 1281 times
Been thanked: 947 times

Re: Settings Frame error

Unread postby huggenknubbel » 17 Dec 2016, 11:31

Hello Madsonic Team
maybe i descrybe my problem not clearly enought.

i'm use let's encrypt to encrypt my websites.
my Madsonic Server is reachable on Port 4040 over HTTP.
so i'm write my Apache2 Config for port 80
Code: Select all
<VirtualHost *:80>
    ServerName musik.knubbel.me
    ProxyPreserveHost On
    ProxyRequests Off
    <Proxy *>
        Order allow,deny
        Allow from all
    </Proxy>
    ProxyPass / http://127.0.0.1:4040/
    ProxyPassReverse / http://127.0.0.1:4040/

after Start Let's encrypt, the Config looks like this:
Code: Select all
<VirtualHost *:80>
    ServerName musik.knubbel.me
    ProxyPreserveHost On
    ProxyRequests Off
    <Proxy *>
        Order allow,deny
        Allow from all
    </Proxy>
    ProxyPass / http://127.0.0.1:4040/
    ProxyPassReverse / http://127.0.0.1:4040/
RewriteEngine on
RewriteCond %{SERVER_NAME} =musik.knubbel.me
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,QSA,R=permanent]
</VirtualHost>


Now the connection works fine with HTTPS exept the Settings button on the left sidebar.

if i click on my User Profile and click into the other settings it works also fine.
huggenknubbel
 
Posts: 5
Joined: 13 Nov 2016, 17:33
Location: Jena, Germany
Has thanked: 4 times
Been thanked: 1 time

Re: Settings Frame error

Unread postby Madevil » 19 Dec 2016, 12:38

What do you get if the frame is requested directly?

http://localhost:4040/adminSettings.view?

Notes about nginx: viewtopic.php?f=63&t=1827
User avatar
Madevil
Administrator
Administrator
 
Posts: 881
Joined: 07 Dec 2012, 03:58
Has thanked: 1281 times
Been thanked: 947 times

Re: Settings Frame error

Unread postby huggenknubbel » 26 Dec 2016, 18:00

My Server is in the web. so i change the URL to:
http://madsonic.myserver.com/adminSettings.view?
i got a redirect to:
https://madsonic.myserver.com/adminSettings.view?
and the Settings Page load correctly

edit://
i'm use Apache
huggenknubbel
 
Posts: 5
Joined: 13 Nov 2016, 17:33
Location: Jena, Germany
Has thanked: 4 times
Been thanked: 1 time


Return to Bug Reports 6.x

Who is online

Users browsing this forum: No registered users and 1 guest