aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: amulecmd 2.2.2 failed to connect to amule-daemon 2.1.3  (Read 6835 times)

zhangweiwu

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 2
amulecmd 2.2.2 failed to connect to amule-daemon 2.1.3
« on: February 04, 2009, 11:12:11 AM »

On server:
Code: [Select]
zhangweiwu@Pyrrhus:~$ amulecmd -h localhost
This is amulecmd 2.1.3
Enter password for mule connection:

Creating client...
Succeeded! Connection established to aMule 2.1.3

---------------------------------------
|          aMule text client          |
---------------------------------------

Use 'Help' for command list

aMulecmd$
Ok, exiting aMulecmd...

On my notebook:
Code: [Select]
zhangweiwu@esmeralda:~$ amulecmd -h pyrrhus
This is amulecmd 2.2.2
Enter password for mule connection:

Creating client...
ReadPacket: packet have invalid flags 0
Connection Failed. Unable to connect to the specified host

I first thought it's a network problem that amuled on server only accept connections from localhost. But I verified it's not the case by using ssh -L on my notebook:

Code: [Select]
$ ssh -L 4712:localhost:4712 pyrrhus sleep 10 & sleep 5; amulecmd -h localhost
[1] 7011
This is amulecmd 2.2.2
Enter password for mule connection:

Creating client...
ReadPacket: packet have invalid flags 0
Connection Failed. Unable to connect to the specified host
zhangweiwu@esmeralda:incoming$

[1]+  Stopped                 ssh -L 4712:localhost:4712 pyrrhus sleep 10

My question: Is there a version compatibility problem or change to the protocol? Otherwise what do you think is the problem and how can I fix it?

Thanks in advance.
Logged

zhangweiwu

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 2
Re: amulecmd 2.2.2 failed to connect to amule-daemon 2.1.3
« Reply #1 on: February 04, 2009, 11:37:07 AM »

It seems amule external control protocol is not stable at all and change from version to version. I upgraded server to 2.2.1 and solved the problem.
Logged

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: amulecmd 2.2.2 failed to connect to amule-daemon 2.1.3
« Reply #2 on: February 04, 2009, 12:30:45 PM »

Yes, this is intended. EC is generally only compatible inside the same version (for instance 2.2.x, but not SVN or 2.1.3) unless advertised otherwise. We should probably make this more clear and tell the user about it when he tries to connect.
Logged