Quantcast

lot of JS error with new GUI/LAyout

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

lot of JS error with new GUI/LAyout

Renaud-14
Hi,

I've lot of errors with JS in both desktop and mobile view... Mobile
layout work better than the desktop one but I couldn't do simple action
like show help for an option or just apply the new config (it works in
the mobile view).

it happen on two different servers ASSP 2.5.5(17013) which is completely
start from the ground  and an ASSP 2.5.5(17036) instance running since 2
years and upgrading continuously.

The kind of error I have:
- TypeError: document.getElementById(...) is null[En savoir plus]
xxxxxxxx:55555:380:29
        showHelp http://xxxxxx:55555/:380:29
        onclick

- TypeError: document.forms.ASSPconfig.theButtonX is undefined[En savoir
plus]  10.4.2.1:55555:1:1
        onclick http://10.4.2.1:55555/:1:1

My browser is Firefox 51 but I try also with chrome with the same
behaviour.

Thanks for your help
Renaud


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Assp-test mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/assp-test
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: lot of JS error with new GUI/LAyout

Thomas Eckardt/eck
did you clean the browser cache?

Thomas





Von:        Renaud <[hidden email]>
An:        [hidden email]
Datum:        10.02.2017 11:10
Betreff:        [Assp-test] lot of JS error with new GUI/LAyout




Hi,

I've lot of errors with JS in both desktop and mobile view... Mobile
layout work better than the desktop one but I couldn't do simple action
like show help for an option or just apply the new config (it works in
the mobile view).

it happen on two different servers ASSP 2.5.5(17013) which is completely
start from the ground  and an ASSP 2.5.5(17036) instance running since 2
years and upgrading continuously.

The kind of error I have:
- TypeError: document.getElementById(...) is null[En savoir plus]
xxxxxxxx:55555:380:29
                showHelp
http://xxxxxx:55555/:380:29
                onclick

- TypeError: document.forms.ASSPconfig.theButtonX is undefined[En savoir
plus]  10.4.2.1:55555:1:1
                onclick
http://10.4.2.1:55555/:1:1

My browser is Firefox 51 but I try also with chrome with the same
behaviour.

Thanks for your help
Renaud


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org!
http://sdm.link/slashdot
_______________________________________________
Assp-test mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/assp-test






DISCLAIMER:
*******************************************************
This email and any files transmitted with it may be confidential, legally privileged and protected in law and are intended solely for the use of the
individual to whom it is addressed.
This email was multiple times scanned for viruses. There should be no known virus in this email!
*******************************************************


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Assp-test mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/assp-test
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: lot of JS error with new GUI/LAyout

Colin
In reply to this post by Renaud-14
Have you updated all files or just assp.pl? The recent interface change requires a lot of files to be replaced as described in the release notes.

Make sure everything is updated then clear your cache and try again.

All the best,
Colin

On 10 Feb 2017 10:11 a.m., "Renaud" <[hidden email]> wrote:
Hi,

I've lot of errors with JS in both desktop and mobile view... Mobile
layout work better than the desktop one but I couldn't do simple action
like show help for an option or just apply the new config (it works in
the mobile view).

it happen on two different servers ASSP 2.5.5(17013) which is completely
start from the ground  and an ASSP 2.5.5(17036) instance running since 2
years and upgrading continuously.

The kind of error I have:
- TypeError: document.getElementById(...) is null[En savoir plus]
xxxxxxxx:55555:380:29
        showHelp http://xxxxxx:55555/:380:29
        onclick

- TypeError: document.forms.ASSPconfig.theButtonX is undefined[En savoir
plus]  10.4.2.1:55555:1:1
        onclick http://10.4.2.1:55555/:1:1

My browser is Firefox 51 but I try also with chrome with the same
behaviour.

Thanks for your help
Renaud


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Assp-test mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/assp-test

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Assp-test mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/assp-test
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: lot of JS error with new GUI/LAyout

Renaud-14
In reply to this post by Renaud-14
Hi Thomas, Colin,

For 10.4.2.1 it's a from scratch (download on sourceforge the install
package) installation under unbuntu xenial amd64 distrib with his is
perl 5, version 22, subversion 1 (v5.22.1).

Other important information it's an LXC container (Proxmox).

One think the UI is extremely slow, more than 60s to load completely,
with 500ms for the TTFB. The error come maybe from that point but I
don't know why ASSP take so long time.

The container have 4 cores and 4 GB of memory....

Thanks for your feedback,
Renaud

Thomas Eckardt a écrit :

