aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: amuleweb login loop (can't connect)  (Read 2624 times)

Rogojine

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 3
amuleweb login loop (can't connect)
« on: December 12, 2006, 10:02:45 PM »

Hi

I'm running Debian etch x86 with the official aMule 2.1.3 package. I connect on this server from another computer running a Debian etch amd64. All worked OK, but since a few days, I cannot login anymore on amuleweb. If I enter the right password, I'm sent back to the login page (with no error message).

I tried to empty my cache and change my browser : nothing with Opera9 and Firefox 1.5. But links2 can connect (if I remove the zip compression). The amule log is OK, it shows a successful connection on each atempt to use amuleweb. I tried not using amuled but amuled+amuleweb with various options, nothing changed.

After searching the forums and the web, it seems I'm not the first to encounter this problem, but still no known solution.

amuleweb log :

Processing request [original]: footer.php
No session opened - will request login
Session created - requesting login
Checking password
Password ok
Processing request [redirected]: index.html
Processing request [original]: top.html
No session opened - will request login
Session created - requesting login
Session is not logged and request have no password
Processing request [redirected]: login.php
Processing request [original]: amuleweb-main-dload.php
No session opened - will request login
Session created - requesting login
Session is not logged and request have no password
Processing request [redirected]: login.php
Processing request [original]: footer.php
No session opened - will request login
Session created - requesting login
Session is not logged and request have no password
Processing request [redirected]: login.php
Processing request [original]: footer.php
No session opened - will request login
Session created - requesting login
Session is not logged and request have no password
Processing request [redirected]: login.php

Anything would help, thanks
--
Rogojine
Logged

Rogojine

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 3
Resolved
« Reply #1 on: December 14, 2006, 08:02:15 PM »

I deleted the cookies and it works again.
But I didn't find the origin of the bug. At least, there should be a workaround that deletes the cookie(or the session?) on the login page. If it was real PHP, that would be easy, but with aMulePHP, it seems you don't have the full control of your session. But I may be wrong.
--
Rogojine
Logged

Ezeltje

  • Full Member
  • ***
  • Karma: 1
  • Offline Offline
  • Posts: 130
    • Home page
RE: Resolved
« Reply #2 on: December 16, 2006, 01:00:07 PM »

I've seen this bug, but it never occurred to me to delete the cookie. Thanks for the tip.

Speaking of the amuleweb cookie, for my tastes it expires waaay to quickly. I haven't specifically timed it, but it must be around four hours. I would much prefer something like two weeks or a month.
Logged

AnimAlf

  • Full Member
  • ***
  • Karma: 3
  • Offline Offline
  • Posts: 225
    • Home
Re: amuleweb login loop (can't connect)
« Reply #3 on: December 16, 2006, 02:05:26 PM »

I believe that it's due to a bad names resolution.    
   
If it's the same machine. Possibly, access it with simple loopback    
   
http://127.0.0.1:4711    
   
I stopped to use it, since remotely always happened it me the same thing. Maybe it is solved adapting it in the local DNS. I don't know  
 
best wishes