aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Pages: 1 [2]

Author Topic: Better WebServer  (Read 8950 times)

hopey

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 3
Re: Better WebServer
« Reply #15 on: December 20, 2004, 01:07:59 PM »

I've been playing with amuled and amuleweb for few days now. Amuled seems to be fairly stable. With good webinterface, I don' mean anything fancy looking, I'm used to poor gui-desing of linux, but stable one.

Now I've been having some problems. When I first start the amuled and after that amuleweb, I can connet via my web browser. After a while everything stops working and I have to restart the amuled and emuleweb to get it working again for a while. Here are the messages that amuleweb is giving (I've changed my password to passwd):

Code: [Select]
Web Server: Started
aMuleweb$
WSThread: Thread started
WSThread: created service
WSThread: created socket listening on :4711
*** parsing url ?p=passwd&w=password :: field ses
*** URL parsed. returning
*** parsing url ?p=passwd&w=password :: field w
*** URL parsed. returning password
*** parsing url ?p=passwd&w=password :: field p
*** URL parsed. returning passwd
*** parsing url ?p=passwd&w=password :: field w
*** URL parsed. returning password
*** replaced session with -890091799
***** logged in, getting page password
***** session is 0
*** parsing url /favicon.ico :: field ses
*** URL parsed. returning
*** parsing url /favicon.ico :: field w
*** URL parsed. returning
*** parsing url /favicon.ico :: field ses
*** URL parsed. returning

Here is what amuled gives (what I guess is related to the amuleweb):

Code: [Select]
CServerSocket: connection closed
CServerSocket: destroying socket 0x9fe9490
CServerSocket: terminated
CServerSocket: destroying socket 0x9fe96c8
CServerSocket: destroying socket 0xa017198

I forgot to mention that I'm using aMule-2.0.0rc7 that I've build wiht configure options:

./configure --prefix=/usr --enable-optimize --disable-debug --enable-wxcas --enable-cas --enable-alc --enable-alcc --enable-amule-daemon --enable-amulecmd --enable-amulecmdgui --enable-webserver --enable-webservergui --enable-amule-daemon


It seems that the web interface is bit more stable now that the core is finished most of my hash files. I still have to log in again every now and then...
« Last Edit: December 20, 2004, 02:47:35 PM by hopey »
Logged

lfroen

  • Guest
Re: Better WebServer
« Reply #16 on: December 20, 2004, 02:12:05 PM »

Quote
Here is what amuled gives (what I guess is related to the amuleweb):

No, as name suggest, it's related to connection to server (ed2k server). Those messages means that connection to server has timed out and terminated.
Try cvs snapshot - both webserver and amuled improved since rc7
Logged

hopey

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 3
Re: Better WebServer
« Reply #17 on: December 20, 2004, 06:17:36 PM »

Yes, the cvs seems to work better. Thanks!
Logged

djtm

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 95
Re: Better WebServer
« Reply #18 on: December 21, 2004, 03:46:18 PM »

The CVS version worked really well on localhost for me now.
I still have to check with different hosts.
Logged
"If you laid all of our laws end to end, there would be no end."
Mark Twain
"Linux is like a wigwam: No Gates, no Windows, but Apache inside!"

skolnick

  • Global Moderator
  • Hero Member
  • *****
  • Karma: 24
  • Offline Offline
  • Posts: 1188
  • CentOS 6 User
Re: Better WebServer
« Reply #19 on: December 21, 2004, 05:29:41 PM »

With different hosts the performance is also better, is faster, and for me, it produces statistics graphics now (I know, I know, configuration parameters, but I used the same as with RC7, and had never seen stats graphics generated before). Only problem is still givin incomplete files sometimes. Almost always, but I understand it's being reviewed that code now.

Regards.
Logged

djtm

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 95
Re: Better WebServer
« Reply #20 on: December 21, 2004, 10:10:54 PM »

Yeah, It works great now!

Awesome work!!!

Sorry I couldn't say that until now, but I just finished the CVS install.
:)

You guys are great.  :))  Huge thanks to the developers!

Now we could move the entire eMule development over to aMule...  to reach a broader base :)   :D 8)
Logged
"If you laid all of our laws end to end, there would be no end."
Mark Twain
"Linux is like a wigwam: No Gates, no Windows, but Apache inside!"

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: Better WebServer
« Reply #21 on: December 22, 2004, 01:14:44 AM »

So, what's left on webserver? can I move to amuled issues now?
Logged

skolnick

  • Global Moderator
  • Hero Member
  • *****
  • Karma: 24
  • Offline Offline
  • Posts: 1188
  • CentOS 6 User
Re: Better WebServer
« Reply #22 on: December 22, 2004, 01:32:37 AM »

Only missing thing I have noticed in this new CVS (20041221) version webserver, is the lack of ability to sort the columns in revers order. You sort the columns, but when click again on an already sorted column, it will sort again in the same order, instead of reversing, like emule does. Other than that, it seems to work OK, I'll post tomorrow, to tell if it works from another computer different than the one running amule.

Thanks for everything.
Logged

lfroen

  • Guest
Re: Better WebServer
« Reply #23 on: December 22, 2004, 06:29:27 AM »

skolnick: please tell me where did you see it ? Which column ? And I will fix it right away :)
Logged

skolnick

  • Global Moderator
  • Hero Member
  • *****
  • Karma: 24
  • Offline Offline
  • Posts: 1188
  • CentOS 6 User
Re: Better WebServer
« Reply #24 on: December 22, 2004, 03:06:39 PM »

First of all, I'm using CVS 20041221, have not tried RC8. The bug happens with all the columns I have tested. Progress, and fileName for sure. I'm not sure about others. The problem seems to be that once the column has been ordered, then when you click again on it, the value for "reverse" on the link, is always false. It's never true, so it always orders the same way.

Another bug I just noticed is that when you order a column, it gets ordered, but when the webserver does an automatic refresh, every 120 seconds, files are ordered again in fileName order, from A to Z.

Also (sorry to bother so much) the server doesn't remember the last sorting setting, i.e. I log in, order a column, then log out. When I log in again, everything is ordered (again) by filename, A to Z. Any other test you want me to do, I would be happy to help.

Regards.

Skolnick.

Edit: Just wanted to tell you I really appreciate the fix you (or somebody on the team) did for showing complete files through slow connections. It works perfectly for me now.
« Last Edit: December 22, 2004, 03:14:43 PM by skolnick »
Logged

lfroen

  • Guest
Re: Better WebServer
« Reply #25 on: December 22, 2004, 03:32:49 PM »

Quote
The bug happens with all the columns I have tested. Progress, and fileName for sure

I will check it.

Quote
the value for "reverse" on the link, is always false.

Looks like bug.

Quote
but when the webserver does an automatic refresh

Looks like bug too.

Quote
server doesn't remember the last sorting setting, i.e. I log in, order a column, then log out. When I log in again, everything is ordered (again) by filename,

This is ok. Server doesn't remember things after you log out. Not yet anyway. Sorting by name is default.
Logged
Pages: 1 [2]