07-30-2024 03:02 AM
Hello there,
I have been trying to work with Instrument Studio, but everytime I try to open it, it doesn't. IT shows all the necessary files being prepared but does not open. I have viewed the problem that was in the forum but couldn't find a way to apply it to my own system.
I have tried Repairing it, reinstalling it and also tried opening it as admin but did not open. Could you suggest me on what i should do?
Solved! Go to Solution.
07-30-2024 11:24 AM
> I have tried Repairing it, reinstalling it and also tried opening it as admin but did not open. Could you suggest me on what i should do?
It seems like we still need to collection some information to help us understand next steps.
The description of the behavior sounds like it might be crashing during launch. Perhaps the app left some error reports? Check this folder
C:\Users\__YOU__\AppData\Local\National Instruments\InstrumentStudio MM.m\ErrorReports
> I have viewed the problem that was in the forum but couldn't find a way to apply it to my own system.
Would you share a link to what you found?
Joe Friedchicken
NI Configuration Based Software Get with your fellow OS users
[ Linux ] [ macOS ]Principal Software Engineer :: Configuration Based Software
Senior Software Engineer :: Multifunction Instruments Applications Group (until May 2018)
Software Engineer :: Measurements RLP Group (until Mar 2014)
Applications Engineer :: High Speed Product Group (until Sep 2008)
07-31-2024 04:54 AM
Here is the error report
Internal error from InstrumentStudio
Message:
Unhandled Task Exception
Inner exception 1
Error message:
Requesting HTTP version 2.0 with version policy RequestVersionOrHigher while unable to establish HTTP/2 connection.
Exception:
HttpRequestException
Suggestion:
Contact National Instruments to report this error
Stack trace:
at System.Net.Http.HttpConnectionPool.ThrowGetVersionException(HttpRequestMessage request, Int32 desiredVersion)
at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken)
at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
at Grpc.Net.Client.Balancer.Internal.BalancerHttpHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at Grpc.Net.Client.Internal.GrpcCall`2.RunCall(HttpRequestMessage request, Nullable`1 timeout)
------------------------------------------
Error message:
Status(StatusCode="Internal", Detail="Error starting gRPC call. HttpRequestException: Requesting HTTP version 2.0 with version policy RequestVersionOrHigher while unable to establish HTTP/2 connection.", DebugException="System.Net.Http.HttpRequestException: Requesting HTTP version 2.0 with version policy RequestVersionOrHigher while unable to establish HTTP/2 connection.")
Exception:
RpcException
Suggestion:
Contact National Instruments to report this error
Stack trace:
at Grpc.Net.Client.Internal.HttpClientCallInvoker.BlockingUnaryCall[TRequest,TResponse](Method`2 method, String host, CallOptions options, TRequest request)
at Grpc.Core.Interceptors.InterceptingCallInvoker.<BlockingUnaryCall>b__3_0[TRequest,TResponse](TRequest req, ClientInterceptorContext`2 ctx)
at Grpc.Core.ClientBase.ClientBaseConfiguration.ClientBaseConfigurationInterceptor.BlockingUnaryCall[TRequest,TResponse](TRequest request, ClientInterceptorContext`2 context, BlockingUnaryCallContinuation`2 continuation)
at Grpc.Core.Interceptors.InterceptingCallInvoker.BlockingUnaryCall[TRequest,TResponse](Method`2 method, String host, CallOptions options, TRequest request)
at NationalInstruments.LicenseManagement.NilmCompatibility.V1.NilmCompatibilityService.NilmCompatibilityServiceClient.CreateSession(CreateSessionRequest request, CallOptions options)
at NationalInstruments.LicenseManagement.NilmCompatibility.V1.NilmCompatibilityService.NilmCompatibilityServiceClient.CreateSession(CreateSessionRequest request, Metadata headers, Nullable`1 deadline, CancellationToken cancellationToken)
at NationalInstruments.LicenseManagement.NilmCompatibility.NilmCompatibilityServiceClientAdapter.CreateSession(CreateSessionRequest request)
at NationalInstruments.LicenseManagement.NilmCompatibility.LicenseClient.CreateSession()
at NationalInstruments.Licensing.NetCoreLicensingStrategy..ctor(ILicenseInfo licenseInformation)
at NationalInstruments.Licensing.NILicenseManagerLicenseClientProxy..ctor(ILicenseInfo info)
at NationalInstruments.Licensing.NILicenseManagerLicensingProviderHelper.CreateLicensingProvider(ILicenseInfo info)
at NationalInstruments.InstrumentStudio.StandaloneApplicationFeatureSetBase.InitializeLicensing(PlatformApplication app)
at NationalInstruments.InstrumentStudio.StandaloneApplicationFeatureSetBase.InitializeApplication(PlatformApplication app)
at NationalInstruments.InstrumentStudio.StandaloneApplicationFeatureSet.InitializeApplication(PlatformApplication app)
at NationalInstruments.Shell.ShellApplication.SetupComposition(ICompositionHost host, IApplicationFeatureSet featureSet)
at NationalInstruments.Shell.ShellApplication.SetupHost(ICompositionHost host, IApplicationFeatureSet featureSet)
at NationalInstruments.Shell.ShellApplication.CreateHost(IApplicationFeatureSet featureSet)
at NationalInstruments.Shell.ShellApplication.OnStartupAsync(StartupEventArgs e)
The link to the previous problem is here.
hope it helps.
07-31-2024 10:18 AM
Does your company happen to use an http proxy? If so, it might be blocking http2 traffic. Try setting the following environment variable and see if it resolves the issue.
‘NO_PROXY=localhost,127.0.0.1’
08-01-2024 06:46 AM
Thank you for the help. I tried it and it worked. There was a proxy server