Login
Register
All Activity
Questions
Unanswered
Tags
Users
Ask a Question
Welcome to the Developer Q&A for the
MultiChain
blockchain platform.
Please feel free to ask questions about the platform to receive answers from the MultiChain developers or other members of the community.
Related questions
The underlying connection was closed: The connection was closed unexpectedly.
Getting error :The underlying connection was closed: The connection was closed unexpectedly.
The peer connection was lost.
"error: couldn't connect to server" when blockchain was created
Error while Establishing Connection: Multichain Node
4,156
questions
4,369
answers
5,718
comments
Most popular tags
multichain
streams
assets
stream
transactions
json-rpc
blockchain
wallet
permissions
error
address
raw-transactions
asset
mining
node
api
issue
multichain-explorer
nodes
connect
multichaind
multisig
transaction
smart-filters
metadata
private-key
atomic-exchange
multichain-cli
multichain-web-demo
data
connection
performance
blocks
demo
web
json
database
storage
native-currency
bitcoin
private-blockchain
network
fee
smart-contracts
wallets
signrawtransaction
off-chain
exchange
multiple-nodes
getnewaddress
Getting an error "underlying connection was closed"
+1
vote
underlying
connection
was
closed
asked
Sep 21, 2017
by
Vignesh.s
Where are you getting this error from and what were you doing at the time?
More details please. Where are you getting that error for example? Steps to generate the error?
If you would like help, please elaborate more and provide more information
That error is generating in JsonRpcClient.cs file and line number is 44
MultiChainConnection connection = new MultiChainConnection()
{
Hostname = "MYIP",
Port = MYPORT,
Username = "multichainrpc",
Password = "password",
ChainName = "chain1",
BurnAddress = "Myaddress",
RootNodeAddress = "Myaddress"
};
MultiChainClient _Client = new MultiChainClient(connection);
response = _Client.Utility.GetInfo();
I try to call above method and node was started in my local machine & error message (Exception) is showing on the below method "JsonRpcClient.cs"
public JsonRpcResponse<T> Execute<T>(string method, int id, params object[] args)
{
JsonRpcResponse<T> response = new JsonRpcResponse<T>();
Task.Run(async () =>
{
response = await ExecuteAsync<T>(method, id, args);
}).GetAwaiter().GetResult();
return response;
}
Please
log in
or
register
to add a comment.
Please
log in
or
register
to answer this question.
1 Answer
0
votes
Since this is an error given by a third party library your best bet is to reach out to that library's author and ask them to answer the question here.
answered
Sep 22, 2017
by
MultiChain
Please
log in
or
register
to add a comment.
...