> did you clean the browser cache?
>
> Thomas
>
>
>
>
>
> Von:        Renaud <[hidden email]>
> An:        [hidden email]
> Datum:        10.02.2017 11:10
> Betreff:        [Assp-test] lot of JS error with new GUI/LAyout
> ------------------------------------------------------------------------
>
>
>
> Hi,
>
> I've lot of errors with JS in both desktop and mobile view... Mobile
> layout work better than the desktop one but I couldn't do simple action
> like show help for an option or just apply the new config (it works in
> the mobile view).
>
> it happen on two different servers ASSP 2.5.5(17013) which is completely
> start from the ground  and an ASSP 2.5.5(17036) instance running since 2
> years and upgrading continuously.
>
> The kind of error I have:
> - TypeError: document.getElementById(...) is null[En savoir plus]
> xxxxxxxx:55555:380:29
>                 showHelp http://xxxxxx:55555/:380:29
>                 onclick
>
> - TypeError: document.forms.ASSPconfig.theButtonX is undefined[En savoir
> plus]  10.4.2.1:55555:1:1
>                 onclick http://10.4.2.1:55555/:1:1
>
> My browser is Firefox 51 but I try also with chrome with the same
> behaviour.
>
> Thanks for your help
> Renaud
>
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
> _______________________________________________
> Assp-test mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/assp-test
>
>
>
>
>
>
> DISCLAIMER:
> *******************************************************
> This email and any files transmitted with it may be confidential,
> legally privileged and protected in law and are intended solely for the
> use of the
> individual to whom it is addressed.
> This email was multiple times scanned for viruses. There should be no
> known virus in this email!
> *******************************************************
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
>
> _______________________________________________
> Assp-test mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/assp-test



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Assp-test mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/assp-test
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: lot of JS error with new GUI/LAyout

Colin
Hi Renaud,

I run Ubuntu 16.04.1 LTS as well and do not have the issues you desribe.
I think you need to start looking at logs to see what is happening as we
can only guess at what is not configured right such as make sure you've
installed all required perl modules and they are up to date. I know that
several modules did not build correctly for me so I had to correct them.

I don't use LXC so can't comment on that. Either your ASSP or system
logs will point you in the direction. Failing that you need to start
profiling the system and perl to find out what is holding you back.

All the best,

Colin Waring.


On 12/02/2017 14:29, Renaud wrote:

> Hi Thomas, Colin,
>
> For 10.4.2.1 it's a from scratch (download on sourceforge the install
> package) installation under unbuntu xenial amd64 distrib with his is
> perl 5, version 22, subversion 1 (v5.22.1).
>
> Other important information it's an LXC container (Proxmox).
>
> One think the UI is extremely slow, more than 60s to load completely,
> with 500ms for the TTFB. The error come maybe from that point but I
> don't know why ASSP take so long time.
>
> The container have 4 cores and 4 GB of memory....
>
> Thanks for your feedback,
> Renaud
>
> Thomas Eckardt a écrit :
>> did you clean the browser cache?
>>
>> Thomas
>>
>>
>>
>>
>>
>> Von:        Renaud <[hidden email]>
>> An:        [hidden email]
>> Datum:        10.02.2017 11:10
>> Betreff:        [Assp-test] lot of JS error with new GUI/LAyout
>> ------------------------------------------------------------------------
>>
>>
>>
>> Hi,
>>
>> I've lot of errors with JS in both desktop and mobile view... Mobile
>> layout work better than the desktop one but I couldn't do simple action
>> like show help for an option or just apply the new config (it works in
>> the mobile view).
>>
>> it happen on two different servers ASSP 2.5.5(17013) which is completely
>> start from the ground  and an ASSP 2.5.5(17036) instance running since 2
>> years and upgrading continuously.
>>
>> The kind of error I have:
>> - TypeError: document.getElementById(...) is null[En savoir plus]
>> xxxxxxxx:55555:380:29
>>                  showHelp http://xxxxxx:55555/:380:29
>>                  onclick
>>
>> - TypeError: document.forms.ASSPconfig.theButtonX is undefined[En savoir
>> plus]  10.4.2.1:55555:1:1
>>                  onclick http://10.4.2.1:55555/:1:1
>>
>> My browser is Firefox 51 but I try also with chrome with the same
>> behaviour.
>>
>> Thanks for your help
>> Renaud
>>
>>
>> ------------------------------------------------------------------------------
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
>> _______________________________________________
>> Assp-test mailing list
>> [hidden email]
>> https://lists.sourceforge.net/lists/listinfo/assp-test
>>
>>
>>
>>
>>
>>
>> DISCLAIMER:
>> *******************************************************
>> This email and any files transmitted with it may be confidential,
>> legally privileged and protected in law and are intended solely for the
>> use of the
>> individual to whom it is addressed.
>> This email was multiple times scanned for viruses. There should be no
>> known virus in this email!
>> *******************************************************
>>
>> ------------------------------------------------------------------------------
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
>>
>> _______________________________________________
>> Assp-test mailing list
>> [hidden email]
>> https://lists.sourceforge.net/lists/listinfo/assp-test
>
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
> _______________________________________________
> Assp-test mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/assp-test


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Assp-test mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/assp-test
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: lot of JS error with new GUI/LAyout

Renaud-14
In reply to this post by Thomas Eckardt/eck
Colin a écrit :

> Hi Renaud,
>
> I run Ubuntu 16.04.1 LTS as well and do not have the issues you desribe.
> I think you need to start looking at logs to see what is happening as we
> can only guess at what is not configured right such as make sure you've
> installed all required perl modules and they are up to date. I know that
> several modules did not build correctly for me so I had to correct them.
>
> I don't use LXC so can't comment on that. Either your ASSP or system
> logs will point you in the direction. Failing that you need to start
> profiling the system and perl to find out what is holding you back.
>

Hi Colin,

It's really frustrating because I'm using ASSP more than 7 years and
it's the first time I can't start/use a new gateway...

So I try a fresh new install with a KVM Ubuntu Xenial 16.04.2, and I
installed assp from  ASSP_2366_install.zip and the perl modules from a
fresh mod_inst.pl.2.02.zip file.

I confess that some CPAN modules don't compile:
https://pastebin.score42.net/?449b2b3342f7ce7e#9Rxhqq5VujjXe+So0bibgf/wxtQfWsHpY3qt9S1RBJY=

But I don't see a reason why it could interfere with the frontend (from
my knowledge of course). Moreover the moduleLoadErrors.txt report also
no error at startup.


When I hit the GUI this is what happen on the ASSP process:
Feb-13-17 09:34:57 [Main_Thread] Admin connection from user root on host
10.12.2.125:56086; page:/; session-ID:fb606d68a5fe7a4629ca78760721b617;

here is the lsof of the running process:
https://pastebin.score42.net/?e212a0abfd6bead3#OyxCruAnzBw/Ts4GuszZp5KTlkqKLZq8u6Lc7BXll0U=

in the meantime I see in logs:
Feb-13-17 09:35:58 [Worker_10000] Error: MainThread stuck for 61 seconds
after: MainLoop WebRequest 2 (WP) - last debug step was: NoLoopSyswrite
- write(60 IO::Socket::INET=GLOB(0x89a8778)): 'HTTP/1.1 200 OK
        Content-type: ' - 3046566!

Which could indicate that something wrong happened during the admin
request (just loading the main page).


>From the browser perspective it took 68s to load 2.6MB.

And after that I got always the issue with all JS actions.

I've an high speed connexion between the KVM and my workstation.

Right now I don't know if I can trust ASSP to handle correctly the SMTP
part :(

Any idea ?

Cheers,
Renaud


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Assp-test mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/assp-test
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: lot of JS error with new GUI/LAyout

Renaud-14
Renaud a écrit :

> Colin a écrit :
>> Hi Renaud,
>>
>> I run Ubuntu 16.04.1 LTS as well and do not have the issues you desribe.
>> I think you need to start looking at logs to see what is happening as we
>> can only guess at what is not configured right such as make sure you've
>> installed all required perl modules and they are up to date. I know that
>> several modules did not build correctly for me so I had to correct them.
>>
>> I don't use LXC so can't comment on that. Either your ASSP or system
>> logs will point you in the direction. Failing that you need to start
>> profiling the system and perl to find out what is holding you back.
[../..]
> in the meantime I see in logs:
> Feb-13-17 09:35:58 [Worker_10000] Error: MainThread stuck for 61 seconds
> after: MainLoop WebRequest 2 (WP) - last debug step was: NoLoopSyswrite
> - write(60 IO::Socket::INET=GLOB(0x89a8778)): 'HTTP/1.1 200 OK
> Content-type: ' - 3046566!
[../..]

Oki I'll kick my a....

Sorry for the noise, but all my issues come from this timeout due to a
slow speed between my KVM and  ASSP via my VPN. I try on the public
interface where ASSP load in less than 5s and of course no more issue
with the GUI...

I'm really sorry for that noise !

Cheers Colin to take the time to reply.

Renaud


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Assp-test mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/assp-test
Loading...