Comments (6)
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
from flowlib.
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 [email protected]
on 21 Sep 2011 at 5:53
from flowlib.
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 [email protected]
on 21 Sep 2011 at 6:34
from flowlib.
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
from flowlib.
Attached the downloaded filelist.
Original comment by [email protected]
on 24 Sep 2011 at 9:56
Attachments:
from flowlib.
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
from flowlib.
Related Issues (20)
- TransferManager.EndTransfer() ITransfer.Disconnect() locks down application HOT 22
- Unable to download big file from many sources HOT 33
- Unable to download big file from many sources HOT 2
- Unable to download big file from many sources HOT 1
- Unable to download big file from many sources HOT 1
- Event UserOnline, Arguments property UserInfo.IsOperator is always false HOT 4
- Input string has wrong format HOT 3
- Wrong speed calculation HOT 5
- Exception when adding Virtual Dir to share in connected hub HOT 2
- Exception when Saving currently hashing share HOT 1
- Loaded DownloadManager.DownloadItem clears segmentsDownloaded bitArray at first call of GetAvailable() HOT 1
- Passive download don't work HOT 1
- XmlSerializer bug occurs when trying to save DownloadManager while windows preparing to shutdown HOT 1
- Memory leak when uploading HOT 8
- Integration of IShare interface HOT 2
- Protocol_ChangeDownloadItem event has wrong trans.Source.UserID HOT 1
- FlowLib is hard to use HOT 4
- Unable to stop UDPConnection HOT 5
- Self Signed SSL Certificates HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flowlib.