aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: aMuleGUI SVN10045 connection problem.  (Read 4991 times)

woutermense

  • Full Member
  • ***
  • Karma: 18
  • Offline Offline
  • Posts: 154
aMuleGUI SVN10045 connection problem.
« on: March 12, 2010, 05:17:38 PM »

After a long time of not compiling any SVN version I wanted to be bleeding edge again ;) aMuleD is running on my server, GUI on my desktop. It seems to load initially, but it doesn't finish.

  • On the Transfers tab, all downloads (135) are displayed, but none of the uploads (25). Also the statusbar is 'frozen'
  • On the Networks tab, all servers are displayed, but the aMule log is truncated and Server Info isn't displayed at all.
  • Shared Files, Messages  tab are ok
  • On the Statistics tab, none of the stats are displayed (I don't mean the graphs)

There seems to be no communication possible with the server whatsoever after loading.
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: aMuleGUI SVN10045 connection problem.
« Reply #1 on: March 12, 2010, 06:45:23 PM »

You did run amuled and amulegui of the same version?
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon

woutermense

  • Full Member
  • ***
  • Karma: 18
  • Offline Offline
  • Posts: 154
Re: aMuleGUI SVN10045 connection problem.
« Reply #2 on: March 12, 2010, 07:00:25 PM »

The new errormessage when an incompatible version is used works great ;)

So yes, the same version runs on the server as well as the desktop
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: aMuleGUI SVN10045 connection problem.
« Reply #3 on: March 12, 2010, 07:17:32 PM »

What version did you run before? Can you retry the older version?
I've been stirring up EC pretty hard recently (but it is running fine here). However there is a connection problem that is present in older versions too. What's your server/desktop OS ?

If you feel like investigating, build both in debug mode, activate EC debug logging and take a look at the logfiles. Careful about posting, they reveal all your activities.
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon

woutermense

  • Full Member
  • ***
  • Karma: 18
  • Offline Offline
  • Posts: 154
Re: aMuleGUI SVN10045 connection problem.
« Reply #4 on: March 12, 2010, 08:17:56 PM »

I ran 2.2.6 before.

The connection problem from the other thread did not occur in 2.2.6, nor did (does) this problem.

My server runs opensuse 11.2, desktop is running windows 7. (Both 64bit)

I'll post a pruned log later.
« Last Edit: March 12, 2010, 08:32:19 PM by woutermense »
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: aMuleGUI SVN10045 connection problem.
« Reply #5 on: March 12, 2010, 08:34:28 PM »

Mingw or MSVC?
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon

woutermense

  • Full Member
  • ***
  • Karma: 18
  • Offline Offline
  • Posts: 154
Re: aMuleGUI SVN10045 connection problem.
« Reply #6 on: March 12, 2010, 09:00:00 PM »

Visual Studio. (for the GUI)

Got the daemon already compiled.  (Serverside, standard linux tools)

Option: Cat_External\ Connect=1 or is more required?

Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: aMuleGUI SVN10045 connection problem.
« Reply #7 on: March 12, 2010, 09:24:19 PM »

eMule\VerboseDebug=1 is also required
Daemon uses amule.conf, remote guiuses remote.conf  .
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon

woutermense

  • Full Member
  • ***
  • Karma: 18
  • Offline Offline
  • Posts: 154
Re: aMuleGUI SVN10045 connection problem.
« Reply #8 on: March 12, 2010, 09:53:50 PM »

eMule\VerboseDebug=1 is also required
This is called eMule for histrical/compatibility reasons I guess? It's not an auto-generated line if there is no config file tot start with. I assumed it goes in the [Debug] section. I edited both remote.conf on my desktop and amule.conf on the server to have debugging turned on.

Anyway, the debug builds are worse. Right now after I click connect, nothing happens and the process stays running in the background.

What appears on the amuled log:
Code: [Select]
2010-03-12 21:41:34: ExternalConn.cpp(260): New external connection accepted
aMuleGUI log:
Code: [Select]
2010-03-12 21:46:27 (remote-GUI): amuleAppCommon.cpp(329): Initialising aMuleGUI SVN using wxMSW VC v2.8.10 (Debugging) (Snapshot: rev. 10045)
 2010-03-12 21:46:27 (remote-GUI): amuleAppCommon.cpp(375): Checking if there is an instance already running...
 2010-03-12 21:46:27 (remote-GUI): amuleAppCommon.cpp(406): No other instances are running.
 2010-03-12 21:46:38 (remote-GUI): amule-remote-gui.cpp(292): Connecting...
 2010-03-12 21:46:38 (remote-GUI): amule-remote-gui.cpp(266): Going to event loop...

