notes-infineon/_-Review/auclv0558.md
2024-06-03 07:04:29 -07:00

75 KiB

type, created, updated
type created updated
topic 2024-01-22T18:34:13.969Z 2024-01-22T18:35:04.961Z

auclv0558

    I confirm, that to the best of my knowledge, all resulting cross-
    border-transfers have been checked by means of the applicable
    Project-P07 as defined in SDHB or TDHB.

If you need more information: please visit:
        - P07: http://goto.infineon.com/p07
        - SDHB: http://goto.infineon.com/sdhb
        - Export Control: http://goto.infineon.com/export
--------------------------------------------------------------------------------

*** ULX Linux Server -- System managed by Puppet ***
Last failed login: Mon Jan 22 10:22:01 CST 2024 from 10.64.233.192 on ssh:notty
There were 2 failed login attempts since the last successful login.
Last login: Sat Jan 20 09:32:10 2024
WARNING: no /usr/local/.syslogin login found
[phares@auclv0558 ~]$ sudo -iu metrologysvc
Commands you enter will be recorded in /srv/metrologysvc/.bash_history_phares
[metrologysvc@auclv0558 ~]$ ls
webserver
[metrologysvc@auclv0558 ~]$ cd webserver/
[metrologysvc@auclv0558 webserver]$ ls
conf
[metrologysvc@auclv0558 webserver]$ dotnet --info
.NET SDK (reflecting any global.json):
 Version:   6.0.110
 Commit:    ce0a42998a

Runtime Environment:
 OS Name:     rhel
 OS Version:  8
 OS Platform: Linux
 RID:         rhel.8-x64
 Base Path:   /usr/lib64/dotnet/sdk/6.0.110/

global.json file:
  Not found

Host:
  Version:      6.0.10
  Architecture: x64
  Commit:       5a400c212a

.NET SDKs installed:
  6.0.110 [/usr/lib64/dotnet/sdk]

