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 3

Author Topic: Webserver strange behaviour  (Read 12282 times)

mithrandir77

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 69
Webserver strange behaviour
« on: October 24, 2005, 11:25:59 AM »

Hi to everybody.

I have installed amule-cvs and i'm trying webserver but i have some problems.

With both standard and php webserver i have met some strange behaviours...
In fact after login i can't see download list or server list, and the browser page remains in 'loading state'...

It doens't happen with amule 2.0.3

 ?(
Logged

lfroen

  • Guest
Re: Webserver strange behaviour
« Reply #1 on: October 24, 2005, 11:30:21 AM »

Can you tell what browser you using ? This problem was reported once, but I wasn't able to reproduce it.
Logged

mithrandir77

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 69
Re: Webserver strange behaviour
« Reply #2 on: October 24, 2005, 11:31:26 AM »

Quote
Originally posted by lfroen
Can you tell what browser you using ? This problem was reported once, but I wasn't able to reproduce it.

I am using firefox (release 1.0.7)
Logged

mithrandir77

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 69
Re: Webserver strange behaviour
« Reply #3 on: October 24, 2005, 11:35:40 AM »

Now i have tried also with IE but nothing has changed



The console of webserver reports:

WCThread: Started a new WCThread
Session ok
Checking password
Password ok
Processing request: index.html
WCThread: exited [WebSocket closed]
WCThread: Started a new WCThread
WCThread: Started a new WCThread
Session ok
Logout requested
Processing request: amuleweb-main-dload.php





Why it reports 'logout'? ?(
« Last Edit: October 24, 2005, 11:37:39 AM by mithrandir77 »
Logged

mithrandir77

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 69
Re: Webserver strange behaviour
« Reply #4 on: October 24, 2005, 12:42:24 PM »

Moreover the webserver starts by default with php version and not with standard version, without using --php option on console. (if i start it from amule client, it starts with standard version)



This is the screenshot of browser connected to amule webserver.

« Last Edit: October 24, 2005, 12:42:45 PM by mithrandir77 »
Logged

lfroen

  • Guest
Re: Webserver strange behaviour
« Reply #5 on: October 24, 2005, 01:35:36 PM »

Quote
Moreover the webserver starts by default

Yes, that is default version now. Previous webserver is being aged out.

Quote
Session ok
Logout requested

I suspect there's problem with url you using to access webpage.
It should be something like http://myhostname:1234/

One more thing, are you accessing localhost or another computer ? How they are connected ?
I will debug it. Thank you for report.
Logged

mithrandir77

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 69
Re: Webserver strange behaviour
« Reply #6 on: October 24, 2005, 01:59:52 PM »

Quote
Originally posted by lfroen
Quote
Moreover the webserver starts by default

Yes, that is default version now. Previous webserver is being aged out.

Quote
Session ok
Logout requested

I suspect there's problem with url you using to access webpage.
It should be something like http://myhostname:1234/

One more thing, are you accessing localhost or another computer ? How they are connected ?
I will debug it. Thank you for report.

I use this notation to connect http://myhostname.no-ip.info:5711/ .
I connect using another computer, from remote. I use a Dynamic DNS service (no-ip.com) to connect from my computer at work.

However i have tried to use local firefox (by VNC) and http://127.0.0.1:5711 but nothing changes
« Last Edit: October 24, 2005, 03:25:55 PM by mithrandir77 »
Logged

mithrandir77

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 69
Re: Webserver strange behaviour
« Reply #7 on: October 24, 2005, 02:08:28 PM »

Moreover i have to shutdown and restart the webserver if i want to try another time. The server seems to freeze...


I have tried also using standar port (4711 instead 5711, which is the one i use), but nothing has changed.

 ?(
« Last Edit: October 24, 2005, 03:26:57 PM by mithrandir77 »
Logged

lfroen

  • Guest
Re: Webserver strange behaviour
« Reply #8 on: October 24, 2005, 03:28:12 PM »

I made few changes/fixes today. Please see if there's any difference. Post webserver log if it still works wrong.
Logged

mithrandir77

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 69
Re: Webserver strange behaviour
« Reply #9 on: October 24, 2005, 03:37:27 PM »

Quote
Originally posted by lfroen
I made few changes/fixes today. Please see if there's any difference. Post webserver log if it still works wrong.

Can i found these last changes on the last cvs release now?




Stupid question: where can i found the webserver log?  :tongue:
Logged

lfroen

  • Guest
Re: Webserver strange behaviour
« Reply #10 on: October 24, 2005, 04:17:13 PM »

No, not now. Wait untill tomorrow snapshot. Or meet me on #amule
Quote
Stupid question: where can i found the webserver log?
Log is printed to console where amuleweb was started.
Logged

mithrandir77

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 69
Re: Webserver strange behaviour
« Reply #11 on: October 24, 2005, 04:45:17 PM »

Quote
Originally posted by lfroen
No, not now. Wait untill tomorrow snapshot. Or meet me on #amule
Quote
Stupid question: where can i found the webserver log?
Log is printed to console where amuleweb was started.

ok i will wait for tomorrow snapshot  ;)
Logged

mithrandir77

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 69
Re: Webserver strange behaviour
« Reply #12 on: October 25, 2005, 11:12:41 AM »

Hi!

I have downloaded the new cvs snapshot but the problem still remains.

The log of webserver is

WSThread: Thread started
WSThread: created socket listening on :5711
WCThread: Started a new WCThread
Processing request [original]: stats.php
No session opened - will request login
Session created - requesting login
Checking password
Password ok
Processing request [redirected]: index.html
WCThread: exited [WebSocket closed]
WCThread: Started a new WCThread
WCThread: Started a new WCThread
Processing request [original]: top.html
Session ok, logged in
Processing request [redirected]: top.html
WCThread: exited [WebSocket closed]
Processing request [original]: amuleweb-main-dload.php
Session ok, logged in
Processing request [redirected]: amuleweb-main-dload.php
WCThread: Started a new WCThread


It seems to be processing the request but it is infinitly slow. In fact if i try to connect with another browser session, the new browser session waits for an answer without receiving a timeout. So the webserver seems to be freezed.


 ?(
Logged

lfroen

  • Guest
Re: Webserver strange behaviour
« Reply #13 on: October 25, 2005, 11:59:34 AM »

Quote
WSThread: Thread started
WSThread: created socket listening on :5711
WCThread: Started a new WCThread
Processing request [original]: stats.php
No session opened - will request login
Session created - requesting login
stats.php ? What url do you access ? Or you have ommited parts of log ? Anyway, I don't see any particular problem here: in it is processing request:
Quote
Processing request [original]: amuleweb-main-dload.php
Session ok, logged in
Processing request [redirected]: amuleweb-main-dload.php
There might be a problem in communication between amuleweb and core. Do you run them both on the same computer ? Is it amule or daemon ?
Such problem has never been reported, so I suspect more debugging would be needed.
Next step would be ethereal sniffing to track data being transferred, on both local end remote end, if you know how to do it. You welcomed to meet me on irc #amule for assistance.
Logged

mithrandir77

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 69
Re: Webserver strange behaviour
« Reply #14 on: October 25, 2005, 12:05:21 PM »

Quote
Originally posted by lfroen
Quote
WSThread: Thread started
WSThread: created socket listening on :5711
WCThread: Started a new WCThread
Processing request [original]: stats.php
No session opened - will request login
Session created - requesting login
stats.php ? What url do you access ? Or you have ommited parts of log ? Anyway, I don't see any particular problem here: in it is processing request:
Quote
Processing request [original]: amuleweb-main-dload.php
Session ok, logged in
Processing request [redirected]: amuleweb-main-dload.php
There might be a problem in communication between amuleweb and core. Do you run them both on the same computer ? Is it amule or daemon ?
Such problem has never been reported, so I suspect more debugging would be needed.
Next step would be ethereal sniffing to track data being transferred, on both local end remote end, if you know how to do it. You welcomed to meet me on irc #amule for assistance.

I access the url from my work place (using ip:port), and either from the same computer (127.0.0.1:port) using remote desktop (VNC).
I note that it is processing, but it never finishes...  ?(

Ethereal? i know it by i don't use it... As i can open irc i contact you ;-)
Logged
Pages: [1] 2 3