Then after I kill the daemon on the server:
Code: [Select]
2010-03-12 21:59:22 (remote-GUI): amule-remote-gui.cpp(307): Remote GUI EC event handler
!2010-03-12 21:59:22 (remote-GUI): amule-remote-gui.cpp(309): Connection failure
 2010-03-12 21:59:22 (remote-GUI): amule-remote-gui.cpp(314): Going down

« Last Edit: March 12, 2010, 10:00:47 PM by woutermense »
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: aMuleGUI SVN10045 connection problem.
« Reply #9 on: March 12, 2010, 10:08:29 PM »

Duh me. I meant
Code: [Select]
[eMule]
VerboseDebug=1
Yeah, very historical. The only thing it's good for (apart from causing confusion) is to turn on/off a set of debug options without deselecting/reselecting them all. I think.
Maybe you can also try release amuled + debug remotegui or the other way round. How about CPU load?
If CPU load is an issue you can build the daemon both with optimize and debug.
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon

woutermense

  • Full Member
  • ***
  • Karma: 18
  • Offline Offline
  • Posts: 154
Re: aMuleGUI SVN10045 connection problem.
« Reply #10 on: March 12, 2010, 10:24:18 PM »

This is what I get

aMuleGUI
Code: [Select]
2010-03-12 22:16:33 (remote-GUI): amuleAppCommon.cpp(329): Initialising aMuleGUI SVN using wxMSW VC v2.8.10 (Debugging) (Snapshot: rev. 10045)
 2010-03-12 22:16:33 (remote-GUI): amuleAppCommon.cpp(375): Checking if there is an instance already running...
 2010-03-12 22:16:33 (remote-GUI): amuleAppCommon.cpp(406): No other instances are running.
 2010-03-12 22:16:47 (remote-GUI): amule-remote-gui.cpp(292): Connecting...
 2010-03-12 22:16:47 (remote-GUI): amule-remote-gui.cpp(266): Going to event loop...
.2010-03-12 22:16:47 (remote-GUI): > EC_OP_AUTH_REQ 43
.2010-03-12 22:16:47 (remote-GUI):     EC_TAG_CLIENT_NAME 13 = amule-remote
.2010-03-12 22:16:47 (remote-GUI):     EC_TAG_CLIENT_VERSION 7 = 0x0001
.2010-03-12 22:16:47 (remote-GUI):     EC_TAG_PROTOCOL_VERSION 2 = 515
After killing the daemon
Code: [Select]
2010-03-12 22:19:36 (remote-GUI): amule-remote-gui.cpp(307): Remote GUI EC event handler
!2010-03-12 22:19:36 (remote-GUI): amule-remote-gui.cpp(309): Connection failure
 2010-03-12 22:19:36 (remote-GUI): amule-remote-gui.cpp(314): Going down
amuled:
Code: [Select]
2010-03-12 22:22:49: BaseClient.cpp(1790): Compatible client found with ET_COMPATIBLECLIENT of cb
 2010-03-12 22:22:51: ExternalConn.cpp(260): New external connection accepted

I'll try recompiling tomorrow.

CPU load is low on server and desktop. Also both gui and daemon aren't eating the cpu.
« Last Edit: March 12, 2010, 10:26:48 PM by woutermense »
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: aMuleGUI SVN10045 connection problem.
« Reply #11 on: March 12, 2010, 10:58:57 PM »

Sometimes Windows just needs a kick in the ass (aka reboot) and EC magically starts working again. I've seen this after certain crashes caused by buggy versions.
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon

woutermense

  • Full Member
  • ***
  • Karma: 18
  • Offline Offline
  • Posts: 154
Re: aMuleGUI SVN10045 connection problem.
« Reply #12 on: March 14, 2010, 07:28:29 PM »

Rebooting ís like magic... :( Ah well, another problem solved.
Logged