.NET runtimes installed:
  Microsoft.AspNetCore.App 6.0.10 [/usr/lib64/dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 6.0.10 [/usr/lib64/dotnet/shared/Microsoft.NETCore.App]

Download .NET:
  https://aka.ms/dotnet-download

Learn about .NET Runtimes and SDKs:
  https://aka.ms/dotnet/runtimes-sdk-info
[metrologysvc@auclv0558 webserver]$ cd webserver/
-sh: cd: webserver/: No such file or directory
[metrologysvc@auclv0558 webserver]$ git
-sh: git: command not found
[metrologysvc@auclv0558 webserver]$ cls
-sh: cls: command not found
[metrologysvc@auclv0558 webserver]$ clear
[metrologysvc@auclv0558 webserver]$ git
-sh: git: command not found
[metrologysvc@auclv0558 webserver]$ apt-get update
-sh: apt-get: command not found
[metrologysvc@auclv0558 webserver]$ yum update
Not root, Subscription Management repositories not updated

This system is not registered with an entitlement server. You can use subscription-manager to register.

Error: This command has to be run with superuser privileges (under the root user on most systems).
[metrologysvc@auclv0558 webserver]$ yum install git
Not root, Subscription Management repositories not updated

This system is not registered with an entitlement server. You can use subscription-manager to register.

Error: This command has to be run with superuser privileges (under the root user on most systems).
[metrologysvc@auclv0558 webserver]$ ls
conf
[metrologysvc@auclv0558 webserver]$ cd conf/
[metrologysvc@auclv0558 conf]$ ls
metrologysvc.conf
[metrologysvc@auclv0558 conf]$ nano metrologysvc.conf
[metrologysvc@auclv0558 conf]$ cat metrologysvc.conf
[metrologysvc@auclv0558 conf]$ whereis dotnet
dotnet: /usr/bin/dotnet /usr/lib64/dotnet /etc/dotnet /usr/share/man/man1/dotnet.1.gz
[metrologysvc@auclv0558 conf]$ whereis nginx
nginx: /usr/sbin/nginx /usr/lib64/nginx /etc/nginx /usr/share/nginx /usr/share/man/man3/nginx.3pm.gz /usr/share/man/m                                                                                                                        an8/nginx.8.gz
[metrologysvc@auclv0558 conf]$ ls /etc/nginx
conf.d        fastcgi.conf.default    koi-utf     mime.types.default  scgi_params          uwsgi_params.default
default.d     fastcgi_params          koi-win     nginx.conf          scgi_params.default  win-utf
fastcgi.conf  fastcgi_params.default  mime.types  nginx.conf.default  uwsgi_params
[metrologysvc@auclv0558 conf]$ nano /etc/nginx/nginx.conf
[metrologysvc@auclv0558 conf]$ ls^C
[metrologysvc@auclv0558 conf]$ cd ..
[metrologysvc@auclv0558 webserver]$ dotnet new console -o Test

Welcome to .NET 6.0!
---------------------
SDK Version: 6.0.110

----------------
Installed an ASP.NET Core HTTPS development certificate.
To trust the certificate run 'dotnet dev-certs https --trust' (Windows and macOS only).
Learn about HTTPS: https://aka.ms/dotnet-https
----------------
Write your first app: https://aka.ms/dotnet-hello-world
Find out what's new: https://aka.ms/dotnet-whats-new
Explore documentation: https://aka.ms/dotnet-docs
Report issues and find source on GitHub: https://github.com/dotnet/core
Use 'dotnet --help' to see available commands or visit: https://aka.ms/dotnet-cli
--------------------------------------------------------------------------------------
The template "Console App" was created successfully.

Processing post-creation actions...
Running 'dotnet restore' on /srv/metrologysvc/webserver/Test/Test.csproj...
  Determining projects to restore...
  Restored /srv/metrologysvc/webserver/Test/Test.csproj (in 94 ms).
Restore succeeded.

[metrologysvc@auclv0558 webserver]$ ls
Test  conf
[metrologysvc@auclv0558 webserver]$ cd Test/
[metrologysvc@auclv0558 Test]$ dotnet build
Microsoft (R) Build Engine version 17.0.1+b177f8fa7 for .NET
Copyright (C) Microsoft Corporation. All rights reserved.

  Determining projects to restore...
  All projects are up-to-date for restore.
  Test -> /srv/metrologysvc/webserver/Test/bin/Debug/net6.0/Test.dll

Build succeeded.
    0 Warning(s)
    0 Error(s)

Time Elapsed 00:00:02.45
[metrologysvc@auclv0558 Test]$ ls
Program.cs  Test.csproj  bin  obj
[metrologysvc@auclv0558 Test]$ cd ..
[metrologysvc@auclv0558 webserver]$ links a
-sh: links: command not found
[metrologysvc@auclv0558 webserver]$ curl
curl: try 'curl --help' or 'curl --manual' for more information
[metrologysvc@auclv0558 webserver]$ curl http://127.0.0.1
curl: (7) Failed to connect to 127.0.0.1 port 80: Connection refused
[metrologysvc@auclv0558 webserver]$ curl http://0.0.0.0
curl: (7) Failed to connect to 0.0.0.0 port 80: Connection refused
[metrologysvc@auclv0558 webserver]$ curl http://localhost
curl: (7) Failed to connect to localhost port 80: Connection refused
[metrologysvc@auclv0558 webserver]$ nano /etc/hosts
[metrologysvc@auclv0558 webserver]$ cd Test/
[metrologysvc@auclv0558 Test]$ dotnet run
Hello, World!
[metrologysvc@auclv0558 Test]$ cd ..
[metrologysvc@auclv0558 webserver]$ ncdu
-sh: ncdu: command not found
[metrologysvc@auclv0558 webserver]$ ls /ifxhome/phares/
ls: cannot open directory '/ifxhome/phares/': Permission denied
[metrologysvc@auclv0558 webserver]$ exit
logout
[phares@auclv0558 ~]$ ls
OI-Metrology
[phares@auclv0558 ~]$ mv OI-Metrology/ /srv/metrologysvc/webserver/
Test/ conf/
[phares@auclv0558 ~]$ mv OI-Metrology/ /srv/metrologysvc/webserver/
mv: cannot create directory '/srv/metrologysvc/webserver/OI-Metrology': Permission denied
[phares@auclv0558 ~]$ mv OI-Metrology/ /srv/metrologysvc/webserver
mv: cannot create directory '/srv/metrologysvc/webserver/OI-Metrology': Permission denied
[phares@auclv0558 ~]$ cd OI-Metrology/
[phares@auclv0558 ~/OI-Metrology]$ cd S
Server/ Shared/
[phares@auclv0558 ~/OI-Metrology]$ cd Shared/
[phares@auclv0558 Shared]$ dotnet build

Welcome to .NET 6.0!
---------------------
SDK Version: 6.0.110

----------------
Installed an ASP.NET Core HTTPS development certificate.
To trust the certificate run 'dotnet dev-certs https --trust' (Windows and macOS only).
Learn about HTTPS: https://aka.ms/dotnet-https
----------------
Write your first app: https://aka.ms/dotnet-hello-world
Find out what's new: https://aka.ms/dotnet-whats-new
Explore documentation: https://aka.ms/dotnet-docs
Report issues and find source on GitHub: https://github.com/dotnet/core
Use 'dotnet --help' to see available commands or visit: https://aka.ms/dotnet-cli
--------------------------------------------------------------------------------------
Microsoft (R) Build Engine version 17.0.1+b177f8fa7 for .NET
Copyright (C) Microsoft Corporation. All rights reserved.

  Determining projects to restore...
  Restored /ifxhome/phares/OI-Metrology/Shared/OI.Metrology.Shared.csproj (in 2.09 sec).
CSC : error CS1617: Invalid option '12.0' for /langversion. Use '/langversion:?' to list supported values. [/ifxhome/                                                                                                                        phares/OI-Metrology/Shared/OI.Metrology.Shared.csproj]

Build FAILED.

CSC : error CS1617: Invalid option '12.0' for /langversion. Use '/langversion:?' to list supported values. [/ifxhome/                                                                                                                        phares/OI-Metrology/Shared/OI.Metrology.Shared.csproj]
    0 Warning(s)
    1 Error(s)

Time Elapsed 00:00:04.06
[phares@auclv0558 Shared]$ cd ..
[phares@auclv0558 ~/OI-Metrology]$ ls
Archive  OI-Metrology.sln  Server  Tests  azure-pipelines-server-development.yml  package.json
Client   README.md         Shared  View   azure-pipelines-server.yml
[phares@auclv0558 ~/OI-Metrology]$ cd ..
[phares@auclv0558 ~]$ mv OI-Metrology/ OI-Metrology-12
[phares@auclv0558 ~]$ ls
OI-Metrology-12
[phares@auclv0558 ~]$ sudo -iu metrologysvc
[phares@auclv0558 ~]$ ls
OI-Metrology  OI-Metrology-12
[phares@auclv0558 ~]$ cd OI
OI-Metrology-12/ OI-Metrology/
[phares@auclv0558 ~]$ cd OI-Metrology
[phares@auclv0558 ~/OI-Metrology]$ cd Shared/
[phares@auclv0558 Shared]$ dotnet build
Microsoft (R) Build Engine version 17.0.1+b177f8fa7 for .NET
Copyright (C) Microsoft Corporation. All rights reserved.

  Determining projects to restore...
  Restored /ifxhome/phares/OI-Metrology/Shared/OI.Metrology.Shared.csproj (in 548 ms).
/ifxhome/phares/OI-Metrology/Shared/DataModels/InfinityQSDescriptorV3.cs(5,83): warning SYSLIB1037: The type 'Infinit                                                                                                                        yQSDescriptorV3' defines init-only properties, deserialization of which is currently not supported in source generati                                                                                                                        on mode. [/ifxhome/phares/OI-Metrology/Shared/OI.Metrology.Shared.csproj]
/ifxhome/phares/OI-Metrology/Shared/DataModels/InfinityQSEventV3.cs(5,77): warning SYSLIB1037: The type 'InfinityQSEv                                                                                                                        entV3' defines init-only properties, deserialization of which is currently not supported in source generation mode. [                                                                                                                        /ifxhome/phares/OI-Metrology/Shared/OI.Metrology.Shared.csproj]
/ifxhome/phares/OI-Metrology/Shared/DataModels/InfinityQSV3.cs(5,71): warning SYSLIB1037: The type 'InfinityQSV3' def                                                                                                                        ines init-only properties, deserialization of which is currently not supported in source generation mode. [/ifxhome/p                                                                                                                        hares/OI-Metrology/Shared/OI.Metrology.Shared.csproj]
  OI.Metrology.Shared -> /ifxhome/phares/OI-Metrology/Shared/bin/Debug/net6.0/win-x64/OI.Metrology.Shared.dll

Build succeeded.

/ifxhome/phares/OI-Metrology/Shared/DataModels/InfinityQSDescriptorV3.cs(5,83): warning SYSLIB1037: The type 'Infinit                                                                                                                        yQSDescriptorV3' defines init-only properties, deserialization of which is currently not supported in source generati                                                                                                                        on mode. [/ifxhome/phares/OI-Metrology/Shared/OI.Metrology.Shared.csproj]
/ifxhome/phares/OI-Metrology/Shared/DataModels/InfinityQSEventV3.cs(5,77): warning SYSLIB1037: The type 'InfinityQSEv                                                                                                                        entV3' defines init-only properties, deserialization of which is currently not supported in source generation mode. [                                                                                                                        /ifxhome/phares/OI-Metrology/Shared/OI.Metrology.Shared.csproj]
/ifxhome/phares/OI-Metrology/Shared/DataModels/InfinityQSV3.cs(5,71): warning SYSLIB1037: The type 'InfinityQSV3' def                                                                                                                        ines init-only properties, deserialization of which is currently not supported in source generation mode. [/ifxhome/p                                                                                                                        hares/OI-Metrology/Shared/OI.Metrology.Shared.csproj]
    3 Warning(s)
    0 Error(s)

Time Elapsed 00:00:04.90
[phares@auclv0558 Shared]$ cd ..
[phares@auclv0558 ~/OI-Metrology]$ cd Server/
[phares@auclv0558 Server]$ dotnet build
Microsoft (R) Build Engine version 17.0.1+b177f8fa7 for .NET
Copyright (C) Microsoft Corporation. All rights reserved.

  Determining projects to restore...
  Restored /ifxhome/phares/OI-Metrology/Server/OI.Metrology.Server.csproj (in 9.3 sec).
  1 of 2 projects are up-to-date for restore.
  OI.Metrology.Shared -> /ifxhome/phares/OI-Metrology/Shared/bin/Debug/net6.0/win-x64/OI.Metrology.Shared.dll
  OI.Metrology.Server -> /ifxhome/phares/OI-Metrology/Server/bin/Debug/net6.0/win-x64/OI.Metrology.Server.dll

Build succeeded.
    0 Warning(s)
    0 Error(s)

Time Elapsed 00:00:21.80
[phares@auclv0558 Server]$ dotnet run
Building...
System.ComponentModel.Win32Exception (8): An error occurred trying to start process '/ifxhome/phares/OI-Metrology/Ser                                                                                                                        ver/bin/Debug/net6.0/win-x64/OI.Metrology.Server.exe' with working directory '/ifxhome/phares/OI-Metrology/Server'. E                                                                                                                        xec format error
   at System.Diagnostics.Process.ForkAndExecProcess(ProcessStartInfo startInfo, String resolvedFilename, String[] arg                                                                                                                        v, String[] envp, String cwd, Boolean setCredentials, UInt32 userId, UInt32 groupId, UInt32[] groups, Int32& stdinFd,                                                                                                                         Int32& stdoutFd, Int32& stderrFd, Boolean usesTerminal, Boolean throwOnNoExec)
   at System.Diagnostics.Process.StartCore(ProcessStartInfo startInfo)
   at System.Diagnostics.Process.Start()
   at Microsoft.DotNet.Cli.Utils.Command.Execute(Action`1 processStarted)
   at Microsoft.DotNet.Cli.Utils.Command.Execute()
   at Microsoft.DotNet.Tools.Run.RunCommand.Execute()
   at Microsoft.DotNet.Tools.Run.RunCommand.Run(String[] args)
   at Microsoft.DotNet.Cli.Program.ProcessArgs(String[] args, TimeSpan startupTime, ITelemetry telemetryClient)
   at Microsoft.DotNet.Cli.Program.Main(String[] args)
[phares@auclv0558 Server]$ cd bin/Debug/net6.0/win-x64/
BlazorDebugProxy/
Dapper.dll*
Data/
EntityFramework.SqlServer.dll*
EntityFramework.dll*
Microsoft.AspNetCore.Antiforgery.dll*
Microsoft.AspNetCore.Authentication.Abstractions.dll*
Microsoft.AspNetCore.Authentication.Cookies.dll*
Microsoft.AspNetCore.Authentication.Core.dll*
Microsoft.AspNetCore.Authentication.OAuth.dll*
Microsoft.AspNetCore.Authentication.dll*
Microsoft.AspNetCore.Authorization.Policy.dll*
Microsoft.AspNetCore.Authorization.dll*
Microsoft.AspNetCore.Components.Authorization.dll*
Microsoft.AspNetCore.Components.Forms.dll*
Microsoft.AspNetCore.Components.Server.dll*
Microsoft.AspNetCore.Components.Web.dll*
Microsoft.AspNetCore.Components.WebAssembly.Server.dll*
Microsoft.AspNetCore.Components.dll*
Microsoft.AspNetCore.Connections.Abstractions.dll*
Microsoft.AspNetCore.CookiePolicy.dll*
Microsoft.AspNetCore.Cors.dll*
Microsoft.AspNetCore.Cryptography.Internal.dll*
Microsoft.AspNetCore.Cryptography.KeyDerivation.dll*
Microsoft.AspNetCore.DataProtection.Abstractions.dll*
Microsoft.AspNetCore.DataProtection.Extensions.dll*
Microsoft.AspNetCore.DataProtection.dll*
Microsoft.AspNetCore.Diagnostics.Abstractions.dll*
Microsoft.AspNetCore.Diagnostics.HealthChecks.dll*
Microsoft.AspNetCore.Diagnostics.dll*
Microsoft.AspNetCore.HostFiltering.dll*
Microsoft.AspNetCore.Hosting.Abstractions.dll*
Microsoft.AspNetCore.Hosting.Server.Abstractions.dll*
Microsoft.AspNetCore.Hosting.dll*
Microsoft.AspNetCore.Html.Abstractions.dll*
Microsoft.AspNetCore.Http.Abstractions.dll*
Microsoft.AspNetCore.Http.Connections.Common.dll*
Microsoft.AspNetCore.Http.Connections.dll*
Microsoft.AspNetCore.Http.Extensions.dll*
Microsoft.AspNetCore.Http.Features.dll*
Microsoft.AspNetCore.Http.Results.dll*
Microsoft.AspNetCore.Http.dll*
Microsoft.AspNetCore.HttpLogging.dll*
Microsoft.AspNetCore.HttpOverrides.dll*
Microsoft.AspNetCore.HttpsPolicy.dll*
Microsoft.AspNetCore.Identity.dll*
Microsoft.AspNetCore.Localization.Routing.dll*
Microsoft.AspNetCore.Localization.dll*
Microsoft.AspNetCore.Metadata.dll*
Microsoft.AspNetCore.Mvc.Abstractions.dll*
Microsoft.AspNetCore.Mvc.ApiExplorer.dll*
Microsoft.AspNetCore.Mvc.Core.dll*
Microsoft.AspNetCore.Mvc.Cors.dll*
Microsoft.AspNetCore.Mvc.DataAnnotations.dll*
Microsoft.AspNetCore.Mvc.Formatters.Json.dll*
Microsoft.AspNetCore.Mvc.Formatters.Xml.dll*
Microsoft.AspNetCore.Mvc.Localization.dll*
Microsoft.AspNetCore.Mvc.Razor.dll*
Microsoft.AspNetCore.Mvc.RazorPages.dll*
Microsoft.AspNetCore.Mvc.TagHelpers.dll*
Microsoft.AspNetCore.Mvc.ViewFeatures.dll*
Microsoft.AspNetCore.Mvc.dll*
Microsoft.AspNetCore.Razor.Runtime.dll*
Microsoft.AspNetCore.Razor.dll*
Microsoft.AspNetCore.ResponseCaching.Abstractions.dll*
Microsoft.AspNetCore.ResponseCaching.dll*
Microsoft.AspNetCore.ResponseCompression.dll*
Microsoft.AspNetCore.Rewrite.dll*
Microsoft.AspNetCore.Routing.Abstractions.dll*
Microsoft.AspNetCore.Routing.dll*
Microsoft.AspNetCore.Server.HttpSys.dll*
Microsoft.AspNetCore.Server.IIS.dll*
Microsoft.AspNetCore.Server.IISIntegration.dll*
Microsoft.AspNetCore.Server.Kestrel.Core.dll*
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.dll*
Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.dll*
Microsoft.AspNetCore.Server.Kestrel.dll*
Microsoft.AspNetCore.Session.dll*
Microsoft.AspNetCore.SignalR.Common.dll*
Microsoft.AspNetCore.SignalR.Core.dll*
Microsoft.AspNetCore.SignalR.Protocols.Json.dll*
Microsoft.AspNetCore.SignalR.dll*
Microsoft.AspNetCore.StaticFiles.dll*
Microsoft.AspNetCore.WebSockets.dll*
Microsoft.AspNetCore.WebUtilities.dll*
Microsoft.AspNetCore.dll*
Microsoft.CSharp.dll*
Microsoft.DiaSymReader.Native.amd64.dll*
Microsoft.Extensions.Caching.Abstractions.dll*
Microsoft.Extensions.Caching.Memory.dll*
Microsoft.Extensions.Configuration.Abstractions.dll*
Microsoft.Extensions.Configuration.Binder.dll*
Microsoft.Extensions.Configuration.CommandLine.dll*
Microsoft.Extensions.Configuration.EnvironmentVariables.dll*
Microsoft.Extensions.Configuration.FileExtensions.dll*
Microsoft.Extensions.Configuration.Ini.dll*
Microsoft.Extensions.Configuration.Json.dll*
Microsoft.Extensions.Configuration.KeyPerFile.dll*
Microsoft.Extensions.Configuration.UserSecrets.dll*
Microsoft.Extensions.Configuration.Xml.dll*
Microsoft.Extensions.Configuration.dll*
Microsoft.Extensions.DependencyInjection.Abstractions.dll*
Microsoft.Extensions.DependencyInjection.dll*
Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions.dll*
Microsoft.Extensions.Diagnostics.HealthChecks.dll*
Microsoft.Extensions.Features.dll*
Microsoft.Extensions.FileProviders.Abstractions.dll*
Microsoft.Extensions.FileProviders.Composite.dll*
Microsoft.Extensions.FileProviders.Embedded.dll*
Microsoft.Extensions.FileProviders.Physical.dll*
Microsoft.Extensions.FileSystemGlobbing.dll*
Microsoft.Extensions.Hosting.Abstractions.dll*
Microsoft.Extensions.Hosting.WindowsServices.dll*
Microsoft.Extensions.Hosting.dll*
Microsoft.Extensions.Http.dll*
Microsoft.Extensions.Identity.Core.dll*
Microsoft.Extensions.Identity.Stores.dll*
Microsoft.Extensions.Localization.Abstractions.dll*
Microsoft.Extensions.Localization.dll*
Microsoft.Extensions.Logging.Abstractions.dll*
Microsoft.Extensions.Logging.Configuration.dll*
Microsoft.Extensions.Logging.Console.dll*
Microsoft.Extensions.Logging.Debug.dll*
Microsoft.Extensions.Logging.EventLog.dll*
Microsoft.Extensions.Logging.EventSource.dll*
Microsoft.Extensions.Logging.TraceSource.dll*
Microsoft.Extensions.Logging.dll*
Microsoft.Extensions.ObjectPool.dll*
Microsoft.Extensions.Options.ConfigurationExtensions.dll*
Microsoft.Extensions.Options.DataAnnotations.dll*
Microsoft.Extensions.Options.dll*
Microsoft.Extensions.Primitives.dll*
Microsoft.Extensions.WebEncoders.dll*
Microsoft.JSInterop.dll*
Microsoft.Net.Http.Headers.dll*
Microsoft.OpenApi.dll*
Microsoft.VisualBasic.Core.dll*
Microsoft.VisualBasic.dll*
Microsoft.Win32.Primitives.dll*
Microsoft.Win32.Registry.dll*
Microsoft.Win32.SystemEvents.dll*
Newtonsoft.Json.dll*
OI.Metrology.Server.deps.json
OI.Metrology.Server.dll
OI.Metrology.Server.exe*
OI.Metrology.Server.pdb
OI.Metrology.Server.runtimeconfig.json
OI.Metrology.Server.staticwebassets.runtime.json
OI.Metrology.Shared.dll
OI.Metrology.Shared.pdb
Swashbuckle.AspNetCore.Swagger.dll*
Swashbuckle.AspNetCore.SwaggerGen.dll*
Swashbuckle.AspNetCore.SwaggerUI.dll*
System.AppContext.dll*
System.Buffers.dll*
System.CodeDom.dll*
System.Collections.Concurrent.dll*
System.Collections.Immutable.dll*
System.Collections.NonGeneric.dll*
System.Collections.Specialized.dll*
System.Collections.dll*
System.ComponentModel.Annotations.dll*
System.ComponentModel.DataAnnotations.dll*
System.ComponentModel.EventBasedAsync.dll*
System.ComponentModel.Primitives.dll*
System.ComponentModel.TypeConverter.dll*
System.ComponentModel.dll*
System.Configuration.ConfigurationManager.dll*
System.Configuration.dll*
System.Console.dll*
System.Core.dll*
System.Data.Common.dll*
System.Data.DataSetExtensions.dll*
System.Data.SqlClient.dll*
System.Data.dll*
System.Diagnostics.Contracts.dll*
System.Diagnostics.Debug.dll*
System.Diagnostics.DiagnosticSource.dll*
System.Diagnostics.EventLog.Messages.dll*
System.Diagnostics.EventLog.dll*
System.Diagnostics.FileVersionInfo.dll*
System.Diagnostics.Process.dll*
System.Diagnostics.StackTrace.dll*
System.Diagnostics.TextWriterTraceListener.dll*
System.Diagnostics.Tools.dll*
System.Diagnostics.TraceSource.dll*
System.Diagnostics.Tracing.dll*
System.Drawing.Common.dll*
System.Drawing.Primitives.dll*
System.Drawing.dll*
System.Dynamic.Runtime.dll*
System.Formats.Asn1.dll*
System.Globalization.Calendars.dll*
System.Globalization.Extensions.dll*
System.Globalization.dll*
System.IO.Compression.Brotli.dll*
System.IO.Compression.FileSystem.dll*
System.IO.Compression.Native.dll*
System.IO.Compression.ZipFile.dll*
System.IO.Compression.dll*
System.IO.FileSystem.AccessControl.dll*
System.IO.FileSystem.DriveInfo.dll*
System.IO.FileSystem.Primitives.dll*
System.IO.FileSystem.Watcher.dll*
System.IO.FileSystem.dll*
System.IO.IsolatedStorage.dll*
System.IO.MemoryMappedFiles.dll*
System.IO.Pipelines.dll*
System.IO.Pipes.AccessControl.dll*
System.IO.Pipes.dll*
System.IO.UnmanagedMemoryStream.dll*
System.IO.dll*
System.Linq.Expressions.dll*
System.Linq.Parallel.dll*
System.Linq.Queryable.dll*
System.Linq.dll*
System.Memory.dll*
System.Net.Http.Json.dll*
System.Net.Http.dll*
System.Net.HttpListener.dll*
System.Net.Mail.dll*
System.Net.NameResolution.dll*
System.Net.NetworkInformation.dll*
System.Net.Ping.dll*
System.Net.Primitives.dll*
System.Net.Quic.dll*
System.Net.Requests.dll*
System.Net.Security.dll*
System.Net.ServicePoint.dll*
System.Net.Sockets.dll*
System.Net.WebClient.dll*
System.Net.WebHeaderCollection.dll*
System.Net.WebProxy.dll*
System.Net.WebSockets.Client.dll*
System.Net.WebSockets.dll*
System.Net.dll*
System.Numerics.Vectors.dll*
System.Numerics.dll*
System.ObjectModel.dll*
System.Private.CoreLib.dll*
System.Private.DataContractSerialization.dll*
System.Private.Uri.dll*
System.Private.Xml.Linq.dll*
System.Private.Xml.dll*
System.Reflection.DispatchProxy.dll*
System.Reflection.Emit.ILGeneration.dll*
System.Reflection.Emit.Lightweight.dll*
System.Reflection.Emit.dll*
System.Reflection.Extensions.dll*
System.Reflection.Metadata.dll*
System.Reflection.Primitives.dll*
System.Reflection.TypeExtensions.dll*
System.Reflection.dll*
System.Resources.Reader.dll*
System.Resources.ResourceManager.dll*
System.Resources.Writer.dll*
System.Runtime.CompilerServices.Unsafe.dll*
System.Runtime.CompilerServices.VisualC.dll*
System.Runtime.Extensions.dll*
System.Runtime.Handles.dll*
System.Runtime.InteropServices.RuntimeInformation.dll*
System.Runtime.InteropServices.dll*
System.Runtime.Intrinsics.dll*
System.Runtime.Loader.dll*
System.Runtime.Numerics.dll*
System.Runtime.Serialization.Formatters.dll*
System.Runtime.Serialization.Json.dll*
System.Runtime.Serialization.Primitives.dll*
System.Runtime.Serialization.Xml.dll*
System.Runtime.Serialization.dll*
System.Runtime.dll*
System.Security.AccessControl.dll*
System.Security.Claims.dll*
System.Security.Cryptography.Algorithms.dll*
System.Security.Cryptography.Cng.dll*
System.Security.Cryptography.Csp.dll*
System.Security.Cryptography.Encoding.dll*
System.Security.Cryptography.OpenSsl.dll*
System.Security.Cryptography.Pkcs.dll*
System.Security.Cryptography.Primitives.dll*
System.Security.Cryptography.ProtectedData.dll*
System.Security.Cryptography.X509Certificates.dll*
System.Security.Cryptography.Xml.dll*
System.Security.Permissions.dll*
System.Security.Principal.Windows.dll*
System.Security.Principal.dll*
System.Security.SecureString.dll*
System.Security.dll*
System.ServiceModel.Web.dll*
System.ServiceProcess.ServiceController.dll*
System.ServiceProcess.dll*
System.Text.Encoding.CodePages.dll*
System.Text.Encoding.Extensions.dll*
System.Text.Encoding.dll*
System.Text.Encodings.Web.dll*
System.Text.Json.dll*
System.Text.RegularExpressions.dll*
System.Threading.Channels.dll*
System.Threading.Overlapped.dll*
System.Threading.Tasks.Dataflow.dll*
System.Threading.Tasks.Extensions.dll*
System.Threading.Tasks.Parallel.dll*
System.Threading.Tasks.dll*
System.Threading.Thread.dll*
System.Threading.ThreadPool.dll*
System.Threading.Timer.dll*
System.Threading.dll*
System.Transactions.Local.dll*
System.Transactions.dll*
System.ValueTuple.dll*
System.Web.HttpUtility.dll*
System.Web.dll*
System.Windows.Extensions.dll*
System.Windows.dll*
System.Xml.Linq.dll*
System.Xml.ReaderWriter.dll*
System.Xml.Serialization.dll*
System.Xml.XDocument.dll*
System.Xml.XPath.XDocument.dll*
System.Xml.XPath.dll*
System.Xml.XmlDocument.dll*
System.Xml.XmlSerializer.dll*
System.Xml.dll*
System.dll*
WindowsBase.dll*
api-ms-win-core-console-l1-1-0.dll*
api-ms-win-core-console-l1-2-0.dll*
api-ms-win-core-datetime-l1-1-0.dll*
api-ms-win-core-debug-l1-1-0.dll*
api-ms-win-core-errorhandling-l1-1-0.dll*
api-ms-win-core-fibers-l1-1-0.dll*
api-ms-win-core-file-l1-1-0.dll*
api-ms-win-core-file-l1-2-0.dll*
api-ms-win-core-file-l2-1-0.dll*
api-ms-win-core-handle-l1-1-0.dll*
api-ms-win-core-heap-l1-1-0.dll*
api-ms-win-core-interlocked-l1-1-0.dll*
api-ms-win-core-libraryloader-l1-1-0.dll*
api-ms-win-core-localization-l1-2-0.dll*
api-ms-win-core-memory-l1-1-0.dll*
api-ms-win-core-namedpipe-l1-1-0.dll*
api-ms-win-core-processenvironment-l1-1-0.dll*
api-ms-win-core-processthreads-l1-1-0.dll*
api-ms-win-core-processthreads-l1-1-1.dll*
api-ms-win-core-profile-l1-1-0.dll*
api-ms-win-core-rtlsupport-l1-1-0.dll*
api-ms-win-core-string-l1-1-0.dll*
api-ms-win-core-synch-l1-1-0.dll*
api-ms-win-core-synch-l1-2-0.dll*
api-ms-win-core-sysinfo-l1-1-0.dll*
api-ms-win-core-timezone-l1-1-0.dll*
api-ms-win-core-util-l1-1-0.dll*
api-ms-win-crt-conio-l1-1-0.dll*
api-ms-win-crt-convert-l1-1-0.dll*
api-ms-win-crt-environment-l1-1-0.dll*
api-ms-win-crt-filesystem-l1-1-0.dll*
api-ms-win-crt-heap-l1-1-0.dll*
api-ms-win-crt-locale-l1-1-0.dll*
api-ms-win-crt-math-l1-1-0.dll*
api-ms-win-crt-multibyte-l1-1-0.dll*
api-ms-win-crt-private-l1-1-0.dll*
api-ms-win-crt-process-l1-1-0.dll*
api-ms-win-crt-runtime-l1-1-0.dll*
api-ms-win-crt-stdio-l1-1-0.dll*
api-ms-win-crt-string-l1-1-0.dll*
api-ms-win-crt-time-l1-1-0.dll*
api-ms-win-crt-utility-l1-1-0.dll*
aspnetcorev2_inprocess.dll*
clretwrc.dll*
clrjit.dll*
coreclr.dll*
createdump.exe*
dbgshim.dll*
hostfxr.dll*
hostpolicy.dll*
mscordaccore.dll*
mscordaccore_amd64_amd64_6.0.1022.47605.dll*
mscordbi.dll*
mscorlib.dll*
mscorrc.dll*
msquic.dll*
netstandard.dll*
ref/
sni.dll*
ucrtbase.dll*
[phares@auclv0558 Server]$ cd bin/Debug/net6.0
[phares@auclv0558 net6.0]$ ls
win-x64
[phares@auclv0558 net6.0]$ cd bin/Debug/net6.0~
[phares@auclv0558 net6.0]$ cd ..
[phares@auclv0558 Debug]$ cd ..
[phares@auclv0558 bin]$ cd ..
[phares@auclv0558 Server]$ ls
ApiControllers           Data                        Program.cs    Services  compilerconfig.json           wwwroot
ApiLoggingMiddleware.cs  Models                      Properties    Views     compilerconfig.json.defaults
Controllers              OI.Metrology.Server.csproj  Repositories  bin       obj
[phares@auclv0558 Server]$ nano OI.Metrology.Server.csproj
[phares@auclv0558 Server]$ cd ../Shared/
[phares@auclv0558 Shared]$ nano OI.Metrology.Shared.csproj
[phares@auclv0558 Shared]$ cd ../Shared/
[phares@auclv0558 Shared]$ rm -r bin
[phares@auclv0558 Shared]$ dotnet build
Microsoft (R) Build Engine version 17.0.1+b177f8fa7 for .NET
Copyright (C) Microsoft Corporation. All rights reserved.

  Determining projects to restore...
  Restored /ifxhome/phares/OI-Metrology/Shared/OI.Metrology.Shared.csproj (in 261 ms).
/ifxhome/phares/OI-Metrology/Shared/DataModels/InfinityQSDescriptorV3.cs(5,83): warning SYSLIB1037: The type 'Infinit                                                                                                                        yQSDescriptorV3' defines init-only properties, deserialization of which is currently not supported in source generati                                                                                                                        on mode. [/ifxhome/phares/OI-Metrology/Shared/OI.Metrology.Shared.csproj]
/ifxhome/phares/OI-Metrology/Shared/DataModels/InfinityQSEventV3.cs(5,77): warning SYSLIB1037: The type 'InfinityQSEv                                                                                                                        entV3' defines init-only properties, deserialization of which is currently not supported in source generation mode. [                                                                                                                        /ifxhome/phares/OI-Metrology/Shared/OI.Metrology.Shared.csproj]
/ifxhome/phares/OI-Metrology/Shared/DataModels/InfinityQSV3.cs(5,71): warning SYSLIB1037: The type 'InfinityQSV3' def                                                                                                                        ines init-only properties, deserialization of which is currently not supported in source generation mode. [/ifxhome/p                                                                                                                        hares/OI-Metrology/Shared/OI.Metrology.Shared.csproj]
  OI.Metrology.Shared -> /ifxhome/phares/OI-Metrology/Shared/bin/Debug/net6.0/linux/OI.Metrology.Shared.dll

Build succeeded.

/ifxhome/phares/OI-Metrology/Shared/DataModels/InfinityQSDescriptorV3.cs(5,83): warning SYSLIB1037: The type 'Infinit                                                                                                                        yQSDescriptorV3' defines init-only properties, deserialization of which is currently not supported in source generati                                                                                                                        on mode. [/ifxhome/phares/OI-Metrology/Shared/OI.Metrology.Shared.csproj]
/ifxhome/phares/OI-Metrology/Shared/DataModels/InfinityQSEventV3.cs(5,77): warning SYSLIB1037: The type 'InfinityQSEv                                                                                                                        entV3' defines init-only properties, deserialization of which is currently not supported in source generation mode. [                                                                                                                        /ifxhome/phares/OI-Metrology/Shared/OI.Metrology.Shared.csproj]
/ifxhome/phares/OI-Metrology/Shared/DataModels/InfinityQSV3.cs(5,71): warning SYSLIB1037: The type 'InfinityQSV3' def                                                                                                                        ines init-only properties, deserialization of which is currently not supported in source generation mode. [/ifxhome/p                                                                                                                        hares/OI-Metrology/Shared/OI.Metrology.Shared.csproj]
    3 Warning(s)
    0 Error(s)

Time Elapsed 00:00:04.27
[phares@auclv0558 Shared]$ cd bin/Debug/net6.0/linux/
OI.Metrology.Shared.deps.json  OI.Metrology.Shared.pdb
OI.Metrology.Shared.dll        ref/
[phares@auclv0558 Shared]$ cd bin/Debug/net6.0/linux/cd
[phares@auclv0558 Shared]$ cd ..
[phares@auclv0558 ~/OI-Metrology]$ cd Server/
[phares@auclv0558 Server]$ dotnet build
Microsoft (R) Build Engine version 17.0.1+b177f8fa7 for .NET
Copyright (C) Microsoft Corporation. All rights reserved.

  Determining projects to restore...
/usr/lib64/dotnet/sdk/6.0.110/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(1                                                                                                                        29,5): error NETSDK1084: There is no application host available for the specified RuntimeIdentifier 'linux'. [/ifxhom                                                                                                                        e/phares/OI-Metrology/Server/OI.Metrology.Server.csproj]
/usr/lib64/dotnet/sdk/6.0.110/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(1                                                                                                                        29,5): error NETSDK1084: There is no application host available for the specified RuntimeIdentifier 'linux'. [/ifxhom                                                                                                                        e/phares/OI-Metrology/Server/OI.Metrology.Server.csproj]
/usr/lib64/dotnet/sdk/6.0.110/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(1                                                                                                                        29,5): error NETSDK1084: There is no application host available for the specified RuntimeIdentifier 'linux'. [/ifxhom                                                                                                                        e/phares/OI-Metrology/Server/OI.Metrology.Server.csproj]
/usr/lib64/dotnet/sdk/6.0.110/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(1                                                                                                                        29,5): error NETSDK1084: There is no application host available for the specified RuntimeIdentifier 'linux'. [/ifxhom                                                                                                                        e/phares/OI-Metrology/Server/OI.Metrology.Server.csproj]

Build FAILED.

/usr/lib64/dotnet/sdk/6.0.110/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(1                                                                                                                        29,5): error NETSDK1084: There is no application host available for the specified RuntimeIdentifier 'linux'. [/ifxhom                                                                                                                        e/phares/OI-Metrology/Server/OI.Metrology.Server.csproj]
/usr/lib64/dotnet/sdk/6.0.110/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(1                                                                                                                        29,5): error NETSDK1084: There is no application host available for the specified RuntimeIdentifier 'linux'. [/ifxhom                                                                                                                        e/phares/OI-Metrology/Server/OI.Metrology.Server.csproj]
/usr/lib64/dotnet/sdk/6.0.110/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(1                                                                                                                        29,5): error NETSDK1084: There is no application host available for the specified RuntimeIdentifier 'linux'. [/ifxhom                                                                                                                        e/phares/OI-Metrology/Server/OI.Metrology.Server.csproj]
/usr/lib64/dotnet/sdk/6.0.110/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(1                                                                                                                        29,5): error NETSDK1084: There is no application host available for the specified RuntimeIdentifier 'linux'. [/ifxhom                                                                                                                        e/phares/OI-Metrology/Server/OI.Metrology.Server.csproj]
    0 Warning(s)
    4 Error(s)

Time Elapsed 00:00:00.97
[phares@auclv0558 Server]$ nano OI.Metrology.Server.csproj
[phares@auclv0558 Server]$ cd ..
[phares@auclv0558 ~/OI-Metrology]$ cd ..
[phares@auclv0558 ~]$ cd Barcode-Host/
[phares@auclv0558 ~/Barcode-Host]$ dotnet build
Microsoft (R) Build Engine version 17.0.1+b177f8fa7 for .NET
Copyright (C) Microsoft Corporation. All rights reserved.

  Determining projects to restore...
  Restored /ifxhome/phares/Barcode-Host/Shared/Barcode.Host.Shared.csproj (in 6.81 sec).
  Restored /ifxhome/phares/Barcode-Host/Server/Barcode.Host.Server.csproj (in 7.08 sec).
/ifxhome/phares/Barcode-Host/Server.Tests/Barcode.Host.Server.Tests.csproj : error NU1202: Package Microsoft.AspNetCo                                                                                                                        re.Mvc.Testing 7.0.5 is not compatible with net6.0 (.NETCoreApp,Version=v6.0). Package Microsoft.AspNetCore.Mvc.Testi                                                                                                                        ng 7.0.5 supports: net7.0 (.NETCoreApp,Version=v7.0) [/ifxhome/phares/Barcode-Host/Barcode-Host.sln]
/ifxhome/phares/Barcode-Host/Server.Tests/Barcode.Host.Server.Tests.csproj : error NU1202: Package Microsoft.AspNetCo                                                                                                                        re.Mvc.Testing 7.0.5 is not compatible with net6.0 (.NETCoreApp,Version=v6.0) / linux-x64. Package Microsoft.AspNetCo                                                                                                                        re.Mvc.Testing 7.0.5 supports: net7.0 (.NETCoreApp,Version=v7.0) [/ifxhome/phares/Barcode-Host/Barcode-Host.sln]
/ifxhome/phares/Barcode-Host/Server.Tests/Barcode.Host.Server.Tests.csproj : error NU1202: Package Microsoft.AspNetCo                                                                                                                        re.Mvc.Testing 7.0.5 is not compatible with net6.0 (.NETCoreApp,Version=v6.0) / win-x64. Package Microsoft.AspNetCore                                                                                                                        .Mvc.Testing 7.0.5 supports: net7.0 (.NETCoreApp,Version=v7.0) [/ifxhome/phares/Barcode-Host/Barcode-Host.sln]
  Failed to restore /ifxhome/phares/Barcode-Host/Server.Tests/Barcode.Host.Server.Tests.csproj (in 3.2 sec).

Build FAILED.

/ifxhome/phares/Barcode-Host/Server.Tests/Barcode.Host.Server.Tests.csproj : error NU1202: Package Microsoft.AspNetCo                                                                                                                        re.Mvc.Testing 7.0.5 is not compatible with net6.0 (.NETCoreApp,Version=v6.0). Package Microsoft.AspNetCore.Mvc.Testi                                                                                                                        ng 7.0.5 supports: net7.0 (.NETCoreApp,Version=v7.0) [/ifxhome/phares/Barcode-Host/Barcode-Host.sln]
/ifxhome/phares/Barcode-Host/Server.Tests/Barcode.Host.Server.Tests.csproj : error NU1202: Package Microsoft.AspNetCo                                                                                                                        re.Mvc.Testing 7.0.5 is not compatible with net6.0 (.NETCoreApp,Version=v6.0) / linux-x64. Package Microsoft.AspNetCo                                                                                                                        re.Mvc.Testing 7.0.5 supports: net7.0 (.NETCoreApp,Version=v7.0) [/ifxhome/phares/Barcode-Host/Barcode-Host.sln]
/ifxhome/phares/Barcode-Host/Server.Tests/Barcode.Host.Server.Tests.csproj : error NU1202: Package Microsoft.AspNetCo                                                                                                                        re.Mvc.Testing 7.0.5 is not compatible with net6.0 (.NETCoreApp,Version=v6.0) / win-x64. Package Microsoft.AspNetCore                                                                                                                        .Mvc.Testing 7.0.5 supports: net7.0 (.NETCoreApp,Version=v7.0) [/ifxhome/phares/Barcode-Host/Barcode-Host.sln]
    0 Warning(s)
    3 Error(s)

Time Elapsed 00:00:11.25
[phares@auclv0558 ~/Barcode-Host]$ cd Ser
Server.Tests/ Server/
[phares@auclv0558 ~/Barcode-Host]$ cd Server
[phares@auclv0558 Server]$ dotnet build
Microsoft (R) Build Engine version 17.0.1+b177f8fa7 for .NET
Copyright (C) Microsoft Corporation. All rights reserved.

  Determining projects to restore...
  All projects are up-to-date for restore.
  Barcode.Host.Shared -> /ifxhome/phares/Barcode-Host/Shared/bin/Debug/net6.0/Barcode.Host.Shared.dll
  Barcode.Host.Server -> /ifxhome/phares/Barcode-Host/Server/bin/Debug/net6.0/Barcode.Host.Server.dll

Build succeeded.
    0 Warning(s)
    0 Error(s)

Time Elapsed 00:00:08.64
[phares@auclv0558 Server]$ dotnet run
Building...
2024-01-22 12:26:02.209 -06:00 [Debug] (Microsoft.AspNetCore.Mvc.ModelBinding.ModelBinderFactory.) () () Registered model binder providers, in the following order: ["Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BinderTypeModelBinderProvider", "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ServicesModelBinderProvider", "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BodyModelBinderProvider", "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.HeaderModelBinderProvider", "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FloatingPointTypeModelBinderProvider", "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.EnumTypeModelBinderProvider", "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DateTimeModelBinderProvider", "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.SimpleTypeModelBinderProvider", "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CancellationTokenModelBinderProvider", "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ByteArrayModelBinderProvider", "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormFileModelBinderProvider", "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormCollectionModelBinderProvider", "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.KeyValuePairModelBinderProvider", "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DictionaryModelBinderProvider", "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ArrayModelBinderProvider", "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CollectionModelBinderProvider", "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ComplexObjectModelBinderProvider"]
2024-01-22 12:26:02.270 -06:00 [Debug] (Microsoft.AspNetCore.Mvc.Razor.Compilation.DefaultViewCompiler.) () () Initializing Razor view compiler with compiled view: '"/Pages/Error.cshtml"'.
2024-01-22 12:26:02.270 -06:00 [Debug] (Microsoft.AspNetCore.Mvc.Razor.Compilation.DefaultViewCompiler.) () () Initializing Razor view compiler with compiled view: '"/Pages/Notification.cshtml"'.
2024-01-22 12:26:02.270 -06:00 [Debug] (Microsoft.AspNetCore.Mvc.Razor.Compilation.DefaultViewCompiler.) () () Initializing Razor view compiler with compiled view: '"/Pages/Shared/_ValidationScriptsPartial.cshtml"'.
2024-01-22 12:26:02.270 -06:00 [Debug] (Microsoft.AspNetCore.Mvc.Razor.Compilation.DefaultViewCompiler.) () () Initializing Razor view compiler with compiled view: '"/Pages/_ViewImports.cshtml"'.
2024-01-22 12:26:02.270 -06:00 [Debug] (Microsoft.AspNetCore.Mvc.Razor.Compilation.DefaultViewCompiler.) () () Initializing Razor view compiler with compiled view: '"/Pages/_ViewStart.cshtml"'.
2024-01-22 12:26:02.270 -06:00 [Debug] (Microsoft.AspNetCore.Mvc.Razor.Compilation.DefaultViewCompiler.) () () Initializing Razor view compiler with compiled view: '"/Pages/Shared/_Layout.cshtml"'.
2024-01-22 12:26:02.278 -06:00 [Information] (Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager.) () () User profile is available. Using '"/ifxhome/phares/.aspnet/DataProtection-Keys"' as key repository; keys will not be encrypted at rest.
2024-01-22 12:26:02.325 -06:00 [Debug] (Microsoft.AspNetCore.SignalR.Internal.DefaultHubProtocolResolver.) () () Registered SignalR Protocol: "json", implemented by "Microsoft.AspNetCore.SignalR.Protocol.JsonHubProtocol".
2024-01-22 12:26:02.351 -06:00 [Information] (Barcode.Host.Server.Program.) () () Starting Web Application
2024-01-22 12:26:02.358 -06:00 [Debug] (Microsoft.Extensions.Hosting.Internal.Host.) () () Hosting starting
2024-01-22 12:26:02.374 -06:00 [Debug] (Microsoft.AspNetCore.DataProtection.KeyManagement.DefaultKeyResolver.) () () Repository contains no viable default key. Caller should generate a key with immediate activation.
2024-01-22 12:26:02.374 -06:00 [Debug] (Microsoft.AspNetCore.DataProtection.KeyManagement.KeyRingProvider.) () () Policy resolution states that a new key should be added to the key ring.
2024-01-22 12:26:02.379 -06:00 [Information] (Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager.) () () Creating key {faf38162-ab8f-49ef-b195-45fb82fa9d71} with creation date 2024-01-22 18:26:02Z, activation date 2024-01-22 18:26:02Z, and expiration date 2024-04-21 18:26:02Z.
2024-01-22 12:26:02.389 -06:00 [Debug] (Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager.) () () Descriptor deserializer type for key {faf38162-ab8f-49ef-b195-45fb82fa9d71} is '"Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.AuthenticatedEncryptorDescriptorDeserializer, Microsoft.AspNetCore.DataProtection, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60"'.
2024-01-22 12:26:02.393 -06:00 [Debug] (Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager.) () () No key escrow sink found. Not writing key {faf38162-ab8f-49ef-b195-45fb82fa9d71} to escrow.
2024-01-22 12:26:02.394 -06:00 [Warning] (Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager.) () () No XML encryptor configured. Key {faf38162-ab8f-49ef-b195-45fb82fa9d71} may be persisted to storage in unencrypted form.
2024-01-22 12:26:02.401 -06:00 [Information] (Microsoft.AspNetCore.DataProtection.Repositories.FileSystemXmlRepository.) () () Writing data to file '"/ifxhome/phares/.aspnet/DataProtection-Keys/key-faf38162-ab8f-49ef-b195-45fb82fa9d71.xml"'.
2024-01-22 12:26:02.402 -06:00 [Debug] (Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager.) () () Key cache expiration token triggered by '"CreateNewKey"' operation.
2024-01-22 12:26:02.402 -06:00 [Debug] (Microsoft.AspNetCore.DataProtection.Repositories.FileSystemXmlRepository.) () () Reading data from file '"/ifxhome/phares/.aspnet/DataProtection-Keys/key-faf38162-ab8f-49ef-b195-45fb82fa9d71.xml"'.
2024-01-22 12:26:02.408 -06:00 [Debug] (Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager.) () () Found key {faf38162-ab8f-49ef-b195-45fb82fa9d71}.
2024-01-22 12:26:02.416 -06:00 [Debug] (Microsoft.AspNetCore.DataProtection.KeyManagement.DefaultKeyResolver.) () () Considering key {faf38162-ab8f-49ef-b195-45fb82fa9d71} with expiration date 2024-04-21 18:26:02Z as default key.
2024-01-22 12:26:02.417 -06:00 [Debug] (Microsoft.AspNetCore.DataProtection.TypeForwardingActivator.) () () Forwarded activator type request from "Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.AuthenticatedEncryptorDescriptorDeserializer, Microsoft.AspNetCore.DataProtection, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60" to "Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.AuthenticatedEncryptorDescriptorDeserializer, Microsoft.AspNetCore.DataProtection, Culture=neutral, PublicKeyToken=adb9793829ddae60"
2024-01-22 12:26:02.419 -06:00 [Debug] (Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ManagedAuthenticatedEncryptorFactory.) () () Using managed symmetric algorithm '"System.Security.Cryptography.Aes"'.
2024-01-22 12:26:02.419 -06:00 [Debug] (Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ManagedAuthenticatedEncryptorFactory.) () () Using managed keyed hash algorithm '"System.Security.Cryptography.HMACSHA256"'.
2024-01-22 12:26:02.423 -06:00 [Debug] (Microsoft.AspNetCore.DataProtection.KeyManagement.KeyRingProvider.) () () Using key {faf38162-ab8f-49ef-b195-45fb82fa9d71} as the default key.
2024-01-22 12:26:02.424 -06:00 [Debug] (Microsoft.AspNetCore.DataProtection.Internal.DataProtectionHostedService.) () () Key ring with default key {faf38162-ab8f-49ef-b195-45fb82fa9d71} was loaded during application startup.
2024-01-22 12:26:02.426 -06:00 [Information] (Barcode.Host.Server.HostedService.TimedHostedService.StartAsync) () () Timed Hosted Service: 1234567:554149 running.
2024-01-22 12:26:02.439 -06:00 [Fatal] (Barcode.Host.Server.Program.) () () Host terminated unexpectedly
System.UnauthorizedAccessException: Access to the port '/dev/ttyUSB0' is denied.
 ---> System.IO.IOException: No such file or directory
   --- End of inner exception stack trace ---
   at System.IO.Ports.SafeSerialDeviceHandle.Open(String portName)
   at System.IO.Ports.SerialStream..ctor(String portName, Int32 baudRate, Parity parity, Int32 dataBits, StopBits stopBits, Int32 readTimeout, Int32 writeTimeout, Handshake handshake, Boolean dtrEnable, Boolean rtsEnable, Boolean discardNull, Byte parityReplace)
   at System.IO.Ports.SerialPort.Open()
   at Barcode.Host.Server.Services.SerialService.Barcode.Host.Shared.Models.Stateless.ISerialService.Open() in /ifxhome/phares/Barcode-Host/Server/Services/SerialService.cs:line 25
   at Barcode.Host.Server.HostedService.TimedHostedService.StartAsync(CancellationToken stoppingToken) in /ifxhome/phares/Barcode-Host/Server/HostedService/TimedHostedService.cs:line 73
   at Microsoft.Extensions.Hosting.Internal.Host.StartAsync(CancellationToken cancellationToken)
   at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)
   at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)
   at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.Run(IHost host)
   at Microsoft.AspNetCore.Builder.WebApplication.Run(String url)
   at Barcode.Host.Server.Program.Main(String[] args) in /ifxhome/phares/Barcode-Host/Server/Program.cs:line 90
[phares@auclv0558 Server]$ ufw status
ufw: Command not found.
[phares@auclv0558 Server]$ dotnet user-secrets list
No secrets configured for this application.
[phares@auclv0558 Server]$ dotnet user-secrets set "SerialPortName" ""
Successfully saved SerialPortName =  to the secret store.
[phares@auclv0558 Server]$ dotnet run
Building...
2024-01-22 12:31:52.649 -06:00 [Debug] (Microsoft.AspNetCore.Mvc.ModelBinding.ModelBinderFactory.) () () Registered model binder providers, in the following order: ["Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BinderTypeModelBinderProvider", "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ServicesModelBinderProvider", "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BodyModelBinderProvider", "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.HeaderModelBinderProvider", "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FloatingPointTypeModelBinderProvider", "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.EnumTypeModelBinderProvider", "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DateTimeModelBinderProvider", "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.SimpleTypeModelBinderProvider", "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CancellationTokenModelBinderProvider", "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ByteArrayModelBinderProvider", "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormFileModelBinderProvider", "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormCollectionModelBinderProvider", "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.KeyValuePairModelBinderProvider", "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DictionaryModelBinderProvider", "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ArrayModelBinderProvider", "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CollectionModelBinderProvider", "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ComplexObjectModelBinderProvider"]
2024-01-22 12:31:52.704 -06:00 [Debug] (Microsoft.AspNetCore.Mvc.Razor.Compilation.DefaultViewCompiler.) () () Initializing Razor view compiler with compiled view: '"/Pages/Error.cshtml"'.
2024-01-22 12:31:52.704 -06:00 [Debug] (Microsoft.AspNetCore.Mvc.Razor.Compilation.DefaultViewCompiler.) () () Initializing Razor view compiler with compiled view: '"/Pages/Notification.cshtml"'.
2024-01-22 12:31:52.704 -06:00 [Debug] (Microsoft.AspNetCore.Mvc.Razor.Compilation.DefaultViewCompiler.) () () Initializing Razor view compiler with compiled view: '"/Pages/Shared/_ValidationScriptsPartial.cshtml"'.
2024-01-22 12:31:52.704 -06:00 [Debug] (Microsoft.AspNetCore.Mvc.Razor.Compilation.DefaultViewCompiler.) () () Initializing Razor view compiler with compiled view: '"/Pages/_ViewImports.cshtml"'.
2024-01-22 12:31:52.704 -06:00 [Debug] (Microsoft.AspNetCore.Mvc.Razor.Compilation.DefaultViewCompiler.) () () Initializing Razor view compiler with compiled view: '"/Pages/_ViewStart.cshtml"'.
2024-01-22 12:31:52.705 -06:00 [Debug] (Microsoft.AspNetCore.Mvc.Razor.Compilation.DefaultViewCompiler.) () () Initializing Razor view compiler with compiled view: '"/Pages/Shared/_Layout.cshtml"'.
2024-01-22 12:31:52.712 -06:00 [Information] (Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager.) () () User profile is available. Using '"/ifxhome/phares/.aspnet/DataProtection-Keys"' as key repository; keys will not be encrypted at rest.
2024-01-22 12:31:52.757 -06:00 [Debug] (Microsoft.AspNetCore.SignalR.Internal.DefaultHubProtocolResolver.) () () Registered SignalR Protocol: "json", implemented by "Microsoft.AspNetCore.SignalR.Protocol.JsonHubProtocol".
2024-01-22 12:31:52.784 -06:00 [Information] (Barcode.Host.Server.Program.) () () Starting Web Application
2024-01-22 12:31:52.790 -06:00 [Debug] (Microsoft.Extensions.Hosting.Internal.Host.) () () Hosting starting
2024-01-22 12:31:52.798 -06:00 [Debug] (Microsoft.AspNetCore.DataProtection.Repositories.FileSystemXmlRepository.) () () Reading data from file '"/ifxhome/phares/.aspnet/DataProtection-Keys/key-faf38162-ab8f-49ef-b195-45fb82fa9d71.xml"'.
2024-01-22 12:31:52.821 -06:00 [Debug] (Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager.) () () Found key {faf38162-ab8f-49ef-b195-45fb82fa9d71}.
2024-01-22 12:31:52.834 -06:00 [Debug] (Microsoft.AspNetCore.DataProtection.KeyManagement.DefaultKeyResolver.) () () Considering key {faf38162-ab8f-49ef-b195-45fb82fa9d71} with expiration date 2024-04-21 18:26:02Z as default key.
2024-01-22 12:31:52.836 -06:00 [Debug] (Microsoft.AspNetCore.DataProtection.TypeForwardingActivator.) () () Forwarded activator type request from "Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.AuthenticatedEncryptorDescriptorDeserializer, Microsoft.AspNetCore.DataProtection, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60" to "Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.AuthenticatedEncryptorDescriptorDeserializer, Microsoft.AspNetCore.DataProtection, Culture=neutral, PublicKeyToken=adb9793829ddae60"
2024-01-22 12:31:52.837 -06:00 [Debug] (Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ManagedAuthenticatedEncryptorFactory.) () () Using managed symmetric algorithm '"System.Security.Cryptography.Aes"'.
2024-01-22 12:31:52.838 -06:00 [Debug] (Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ManagedAuthenticatedEncryptorFactory.) () () Using managed keyed hash algorithm '"System.Security.Cryptography.HMACSHA256"'.
2024-01-22 12:31:52.846 -06:00 [Debug] (Microsoft.AspNetCore.DataProtection.KeyManagement.KeyRingProvider.) () () Using key {faf38162-ab8f-49ef-b195-45fb82fa9d71} as the default key.
2024-01-22 12:31:52.847 -06:00 [Debug] (Microsoft.AspNetCore.DataProtection.Internal.DataProtectionHostedService.) () () Key ring with default key {faf38162-ab8f-49ef-b195-45fb82fa9d71} was loaded during application startup.
2024-01-22 12:31:52.849 -06:00 [Information] (Barcode.Host.Server.HostedService.TimedHostedService.StartAsync) () () Timed Hosted Service: 1234567:566863 running.
2024-01-22 12:31:52.895 -06:00 [Fatal] (Barcode.Host.Server.Program.) () () Host terminated unexpectedly
System.Exception: Please check appsettings file(s) for <RootPassword>!
   at Barcode.Host.Server.HostedService.TimedHostedService.StartAsync(CancellationToken stoppingToken) in /ifxhome/phares/Barcode-Host/Server/HostedService/TimedHostedService.cs:line 78
   at Microsoft.Extensions.Hosting.Internal.Host.StartAsync(CancellationToken cancellationToken)
   at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)
   at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)
   at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.Run(IHost host)
   at Microsoft.AspNetCore.Builder.WebApplication.Run(String url)
   at Barcode.Host.Server.Program.Main(String[] args) in /ifxhome/phares/Barcode-Host/Server/Program.cs:line 90
[phares@auclv0558 Server]$ dotnet user-secrets clear
dotnet user-secrets set "BuildNumber" "925458"
dotnet user-secrets set "BuildSourceVersion" "197620fc8407914d09582d411091e97ad6f85868"
dotnet user-secrets set "EquipmentName" "BIORAD#"
dotnet user-secrets set "GitCommitSeven" ""
dotnet user-secrets set "PostTo" "http://eaf-staging.mes.infineon.com:8080/api/Barcode/BIORAD#"
dotnet user-secrets set "RootPassword" "asdf"
dotnet user-secrets set "SerialPortName" ""
dotnet user-secrets set "ToolClass" "FTIR"
dotnet user-secrets list
[phares@auclv0558 Server]$ dotnet user-secrets set "BuildNumber" "925458"
Successfully saved BuildNumber = 925458 to the secret store.
[phares@auclv0558 Server]$ dotnet user-secrets set "BuildSourceVersion" "197620fc8407914d09582d411091e97ad6f85868"
Successfully saved BuildSourceVersion = 197620fc8407914d09582d411091e97ad6f85868 to the secret store.
[phares@auclv0558 Server]$ dotnet user-secrets set "EquipmentName" "BIORAD#"
Successfully saved EquipmentName = BIORAD# to the secret store.
[phares@auclv0558 Server]$ dotnet user-secrets set "GitCommitSeven" ""
Successfully saved GitCommitSeven =  to the secret store.
[phares@auclv0558 Server]$ dotnet user-secrets set "PostTo" "http://eaf-staging.mes.infineon.com:8080/api/Barcode/BIORAD#"
Successfully saved PostTo = http://eaf-staging.mes.infineon.com:8080/api/Barcode/BIORAD# to the secret store.
[phares@auclv0558 Server]$ dotnet user-secrets set "RootPassword" "asdf"
Successfully saved RootPassword = asdf to the secret store.
[phares@auclv0558 Server]$ dotnet user-secrets set "SerialPortName" ""
Successfully saved SerialPortName =  to the secret store.
[phares@auclv0558 Server]$ dotnet user-secrets set "ToolClass" "FTIR"
Successfully saved ToolClass = FTIR to the secret store.
[phares@auclv0558 Server]$ dotnet user-secrets list
ToolClass = FTIR
SerialPortName =
RootPassword = asdf
PostTo = http://eaf-staging.mes.infineon.com:8080/api/Barcode/BIORAD#
GitCommitSeven =
EquipmentName = BIORAD#
BuildSourceVersion = 197620fc8407914d09582d411091e97ad6f85868
BuildNumber = 925458
[phares@auclv0558 Server]$ dotnet run
Building...
2024-01-22 12:32:30.356 -06:00 [Debug] (Microsoft.AspNetCore.Mvc.ModelBinding.ModelBinderFactory.) () () Registered model binder providers, in the following order: ["Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BinderTypeModelBinderProvider", "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ServicesModelBinderProvider", "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BodyModelBinderProvider", "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.HeaderModelBinderProvider", "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FloatingPointTypeModelBinderProvider", "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.EnumTypeModelBinderProvider", "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DateTimeModelBinderProvider", "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.SimpleTypeModelBinderProvider", "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CancellationTokenModelBinderProvider", "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ByteArrayModelBinderProvider", "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormFileModelBinderProvider", "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormCollectionModelBinderProvider", "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.KeyValuePairModelBinderProvider", "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DictionaryModelBinderProvider", "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ArrayModelBinderProvider", "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CollectionModelBinderProvider", "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ComplexObjectModelBinderProvider"]
2024-01-22 12:32:30.412 -06:00 [Debug] (Microsoft.AspNetCore.Mvc.Razor.Compilation.DefaultViewCompiler.) () () Initializing Razor view compiler with compiled view: '"/Pages/Error.cshtml"'.
2024-01-22 12:32:30.412 -06:00 [Debug] (Microsoft.AspNetCore.Mvc.Razor.Compilation.DefaultViewCompiler.) () () Initializing Razor view compiler with compiled view: '"/Pages/Notification.cshtml"'.
2024-01-22 12:32:30.412 -06:00 [Debug] (Microsoft.AspNetCore.Mvc.Razor.Compilation.DefaultViewCompiler.) () () Initializing Razor view compiler with compiled view: '"/Pages/Shared/_ValidationScriptsPartial.cshtml"'.
2024-01-22 12:32:30.412 -06:00 [Debug] (Microsoft.AspNetCore.Mvc.Razor.Compilation.DefaultViewCompiler.) () () Initializing Razor view compiler with compiled view: '"/Pages/_ViewImports.cshtml"'.
2024-01-22 12:32:30.412 -06:00 [Debug] (Microsoft.AspNetCore.Mvc.Razor.Compilation.DefaultViewCompiler.) () () Initializing Razor view compiler with compiled view: '"/Pages/_ViewStart.cshtml"'.
2024-01-22 12:32:30.412 -06:00 [Debug] (Microsoft.AspNetCore.Mvc.Razor.Compilation.DefaultViewCompiler.) () () Initializing Razor view compiler with compiled view: '"/Pages/Shared/_Layout.cshtml"'.
2024-01-22 12:32:30.419 -06:00 [Information] (Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager.) () () User profile is available. Using '"/ifxhome/phares/.aspnet/DataProtection-Keys"' as key repository; keys will not be encrypted at rest.
2024-01-22 12:32:30.462 -06:00 [Debug] (Microsoft.AspNetCore.SignalR.Internal.DefaultHubProtocolResolver.) () () Registered SignalR Protocol: "json", implemented by "Microsoft.AspNetCore.SignalR.Protocol.JsonHubProtocol".
2024-01-22 12:32:30.488 -06:00 [Information] (Barcode.Host.Server.Program.) () () Starting Web Application
2024-01-22 12:32:30.494 -06:00 [Debug] (Microsoft.Extensions.Hosting.Internal.Host.) () () Hosting starting
2024-01-22 12:32:30.503 -06:00 [Debug] (Microsoft.AspNetCore.DataProtection.Repositories.FileSystemXmlRepository.) () () Reading data from file '"/ifxhome/phares/.aspnet/DataProtection-Keys/key-faf38162-ab8f-49ef-b195-45fb82fa9d71.xml"'.
2024-01-22 12:32:30.515 -06:00 [Debug] (Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager.) () () Found key {faf38162-ab8f-49ef-b195-45fb82fa9d71}.
2024-01-22 12:32:30.527 -06:00 [Debug] (Microsoft.AspNetCore.DataProtection.KeyManagement.DefaultKeyResolver.) () () Considering key {faf38162-ab8f-49ef-b195-45fb82fa9d71} with expiration date 2024-04-21 18:26:02Z as default key.
2024-01-22 12:32:30.528 -06:00 [Debug] (Microsoft.AspNetCore.DataProtection.TypeForwardingActivator.) () () Forwarded activator type request from "Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.AuthenticatedEncryptorDescriptorDeserializer, Microsoft.AspNetCore.DataProtection, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60" to "Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.AuthenticatedEncryptorDescriptorDeserializer, Microsoft.AspNetCore.DataProtection, Culture=neutral, PublicKeyToken=adb9793829ddae60"
2024-01-22 12:32:30.530 -06:00 [Debug] (Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ManagedAuthenticatedEncryptorFactory.) () () Using managed symmetric algorithm '"System.Security.Cryptography.Aes"'.
2024-01-22 12:32:30.530 -06:00 [Debug] (Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ManagedAuthenticatedEncryptorFactory.) () () Using managed keyed hash algorithm '"System.Security.Cryptography.HMACSHA256"'.
2024-01-22 12:32:30.538 -06:00 [Debug] (Microsoft.AspNetCore.DataProtection.KeyManagement.KeyRingProvider.) () () Using key {faf38162-ab8f-49ef-b195-45fb82fa9d71} as the default key.
2024-01-22 12:32:30.539 -06:00 [Debug] (Microsoft.AspNetCore.DataProtection.Internal.DataProtectionHostedService.) () () Key ring with default key {faf38162-ab8f-49ef-b195-45fb82fa9d71} was loaded during application startup.
2024-01-22 12:32:30.541 -06:00 [Information] (Barcode.Host.Server.HostedService.TimedHostedService.StartAsync) () () Timed Hosted Service: 197620fc8407914d09582d411091e97ad6f85868:568508 running.
2024-01-22 12:32:30.635 -06:00 [Information] (Microsoft.AspNetCore.Server.Kestrel.) () () Unable to bind to "http://localhost:5003" on the "IPv6 loopback" interface: '"Address family not supported by protocol"'.
2024-01-22 12:32:30.636 -06:00 [Information] (Microsoft.Hosting.Lifetime.) () () Now listening on: "http://localhost:5003"
2024-01-22 12:32:30.637 -06:00 [Debug] (Microsoft.AspNetCore.Hosting.Diagnostics.) () () Loaded hosting startup assembly "Barcode.Host.Server"
2024-01-22 12:32:30.637 -06:00 [Information] (Microsoft.Hosting.Lifetime.) () () Application started. Press Ctrl+C to shut down.
2024-01-22 12:32:30.637 -06:00 [Information] (Microsoft.Hosting.Lifetime.) () () Hosting environment: "Development"
2024-01-22 12:32:30.637 -06:00 [Information] (Microsoft.Hosting.Lifetime.) () () Content root path: "/ifxhome/phares/Barcode-Host/Server/"
2024-01-22 12:32:30.639 -06:00 [Debug] (Microsoft.Extensions.Hosting.Internal.Host.) () () Hosting started
2024-01-22 12:32:31.206 -06:00 [Error] (Barcode.Host.Server.HostedService.TimedHostedService.) () () Current user doesn't have permissions to access input data. Add user to input group to correct this error
System.UnauthorizedAccessException: Access to the path '/dev/input/event4' is denied.
 ---> System.IO.IOException: Permission denied
   --- End of inner exception stack trace ---
   at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, Boolean isDirectory, Func`2 errorRewriter)
   at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String path, OpenFlags flags, Int32 mode)
   at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize)
   at System.IO.Strategies.OSFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize)
   at System.IO.Strategies.FileStreamHelpers.ChooseStrategy(FileStream fileStream, String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, Int64 preallocationSize)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
   at Barcode.Host.Shared.KeyboardMouse.InputReader..ctor(String path, ILogger`1 logger) in /ifxhome/phares/Barcode-Host/Shared/KeyboardMouse/InputReader.cs:line 32
2024-01-22 12:32:31.229 -06:00 [Error] (Barcode.Host.Server.HostedService.TimedHostedService.) () () Current user doesn't have permissions to access input data. Add user to input group to correct this error
System.UnauthorizedAccessException: Access to the path '/dev/input/event3' is denied.
 ---> System.IO.IOException: Permission denied
   --- End of inner exception stack trace ---
   at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, Boolean isDirectory, Func`2 errorRewriter)
   at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String path, OpenFlags flags, Int32 mode)
   at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize)
   at System.IO.Strategies.OSFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize)
   at System.IO.Strategies.FileStreamHelpers.ChooseStrategy(FileStream fileStream, String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, Int64 preallocationSize)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
   at Barcode.Host.Shared.KeyboardMouse.InputReader..ctor(String path, ILogger`1 logger) in /ifxhome/phares/Barcode-Host/Shared/KeyboardMouse/InputReader.cs:line 32
2024-01-22 12:32:31.233 -06:00 [Error] (Barcode.Host.Server.HostedService.TimedHostedService.) () () Current user doesn't have permissions to access input data. Add user to input group to correct this error
System.UnauthorizedAccessException: Access to the path '/dev/input/event2' is denied.
 ---> System.IO.IOException: Permission denied
   --- End of inner exception stack trace ---
   at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, Boolean isDirectory, Func`2 errorRewriter)
   at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String path, OpenFlags flags, Int32 mode)
   at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize)
   at System.IO.Strategies.OSFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize)
   at System.IO.Strategies.FileStreamHelpers.ChooseStrategy(FileStream fileStream, String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, Int64 preallocationSize)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
   at Barcode.Host.Shared.KeyboardMouse.InputReader..ctor(String path, ILogger`1 logger) in /ifxhome/phares/Barcode-Host/Shared/KeyboardMouse/InputReader.cs:line 32
2024-01-22 12:32:31.233 -06:00 [Error] (Barcode.Host.Server.HostedService.TimedHostedService.) () () Current user doesn't have permissions to access input data. Add user to input group to correct this error
System.UnauthorizedAccessException: Access to the path '/dev/input/event1' is denied.
 ---> System.IO.IOException: Permission denied
   --- End of inner exception stack trace ---
   at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, Boolean isDirectory, Func`2 errorRewriter)
   at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String path, OpenFlags flags, Int32 mode)
   at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize)
   at System.IO.Strategies.OSFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize)
   at System.IO.Strategies.FileStreamHelpers.ChooseStrategy(FileStream fileStream, String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, Int64 preallocationSize)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
   at Barcode.Host.Shared.KeyboardMouse.InputReader..ctor(String path, ILogger`1 logger) in /ifxhome/phares/Barcode-Host/Shared/KeyboardMouse/InputReader.cs:line 32
2024-01-22 12:32:31.234 -06:00 [Error] (Barcode.Host.Server.HostedService.TimedHostedService.) () () Current user doesn't have permissions to access input data. Add user to input group to correct this error
System.UnauthorizedAccessException: Access to the path '/dev/input/event0' is denied.
 ---> System.IO.IOException: Permission denied
   --- End of inner exception stack trace ---
   at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, Boolean isDirectory, Func`2 errorRewriter)
   at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String path, OpenFlags flags, Int32 mode)
   at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize)
   at System.IO.Strategies.OSFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize)
   at System.IO.Strategies.FileStreamHelpers.ChooseStrategy(FileStream fileStream, String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, Int64 preallocationSize)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
   at Barcode.Host.Shared.KeyboardMouse.InputReader..ctor(String path, ILogger`1 logger) in /ifxhome/phares/Barcode-Host/Shared/KeyboardMouse/InputReader.cs:line 32
sudo -iu metrologysvc
echo >/ifxhome/phares/auclv0558.auc.infineon.com.conf && nano /ifxhome/phares/auclv0558.auc.infineon.com.conf
[req]
default_bits       = 2048
default_keyfile    = auclv0558.auc.infineon.com.key
distinguished_name = req_distinguished_name
req_extensions     = req_ext
x509_extensions    = v3_ca

[req_distinguished_name]
countryName                 = Country Name (2 letter code)
countryName_default         = US
stateOrProvinceName         = State or Province Name (full name)
stateOrProvinceName_default = Arizona
localityName                = Locality Name (eg, city)
localityName_default        = Mesa
organizationName            = Organization Name (eg, company)
organizationName_default    = Infineon Technologies Americas Corp.
organizationalUnitName      = organizationalunit
organizationalUnitName_default = Development
commonName                  = Common Name (e.g. server FQDN or YOUR name)
commonName_default          = auclv0558.auc.infineon.com
commonName_max              = 64

[req_ext]
subjectAltName = @alt_names

[v3_ca]
subjectAltName = @alt_names

[alt_names]
DNS.1   = auclv0558.auc.infineon.com
DNS.2   = localhost
DNS.3   = 127.0.0.1
openssl
req -newkey rsa:2048 -keyout /ifxhome/phares/auclv0558.auc.infineon.com.key -out /ifxhome/phares/auclv0558.auc.infineon.com.csr -config /ifxhome/phares/auclv0558.auc.infineon.com.conf
https://intranet.infineon.com/
sudo mv auclv0558.auc.infineon.com.conf /etc/nginx/
sudo mv auclv0558.auc.infineon.com.csr /etc/nginx/
sudo mv auclv0558.auc.infineon.com.key /etc/nginx/