Giter VIP home page Giter VIP logo

middleware-interface-dotnet's Introduction

fiskaltrust.Middleware Interface

Nuget Build Status

A NuGet package that can be used to include the free fiskaltrust Middleware into POS systems.

Overview

The fiskaltrust Middleware is a software that can be used in POS systems to fullfil legal requirements with minimal impact and development effort. It works both on Windows and Linux, and can be integrated via gRPC, WCF or REST. Simply put, the fiskaltrust.Middleware publishes the IPOS interface via one (or multiple) of these protocols, and the POS system can use that endpoint to sign receipts and request exports (= journals).

This repository contains the .NET interface as a NuGet package; due to the open nature of the used protocols, other programming languages are supported too.

Getting Started

To implement the Middleware into your POS system, please include the latest version of the NuGet package and take a look at the interface documentation.

Additionally, please have a look at the demo repository, which contains minimal sample applications for a broad variety of programming languages. Some usage examples can also be taken from the tests.

Clients

For even simpler usage, we offer client packages for the supported communication protocols. Just follow the link in the Badge to install the respective package, and use the snippets above to create an instance of IPOS.

gRPC

Nuget

var pos = await GrpcPosFactory.CreatePosAsync(new GrpcClientOptions 
{ 
    Url = new Uri(url), 
    RetryPolicyOptions = new RetryPolicyOptions { ... } // Optional
});

HTTP/REST

Nuget

var pos = await HttpPosFactory.CreatePosAsync(new HttpPosClientOptions
{ 
    Url = new Uri(url), 
    CommunicationType = HttpCommunicationType.Json,     // Or HttpCommunicationType.Xml
    CashboxId = cashboxId,
    AccessToken = "<ACCESS_TOKEN>"                      // Only required for SignaturCloud
    UseUnversionedLegacyUrls = false                    // Optional. Set `true` for fiskaltrust.Middleware < 1.3
    RetryPolicyOptions = new RetryPolicyOptions { ... } // Optional
});

fiskaltrust.Middleware < 1.3

Versions before v1.3 of the fiskaltrust.Middleware only support the fiskaltrust.ifPOS.v0 and need to use unversioned legacy urls.

ifPOS.v0.IPOS pos = await HttpPosFactory.CreatePosAsync(new HttpPosClientOptions
{ 
    Url = new Uri(url), 
    CommunicationType = HttpCommunicationType.Json,
    CashboxId = cashboxId,
    AccessToken = "<ACCESS_TOKEN>"
    UseUnversionedLegacyUrls = true                     // Needs to be true
    RetryPolicyOptions = new RetryPolicyOptions { ... }
});

SOAP/WCF

Nuget

var pos = await SoapPosFactory.CreatePosAsync(new ClientOptions
{ 
    Url = new Uri(url), 
    RetryPolicyOptions = new RetryPolicyOptions { ... } // Optional
});

Contributions

If you want to contribute to this repository, please review this README file to understand how it is structured and which tools are used.

Versioning

Currently, the Minor version is incremented for each country that is added to the interface. Starting with the future version 2.0, we will switch to semantic versioning.

For the list of currently available versions, please have a look at the NuGet Version History.

License

This project is licensed under the MIT License - see the LICENSE file for details.

middleware-interface-dotnet's People

Contributors

florianstadlberger avatar forsthug avatar mijomilicevic avatar stefankert avatar steininger avatar tschmiedlechner avatar volllly avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

middleware-interface-dotnet's Issues

Middleware stops responding when wrong cashbox id sent

Hi is there any way to improve the middleware as it currently stops responding when we sent a message to the rest queue which contains cashbox id which the middleware is not configured for.
We have to restart the middleware service to fix it.

.NET JournalExport DSFinVKFile Formate

was ist bei DSFinVKFile Export das Dateiformat, Encoding, gibts ein sample?

TSETARFile = 4919338167972134913, //TAR-File from TSE device
DSFinVKFile = 4919338167972134914, //DSFinV-K-File 1.3.6
TARFile = 4919338167972134915 //TAR-File 1.3.11

XML documentation should be included in packages

We should automatically generate the XML documentation from the tags in the source code, and add it to the nupkg.

In the process of doing that, the XML docs could also be reviewed to get rid of typos and add missing items.

Async client methods cannot be used with SignatureCloud

Describe the bug

A clear and concise description of what the bug is.

