Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

https binding .net core 3.0 support #1283

Closed
luber opened this issue Feb 12, 2021 · 0 comments
Closed

https binding .net core 3.0 support #1283

luber opened this issue Feb 12, 2021 · 0 comments

Comments

@luber
Copy link
Contributor

luber commented Feb 12, 2021

Type of Issue
[x] Bug [x] Enhancement [ ] Compliance [ ] Question [ ] Help wanted

Describe the Issue

Created net5 console application referencing next packages:
<PackageReference Include="OPCFoundation.NetStandard.Opc.Ua.Bindings.**Https**.Debug" Version="1.4.365.23" /><PackageReference Include="OPCFoundation.NetStandard.Opc.Ua.Configuration.Debug" Version="1.4.365.23" />
<PackageReference Include="OPCFoundation.NetStandard.Opc.Ua.Server.Debug" Version="1.4.365.23" />

the server configuration has 2 bindings declared:

<BaseAddresses>

  <ua:String>opc.tcp://localhost:9100</ua:String>

  <ua:String>**https**://localhost:51211/UA/TestApp</ua:String>

</BaseAddresses>

To Reproduce
Start the app.

Expected behaviour
An application doesn't crash b/c of missing Property that was removed in .net core 3.0 (see ListenOptions.NoDelay)

Log output

Application startup exception: System.MissingMethodException: Method not found: 'Void Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions.**set_NoDelay**(Boolean)'.
   at Opc.Ua.Bindings.HttpsTransportListener.<>c__DisplayClass16_0.<Start>b__1(ListenOptions listenOptions)
   at Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerOptions.Listen(EndPoint endPoint, Action`1 configure)
   at Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerOptions.Listen(IPEndPoint endPoint, Action`1 configure)
   at Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerOptions.Listen(IPAddress address, Int32 port, Action`1 configure)
   at Opc.Ua.Bindings.HttpsTransportListener.<>c__DisplayClass16_0.<Start>b__0(KestrelServerOptions options)

Code snippets
If applicable, add a code snippet to help explain your problem.

Environment (please complete the following information):

  • OS: Windows 10
  • Development environment: Visual Studio 2019 16.7.2
  • Runtime: .NET 5
  • OPC Package Release Version 1.4.365.23
  • Component: Opc.Ua.Bindings.Https
  • Server: Reverse Connect Server
luber added a commit to luber/UA-.NETStandard that referenced this issue Feb 14, 2021
@mregen mregen closed this as completed in 61eede8 Feb 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant