Settings Frame error

Post your Server Bug Report
huggenknubbel
Posts: 5
Joined: 13 Nov 2016, 17:33
Has thanked: 4 times
Been thanked: 1 time

Settings Frame error

Unread post by huggenknubbel »

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
These users thanked the author huggenknubbel for the post:
Madsonic
Rating: 7.69%
User avatar
Madsonic
Administrator
Administrator
Posts: 984
Joined: 07 Dec 2012, 03:58
Answers: 7
Has thanked: 1201 times
Been thanked: 470 times

Re: Settings Frame error

Unread post by Madsonic »

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
These users thanked the author Madsonic for the post:
huggenknubbel
Rating: 7.69%
huggenknubbel
Posts: 5
Joined: 13 Nov 2016, 17:33
Has thanked: 4 times
Been thanked: 1 time

Re: Settings Frame error

Unread post by huggenknubbel »

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.
User avatar
Madsonic
Administrator
Administrator
Posts: 984
Joined: 07 Dec 2012, 03:58
Answers: 7
Has thanked: 1201 times
Been thanked: 470 times

Re: Settings Frame error

Unread post by Madsonic »

What do you get if the frame is requested directly?

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

Notes about nginx: http://forum.madsonic.org/viewtopic.php?f=63&t=1827
huggenknubbel
Posts: 5
Joined: 13 Nov 2016, 17:33
Has thanked: 4 times
Been thanked: 1 time

Re: Settings Frame error

Unread post by huggenknubbel »

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
Post Reply