To Reproduce

Exceptions or error messages (if any)

Further technical details & context

  • Version of the Middleware Launcher:
  • Configuration, e.g. used packages and versions:
  • Operating system:

Fiskaltrust Middleware installation issue on macOS

We need to install the middleware on OSX/macOS environment (on different versions, starting from 10.9 to the latest).

Of course, we followed the directions for Unix-like systems, but on all OSX version we have a failure when trying to download fiskaltrust.Middleware.Helper.Helipad (Version: 1.3.11) from https://packages-sandbox.fiskaltrust.cloud/nuget/.
Please note that there are no network restrictions (like proxy/firewall), since we used a public internet connection to avoid any possible network issues.

I'm attaching the whole log, so that you can easily read through it.
(here in the first lines you can see also the problem on issue #39 , regarding a problem about SIP...but we think this is another matter)

fiskaltrust_log.txt

.NET synchrone pos.Sign() Methode?

Ich habe in FT lib eine sign Methode gesehen, die scheinbar synchron ablaufen sollte.
Diese ist allerdings deprecated, wie soll ich das deuten?

Wir benötigen dringend eine synchronene Aufrufmöglichkeit,
da sonst alle unsere Prozesse unnötig verkompliziert werden, wohl auch nicht der sinn einer MW
Schätze dies hilft auch anderen Herstellern!

Ein async Call ist an dieser Stelle auch völlig sinnlos!

Linux x64 / Unhandled Exception: Serilog.Sinks.SystemConsole.Themes.SystemConsoleThemes

When trying to start the Middleware, the following stacktrace appears:

#> mono ./fiskaltrust.exe -cashboxid=[...]  -accesstoken= [...] -sandbox -logfile ./logfile.txt -test

Unhandled Exception:
System.TypeInitializationException: The type initializer for 'Serilog.Sinks.SystemConsole.Themes.SystemConsoleThemes' threw an exception. ---> System.InvalidProgramException: Invalid IL code in System.Linq.Enumerable:ToDictionary<System.Collections.Generic.KeyValuePair`2<Serilog.Sinks.SystemConsole.Themes.ConsoleThemeStyle, Serilog.Sinks.SystemConsole.Themes.SystemConsoleThemeStyle>, Serilog.Sinks.SystemConsole.Themes.ConsoleThemeStyle, Serilog.Sinks.SystemConsole.Themes.SystemConsoleThemeStyle> (System.Collections.Generic.IEnumerable`1<System.Collections.Generic.KeyValuePair`2<Serilog.Sinks.SystemConsole.Themes.ConsoleThemeStyle, Serilog.Sinks.SystemConsole.Themes.SystemConsoleThemeStyle>>,System.Func`2<System.Collections.Generic.KeyValuePair`2<Serilog.Sinks.SystemConsole.Themes.ConsoleThemeStyle, Serilog.Sinks.SystemConsole.Themes.SystemConsoleThemeStyle>, Serilog.Sinks.SystemConsole.Themes.ConsoleThemeStyle>,System.Func`2<System.Collections.Generic.KeyValuePair`2<Serilog.Sinks.SystemConsole.Themes.ConsoleThemeStyle, Serilog.Sinks.SystemConsole.Themes.SystemConsoleThemeStyle>, Serilog.Sinks.SystemConsole.Themes.SystemConsoleThemeStyle>): method body is empty.

  at Serilog.Sinks.SystemConsole.Themes.SystemConsoleTheme..ctor (System.Collections.Generic.IReadOnlyDictionary`2[TKey,TValue] styles) [0x00014] in <0d35b79e206a48c19c77b089a3a1e0b2>:0 
  at Serilog.Sinks.SystemConsole.Themes.SystemConsoleThemes..cctor () [0x00203] in <0d35b79e206a48c19c77b089a3a1e0b2>:0 
   --- End of inner exception stack trace ---
  at Serilog.ConsoleLoggerConfigurationExtensions.Console (Serilog.Configuration.LoggerSinkConfiguration sinkConfiguration, Serilog.Events.LogEventLevel restrictedToMinimumLevel, System.String outputTemplate, System.IFormatProvider formatProvider, Serilog.Core.LoggingLevelSwitch levelSwitch, System.Nullable`1[T] standardErrorFromLevel, Serilog.Sinks.SystemConsole.Themes.ConsoleTheme theme) [0x00030] in <0d35b79e206a48c19c77b089a3a1e0b2>:0 
  at fiskaltrust.service.launcher.Extensions.LoggingExtensions.SetGlobalLogger (System.String logFile, Microsoft.Extensions.Logging.LogLevel verbosity, System.String package) [0x00014] in <a905ad260aa841eabb33fbe2f4245f94>:0 
  at fiskaltrust.service.launcher.Program.Main (System.String[] args) [0x0000d] in <a905ad260aa841eabb33fbe2f4245f94>:0 
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: The type initializer for 'Serilog.Sinks.SystemConsole.Themes.SystemConsoleThemes' threw an exception. ---> System.InvalidProgramException: Invalid IL code in System.Linq.Enumerable:ToDictionary<System.Collections.Generic.KeyValuePair`2<Serilog.Sinks.SystemConsole.Themes.ConsoleThemeStyle, Serilog.Sinks.SystemConsole.Themes.SystemConsoleThemeStyle>, Serilog.Sinks.SystemConsole.Themes.ConsoleThemeStyle, Serilog.Sinks.SystemConsole.Themes.SystemConsoleThemeStyle> (System.Collections.Generic.IEnumerable`1<System.Collections.Generic.KeyValuePair`2<Serilog.Sinks.SystemConsole.Themes.ConsoleThemeStyle, Serilog.Sinks.SystemConsole.Themes.SystemConsoleThemeStyle>>,System.Func`2<System.Collections.Generic.KeyValuePair`2<Serilog.Sinks.SystemConsole.Themes.ConsoleThemeStyle, Serilog.Sinks.SystemConsole.Themes.SystemConsoleThemeStyle>, Serilog.Sinks.SystemConsole.Themes.ConsoleThemeStyle>,System.Func`2<System.Collections.Generic.KeyValuePair`2<Serilog.Sinks.SystemConsole.Themes.ConsoleThemeStyle, Serilog.Sinks.SystemConsole.Themes.SystemConsoleThemeStyle>, Serilog.Sinks.SystemConsole.Themes.SystemConsoleThemeStyle>): method body is empty.

  at Serilog.Sinks.SystemConsole.Themes.SystemConsoleTheme..ctor (System.Collections.Generic.IReadOnlyDictionary`2[TKey,TValue] styles) [0x00014] in <0d35b79e206a48c19c77b089a3a1e0b2>:0 
  at Serilog.Sinks.SystemConsole.Themes.SystemConsoleThemes..cctor () [0x00203] in <0d35b79e206a48c19c77b089a3a1e0b2>:0 
   --- End of inner exception stack trace ---
  at Serilog.ConsoleLoggerConfigurationExtensions.Console (Serilog.Configuration.LoggerSinkConfiguration sinkConfiguration, Serilog.Events.LogEventLevel restrictedToMinimumLevel, System.String outputTemplate, System.IFormatProvider formatProvider, Serilog.Core.LoggingLevelSwitch levelSwitch, System.Nullable`1[T] standardErrorFromLevel, Serilog.Sinks.SystemConsole.Themes.ConsoleTheme theme) [0x00030] in <0d35b79e206a48c19c77b089a3a1e0b2>:0 
  at fiskaltrust.service.launcher.Extensions.LoggingExtensions.SetGlobalLogger (System.String logFile, Microsoft.Extensions.Logging.LogLevel verbosity, System.String package) [0x00014] in <a905ad260aa841eabb33fbe2f4245f94>:0 
  at fiskaltrust.service.launcher.Program.Main (System.String[] args) [0x0000d] in <a905ad260aa841eabb33fbe2f4245f94>:0

Unfortunately, logfile.txt doesn't even get created. /usr/share/fiskaltrust/service/ directory is empty. mono-complete has been installed via APT. mono JIT is 4.6.2 on Ubuntu 18.04 LTS x64 / de.

I interpret this stacktrace, that the colors in the cli output won't work. How can I avoid this?

Kind regards,
Sebastian Kraus

How to get TSE-ID?

Is it possible to get the TSE-Serial Number via the middleware?

How can I set <kassen-seriennummer> ?
And what is the difference between cbTerminalID and kassen-seriennummer?

Fragen 23.11.2020

Wir stehen kurz vor dem Rollout und es sind noch einige Fragen offen!
Es wäre hilfreich mit jemanden von euch telefonieren zu können.

  1. wir arbeiten nur mit der .NET http Klasse und der CryptoVision Hardware TSE, welche URLs braucht es in der Portal-Config?
    reicht die rest, oder muss auch die soap url inkludiert werden?

  2. Wie sollen wir mit dem Port Chaos umgehen?
    http://localhost:1500/c8228e2a-94cd-41d3-b1fc-f18625645946 aus 1200 wird 1500

  3. FT MW Adressierung im Netzwerk (mit zentralem Server) via IP und PC-Name möglich?

  4. Firewall Definition – müssen für FT MW Ausnahmen definiert werden? Wenn ja welche?

  5. Welche Rolle spielt der AccessToken bei der Hardware TSE, bei auto Rollouts scheint es notwendig zu sein?

wenn mit 3 eigenständigen bizsoft kassen arbeiten (eigenen ID, eigener kassenstand, eigene BonNrKreis)
schreiben diese in eine cashbox und eine queue?

Fiskaltrust Middleware installation issue on macOS starting from 10.11

We need to install the middleware on OSX/macOS environment (on different versions, starting from 10.9 to the latest).

Of course, we followed the directions for Unix-like systems, but on all OSX version (from 10.11) Apple introduced SIP (System Integrity Protection); this mechanism deny every user modification on a documented set of directories/subtrees.
This is a blocking factor here, because SIP deny permissions to write everywhere under /usr directory; so, neither the program nor we (in a manual way) can create the directory /usr/share/fiskaltrust, as per Linux documentation.

Please note that (by SIP design) there's no way to write here, no matter the user we log in (not even with admin/root users).

There's an option to specify an alternative location of /usr/share/fiskaltrust? (other paths are reachable with SIP, so this wouldn't be a problem, if it's configurable).

Fehlermeldung Middleware beim Start via command line - TSE CryptoVision

die Tage zuvor hat es funktionier, ohne irgendeiner Veränderung kommt plötzlich immer beim Starten der Middleware via Command Line folgende Meldung! Eine Idee?

############################
Windows PowerShell
Copyright (C) Microsoft Corporation. Alle Rechte vorbehalten.

Lernen Sie das neue plattformübergreifende PowerShell kennen – https://aka.ms/pscore6

PS C:\windows\system32> C:\fiskaltrust.middleware\fiskaltrust.service.launcher.c6735f05-efe8-4c9f-8cd6-4b562cb1fcc1\test.cmd

C:\windows\system32>cd /d "C:\fiskaltrust.middleware\fiskaltrust.service.launcher.c6735f05-efe8-4c9f-8cd6-4b562cb1fcc1\"

C:\fiskaltrust.middleware\fiskaltrust.service.launcher.c6735f05-efe8-4c9f-8cd6-4b562cb1fcc1>fiskaltrust -cashboxid=c6735f05-efe8-4c9f-8cd6-4b562cb1fcc1 -accesstoken=BCExXhH4tayTp01ndfgFTZ0Jm4xpKlv9KgFn9wfIX2+PS0Nf6NrTlyENSZzXSrevQ8K1NJmglbcYBkgF1CUZkZg= -sandbox -test
2020-11-20 10:01:44 [INF] fiskaltrust.Launcher-1.3.11-ci-20321-36136
2020-11-20 10:01:44 [INF] CashBoxId set to "c6735f05-efe8-4c9f-8cd6-4b562cb1fcc1"
2020-11-20 10:01:44 [INF] AccessToken set
2020-11-20 10:01:44 [INF] Sandbox set to "True"
2020-11-20 10:01:46 [INF] Downloading fiskaltrust.Middleware.Helper.Helipad 1.3.11-ci-20311-35890 updates to BasePath C:\ProgramData\fiskaltrust\service\c6735f05-efe8-4c9f-8cd6-4b562cb1fcc1 ....
2020-11-20 10:01:52 [INF] Download done!
2020-11-20 10:01:52 [INF] Downloading fiskaltrust.Middleware.SCU.DE.CryptoVision 1.3.11-ci-20320-36105 updates to BasePath C:\ProgramData\fiskaltrust\service\c6735f05-efe8-4c9f-8cd6-4b562cb1fcc1 ....
2020-11-20 10:01:54 [INF] Download done!
2020-11-20 10:01:54 [INF] Downloading fiskaltrust.Middleware.Queue.SQLite 1.3.11-rc1-20311-35856 updates to BasePath C:\ProgramData\fiskaltrust\service\c6735f05-efe8-4c9f-8cd6-4b562cb1fcc1 ....
2020-11-20 10:01:57 [INF] Download done!
2020-11-20 10:01:57 [INF] Rename fiskaltrust.Middleware.Helper.Helipad 1.3.11-ci-20311-35890 updates ....
2020-11-20 10:01:57 [INF] Rename fiskaltrust.Middleware.SCU.DE.CryptoVision 1.3.11-ci-20320-36105 updates ....
2020-11-20 10:01:57 [INF] Rename fiskaltrust.Middleware.Queue.SQLite 1.3.11-rc1-20311-35856 updates ....
2020-11-20 10:01:57 [INF] Save configuration to C:\ProgramData\fiskaltrust\service\Configuration-c6735f05-efe8-4c9f-8cd6-4b562cb1fcc1.json
2020-11-20 10:01:57 [INF] Starting ft.Middleware at C:\ProgramData\fiskaltrust\service\c6735f05-efe8-4c9f-8cd6-4b562cb1fcc1
2020-11-20 10:01:57 [INF] Loading Helper Id c32204ee-63d9-48c2-b548-acfb389fa713 from Package fiskaltrust.Middleware.Helper.Helipad, Version 1.3.11-ci-20311-35890
2020-11-20 10:01:58 [INF] Create Helper c32204ee-63d9-48c2-b548-acfb389fa713
2020-11-20 10:01:59 [INF] Loading SecureSignaturCreationDevice Id 4be74a69-fd7f-4ef1-abc9-b8dc50c158f0 from Package fiskaltrust.Middleware.SCU.DE.CryptoVision, Version 1.3.11-ci-20320-36105
2020-11-20 10:01:59 [INF] Create SecureSignaturCreationDevice 4be74a69-fd7f-4ef1-abc9-b8dc50c158f0
2020-11-20 10:01:59 [ERR] Failed to setup SecureSignaturCreationDevice Id 4be74a69-fd7f-4ef1-abc9-b8dc50c158f0 from Package fiskaltrust.Middleware.SCU.DE.CryptoVision, Version 1.3.11-ci-20320-36105
System.IO.FileNotFoundException: Die angegebene Datei konnte nicht gefunden werden.
   bei fiskaltrust.Middleware.SCU.DE.CryptoVision.Interop.File.Native.WindowsFileIo.OpenFile(String fileName)
   bei fiskaltrust.Middleware.SCU.DE.CryptoVision.Helpers.LockingHelper.PerformWithLock(SemaphoreSlim semaphore, Action method, Int32 timeout)
   bei fiskaltrust.Middleware.SCU.DE.CryptoVision.ScuBootstrapper.GetTransportAdapter(CryptoVisionConfiguration configuration)
   bei Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context)
   bei Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)
   bei Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)
   bei Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite singletonCallSite, RuntimeResolverContext context)
   bei Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)
   bei Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)
   bei Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)
   bei Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)
   bei Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite singletonCallSite, RuntimeResolverContext context)
   bei Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)
   bei Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)
   bei Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)
   bei Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)
   bei Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite singletonCallSite, RuntimeResolverContext context)
   bei Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)
   bei Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope)
   bei Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType)
   bei Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider)
   bei fiskaltrust.service.launcher.NutShell.SSCDNutShell.GetSSCDInstance(PackageConfiguration config)
   bei fiskaltrust.service.launcher.NutShell.SSCDNutShell.Start(PackageConfiguration configuration)
   bei fiskaltrust.service.launcher.NutShell.SSCDNutShell.Start(PackageConfiguration configuration)
   bei fiskaltrust.service.launcher.ftService.SetupSSCD(PackageConfiguration item)
2020-11-20 10:01:59 [ERR] Error launching Middleware, retry in 15s with download! (Die angegebene Datei konnte nicht gefunden werden.)
System.IO.FileNotFoundException: Die angegebene Datei konnte nicht gefunden werden.
   bei fiskaltrust.Middleware.SCU.DE.CryptoVision.Interop.File.Native.WindowsFileIo.OpenFile(String fileName)
   bei fiskaltrust.Middleware.SCU.DE.CryptoVision.Helpers.LockingHelper.PerformWithLock(SemaphoreSlim semaphore, Action method, Int32 timeout)
   bei fiskaltrust.Middleware.SCU.DE.CryptoVision.ScuBootstrapper.GetTransportAdapter(CryptoVisionConfiguration configuration)
   bei Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context)
   bei Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)
   bei Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)
   bei Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite singletonCallSite, RuntimeResolverContext context)
   bei Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)
   bei Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)
   bei Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)
   bei Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)
   bei Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite singletonCallSite, RuntimeResolverContext context)
   bei Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)
   bei Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)
   bei Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)
   bei Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)
   bei Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite singletonCallSite, RuntimeResolverContext context)
   bei Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)
   bei Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope)
   bei Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType)
   bei Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider)
   bei fiskaltrust.service.launcher.NutShell.SSCDNutShell.GetSSCDInstance(PackageConfiguration config)
   bei fiskaltrust.service.launcher.NutShell.SSCDNutShell.Start(PackageConfiguration configuration)
   bei fiskaltrust.service.launcher.NutShell.SSCDNutShell.Start(PackageConfiguration configuration)
   bei fiskaltrust.service.launcher.ftService.SetupSSCD(PackageConfiguration item)
   bei fiskaltrust.service.launcher.ftService.InternalStart(String[] args, Boolean retry)
2020-11-20 10:02:14 [INF] Downloading fiskaltrust.Middleware.Helper.Helipad 1.3.11-ci-20311-35890 updates to BasePath C:\ProgramData\fiskaltrust\service\c6735f05-efe8-4c9f-8cd6-4b562cb1fcc1 ....
2020-11-20 10:02:17 [INF] Download done!
2020-11-20 10:02:17 [INF] Downloading fiskaltrust.Middleware.SCU.DE.CryptoVision 1.3.11-ci-20320-36105 updates to BasePath C:\ProgramData\fiskaltrust\service\c6735f05-efe8-4c9f-8cd6-4b562cb1fcc1 ....
2020-11-20 10:02:18 [INF] Download done!
2020-11-20 10:02:20 [INF] Downloading fiskaltrust.Middleware.Queue.SQLite 1.3.11-rc1-20311-35856 updates to BasePath C:\ProgramData\fiskaltrust\service\c6735f05-efe8-4c9f-8cd6-4b562cb1fcc1 ....
2020-11-20 10:02:21 [INF] Download done!
2020-11-20 10:02:21 [INF] Rename fiskaltrust.Middleware.Helper.Helipad 1.3.11-ci-20311-35890 updates ....
2020-11-20 10:02:21 [ERR] Failed to launch Middleware
System.IO.IOException: Der Zugriff auf den Pfad "C:\ProgramData\fiskaltrust\service\c6735f05-efe8-4c9f-8cd6-4b562cb1fcc1\c32204ee-63d9-48c2-b548-acfb389fa713\current" wurde verweigert.
   bei System.IO.Directory.InternalMove(String sourceDirName, String destDirName, Boolean checkHost)
   bei fiskaltrust.service.launcher.ftService.RenamePackage(PackageConfiguration item)
   bei fiskaltrust.service.launcher.ftService.InternalStart(String[] args, Boolean retry)
2020-11-20 10:02:21 [INF] fiskaltrust.Middleware started. Press a button to stop...

ftPosSystemId - Please improve handling

Hi there,

Feeding in the ftPosSystemId is a very tedious process and impossible to get a 100% synced with server / client releases.
We'd suggest to pass the version on in every request.

MiddleWare Fehlermeldung bei Startbeleg zu 2. Queue

Sachverhaltsdarstellung / Problembeschreibung
1. Cashbox mit einer Queue erstellt
2. Startbeleg & Schlussbeleg zu obiger Queue
3. zur obigen Cashbox eine zweite Queue erstellt
4. Rebuild CB & Downloaded & Deployed
5. beim Startbeleg erstellen kommt eine ERR Meldung siehe beiliegenden screen
Eine Cashbox mit 2 Queues und einer TSE (Fiskaly)

Frage: Wird mit dem Schlussbeleg die TSE deaktiviert?
wir dachten dass mit dem Schlussbeleg nur die Queue deaktiviert wird,
denn sonst laufen die anderen Queues nicht mehr mit dieser TSE?!

FT_ERR

Dauer und Timeouts für ReceiptJournals

für Abfrage des ReceiptJournals mit 10 entries braucht es 30 sek, wie kann das sein?
was hängt hier schief, eine idee?
wie hoch sollte man die Timeouts setzen?

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.