You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have an API developed in .net Core 5.0 and under windows environment it works perfectly, but under linux environment, it gives me the following error in connection.open:
Unhandled exception. System.IO.IOException: Can not read sentence from connection
at tik4net.Api.ApiConnection.ReadSentence()
at tik4net.Api.ApiConnection.GetOne(String tag)
at tik4net.Api.ApiConnection.GetAll(String tag)+MoveNext()
at System.Collections.Generic.List1..ctor(IEnumerable1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
at tik4net.Api.ApiConnection.CallCommandSync(String[] commandRows)
Hi!
Firewall? Could you debug it under linux? Or at least, setup full logging (connection events). Response from mikrotik is empty string. So far - no idea why :-)
I personally don't use linux so I can't verify the functionality.
Hi!
I have an API developed in .net Core 5.0 and under windows environment it works perfectly, but under linux environment, it gives me the following error in connection.open:
Unhandled exception. System.IO.IOException: Can not read sentence from connection
at tik4net.Api.ApiConnection.ReadSentence()
at tik4net.Api.ApiConnection.GetOne(String tag)
at tik4net.Api.ApiConnection.GetAll(String tag)+MoveNext()
at System.Collections.Generic.List
1..ctor(IEnumerable
1 collection)at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
at tik4net.Api.ApiConnection.CallCommandSync(String[] commandRows)
the connection code is:
ITikConnection connection = ConnectionFactory.CreateConnection(TikConnectionType.Api);
connection.Open(ipHost, hostUser, hostPassword);
what could be happening?
Thanks!
The text was updated successfully, but these errors were encountered: