Open GoogleCodeExporter opened 8 years ago
To have more to go on you will have to listen on the event:
trans.ConnectionStatusChange.
event.Data will contain a FmdcException with more information about the error.
Or you could change the code in function "trans_ConnectionStatusChange" in
class: "TransferManager" so it will give you more information about the
exception.
Let me know what turns up.
Original comment by blomman84
on 20 Sep 2011 at 7:33
The e.data on that event only has "Exception of type
'FlowLib.Utils.FmdcException' was thrown."
But if I change this code:
ContentInfo info = new ContentInfo(ContentInfo.FILELIST, BaseFilelist.UNKNOWN);
info.Set(ContentInfo.STORAGEPATH, currentDir + "Filelists\\" + usr.ID + ".filelist");
downloadManager.AddDownload(new DownloadItem(info), new Source(hub.RemoteAddress.ToString(), usr.ID));
to this:
ontentInfo info = new ContentInfo(ContentInfo.FILELIST, BaseFilelist.XMLBZ);
string id = FlowLib.Utils.Convert.Base32.Encode(System.Text.Encoding.UTF8.GetBytes(usr.StoreID.ToLower().Trim()));
info.Set(ContentInfo.STORAGEPATH, "filelists" + System.IO.Path.DirectorySeparatorChar + id + ".filelist");
info.Set("USR", usr.ID);
info.Set("FUNC", "cd");
downloadManager.AddDownload(new DownloadItem(info), new Source(hub.HubSetting.Address + hub.HubSetting.Port, usr.StoreID));
It downloads and gets an inactivity exception.
Original comment by stephenc...@gmail.com
on 21 Sep 2011 at 5:53
I get the same with verlihub 1.0.0:
IN: $Lock EXTENDEDPROTOCOL_verlihub Pk=version1.0.0
OUT: $Supports NoHello NoGetINFO |
OUT: $Key uÑÀ° A ѱ±ÀÀ01’1qáPÑq|
OUT: $ValidateNick FlowLib|
IN: <VerliHub> This hub is running version 1.0.0 (lun lug 18 2011) of VerliHub
(RunTime: 12 mins 57 secs / User count: 1)
IN: $Supports OpPlus NoGetINFO NoHello UserIP2 HubINFO ZPipe
IN: $HubName hub
IN: $Hello FlowLib
OUT: $Version 1.0091|
OUT: $GetNickList|
OUT: $MyINFO $ALL FlowLib <ArpmanetBot V:1,M:A,H:1/0/0,S:2>$ $$$0$|
IN: $MyINFO $ALL VerliHub Hub-Security for broadcasting messages$ $ $$0$
IN: $MyINFO $ALL OpChat Operator chat - only for OPs$ $ $$0$
IN: $MyINFO $ALL bofh <++ V:0.698,M:A,H:1/0/0,S:5>$ $100$$193501733844$
IN:
IN: <MOTD>
This file contains the text that will be displayed to users upon entering the
hub.
Change it to suit your needs or use the file trigger definition to store your
motd.
Welcome to VerliHub
+rules -- Display a list of hub rules.
+faq -- Display a list of helpful links if you are having trouble.
+motd -- Display this message.
+help -- Display a list of all available commands to you.
Some usefull links for you:
* Verlihub homepage: http://www.verlihub-project.org
* Verlihub forums: http://www.verlihub-project.org/discussions
* Verlihub manual: http://www.verlihub-project.org/page
IN: $HubTopic
IN: <VerliHub>
[::] Your info:
[*] Nickname FlowLib [GUEST]
[*] IP 127.0.0.1
[*] Country Code --
IN: $OpList VerliHub$$OpChat$$
IN: $MyINFO $ALL FlowLib <ArpmanetBot V:1,M:A,H:1/0/0,S:2>$ $$$0$
OUT: $ConnectToMe bofh 127.0.0.1:12345|
File:0, 65536/102458
File:0, 36922/102458
DIS:127.0.0.143888FlowLib.Utils.FmdcException: Inactivity
Original comment by stephenc...@gmail.com
on 21 Sep 2011 at 6:34
Is the filelist that is downloaded complete?
Can you open it and see what files that was shared?
If the answer is * yes* to the above questions, everything is as it should be.
If there is no activity on the connection for X seconds it will be terminated.
Original comment by blomman84
on 23 Sep 2011 at 10:01
Attached the downloaded filelist.
Original comment by stephenc...@gmail.com
on 24 Sep 2011 at 9:56
Attachments:
Sorry for being away for a while.
Well, I can't open that filelist..
Have you tried to connect to the latest dc++ version?
Have you tried the Passive examples? How did that work?
Original comment by blomman84
on 13 Oct 2011 at 6:47
Original issue reported on code.google.com by
stephenc...@gmail.com
on 20 Sep 2011 at 6:50Attachments: