Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Connection failed #2

Open
rconte84 opened this issue May 5, 2020 · 8 comments
Open

Connection failed #2

rconte84 opened this issue May 5, 2020 · 8 comments

Comments

@rconte84
Copy link

rconte84 commented May 5, 2020

Hi man! Any news about this great project? I'm very interested but i can't connect with my aMule Server...

@rconte84 rconte84 changed the title Connection filed Connection failed May 5, 2020
@xOneca
Copy link
Owner

xOneca commented May 6, 2020

I haven't used aMule for years, so I abandoned this project. I don't feel like I'll be able to help you, sorry.

But if you want me to try, at least you will have to tell me more info: what did you try first and what the outcome was.

@rconte84
Copy link
Author

rconte84 commented May 6, 2020

Hi thanks! I have cloned you repo and changed the login info accordly to my (192.168.1.100:4712) and i have changed the password field with my md5 password. I have amule 2.3.2. when i run test.php i fall in the "else" of the login check with error. The script say that my password may be wrong but it's correct...

@rconte84
Copy link
Author

rconte84 commented May 6, 2020

Sorry for my poor english...

@rconte84
Copy link
Author

rconte84 commented May 6, 2020

If i use same credentials with amulecmd all works good :(

@xOneca
Copy link
Owner

xOneca commented May 6, 2020

And what does aMule return in the response?

@rconte84
Copy link
Author

rconte84 commented May 7, 2020

Log in failed. Maybe wrong password?
object(ecPacket)#8 (5) {
  ["opcode"]=>
  int(3)
  ["opcode_desc"]=>
  string(15) "EC_OP_AUTH_FAIL"
  ["flags"]=>
  int(32)
  ["size"]=>
  int(54)
  ["subtags"]=>
  array(1) {
    [0]=>
    object(ecTagString)#9 (7) {
      ["val"]=>
      string(43) "Invalid request, please authenticate first."
      ["size"]=>
      int(44)
      ["type"]=>
      int(6)
      ["type_desc"]=>
      string(17) "EC_TAGTYPE_STRING"
      ["name"]=>
      int(0)
      ["name_desc"]=>
      string(13) "EC_TAG_STRING"
      ["subtags"]=>
      array(0) {
      }
    }
  }
}

@xOneca
Copy link
Owner

xOneca commented May 7, 2020

It seems that they changed the login packet format on 2.3.1 (ChangeLog, commit), so this library can't be uses as-is to authenticate.

Unfortunately I can't fix it and lost interest on this project, so if you want this to be fixed, you'll have to doit by yourself, or wait to somebody else to fix it. I accept pull requests.

@rconte84
Copy link
Author

rconte84 commented May 8, 2020

All right thankyou. i'll try to fix it for 2.3.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants