Git Product home page Git Product logo

loxone.net's People

Contributors

manison avatar

Stargazers

 avatar

Watchers

 avatar

loxone.net's Issues

any plans to.

use the info from the structure file to return an object back on updates? It would be nice to have the properties associated with the update - for example the Name, Room etc.

ArgumentException at LXHttpClinet when trying to open a connection

Hello,

based on the console sample program from token-authentication branch I'm trying to open a connection to my local miniserver using a miniserver address like "http://192.168.1.100/".

But I get a ArgumentException, the message:

ArgumentException: Es sind nur HTTP- und HTTPS-Schemas zulässig.
Parametername: value

The exception occurs at LXHttpClient#EnsureHttpClient(). Here is the (truncated call stack):

System.AggregateException
HResult=0x80131500
Message=Mindestens ein Fehler ist aufgetreten.
Source=Loxone.NET.Test
StackTrace:
at Loxone.NET.Test.Program.Main(String[] args)

This exception was originally thrown at this call stack:
System.Net.Http.HttpClient.CheckBaseAddress(System.Uri, string)
System.Net.Http.HttpClient.BaseAddress.set(System.Uri)
Loxone.Client.Transport.LXHttpClient.EnsureHttpClient() in LXHttpClient.cs
Loxone.Client.Transport.LXHttpClient.RequestCommandInternalAsync(string, Loxone.Client.CommandEncryption, System.Threading.CancellationToken) in LXHttpClient.cs
System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(System.Threading.Tasks.Task)
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task)
System.Runtime.CompilerServices.ConfiguredTaskAwaitable.ConfiguredTaskAwaiter.GetResult()
Loxone.Client.Transport.LXClient.RequestCommandAsync(string, Loxone.Client.CommandEncryption, Loxone.Client.Transport.LXClient.RequestCommandValidation, System.Threading.CancellationToken) in LXClient.cs
System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(System.Threading.Tasks.Task)
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task)
...
[Call Stack Truncated]
Inner Exception 1:
ArgumentException: Es sind nur HTTP- und HTTPS-Schemas zulässig.
Parametername: value

While debugged, I've seen a wrong base url scheme ('ws'), but it was correctly set before:
Ashampoo_Snap_Samstag, 4  Januar 2020_18h59m21s_001_

Anyone here can help me? Thanks!
Marco

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.