Skip to content
This repository has been archived by the owner on Jan 18, 2022. It is now read-only.

Deployment launcher no perms #1489

Open
ninjabuilder200 opened this issue Dec 4, 2020 · 0 comments
Open

Deployment launcher no perms #1489

ninjabuilder200 opened this issue Dec 4, 2020 · 0 comments

Comments

@ninjabuilder200
Copy link

We are accepting issues and we want your feedback.


Description

Describe your issue.
no perms error after trying to launch development

Expected behaviour

launch and be able to host that with the basic fps

Current behaviour

Launch of my_deployment failed. Code: UnknownGrpcError Message: Grpc.Core.RpcException: Status(StatusCode=PermissionDenied, Detail="you don't have permission to upload snapshots")
at Grpc.Core.Internal.AsyncCall2.UnaryCall(TRequest msg) at Grpc.Core.Calls.BlockingUnaryCall[TRequest,TResponse](CallInvocationDetails2 call, TRequest req)
at Grpc.Core.DefaultCallInvoker.BlockingUnaryCall[TRequest,TResponse](Method2 method, String host, CallOptions options, TRequest request) at Grpc.Core.Interceptors.InterceptingCallInvoker.<BlockingUnaryCall>b__3_0[TRequest,TResponse](TRequest req, ClientInterceptorContext2 ctx)
at Grpc.Core.ClientBase.ClientBaseConfiguration.ClientBaseConfigurationInterceptor.BlockingUnaryCall[TRequest,TResponse](TRequest request, ClientInterceptorContext2 context, BlockingUnaryCallContinuation2 continuation)
at Grpc.Core.Interceptors.InterceptingCallInvoker.BlockingUnaryCall[TRequest,TResponse](Method2 method, String host, CallOptions options, TRequest request) at Improbable.SpatialOS.Snapshot.V1Alpha1.SnapshotService.SnapshotServiceClient.UploadSnapshot(UploadSnapshotRequest request, CallOptions options) at Google.Api.Gax.Grpc.ApiCall.<>c__DisplayClass0_02.b__1(TRequest req, CallSettings cs)
at Google.Api.Gax.Grpc.ApiCallRetryExtensions.<>c__DisplayClass1_02.<WithRetry>b__0(TRequest request, CallSettings callSettings) at Google.Api.Gax.Grpc.ApiCall2.Sync(TRequest request, CallSettings perCallCallSettings)
at Improbable.SpatialOS.Snapshot.V1Alpha1.SnapshotServiceClientImpl.UploadSnapshot(UploadSnapshotRequest request, CallSettings callSettings)
at Improbable.Gdk.DeploymentLauncher.Commands.Create.UploadSnapshot(SnapshotServiceClient client, Create options) in C:\Users\simon\Documents\gdk-for-unity-fps-starter-project-0.4.0\workers\unity\Library\PackageCache\[email protected]\Commands\Create.cs:line 183
at Improbable.Gdk.DeploymentLauncher.Commands.Create.CreateDeploymentInternal[TOptions](TOptions options, Func2 getLaunchConfigJson) in C:\Users\simon\Documents\gdk-for-unity-fps-starter-project-0.4.0\workers\unity\Library\PackageCache\[email protected]\.DeploymentLauncher\Commands\Create.cs:line 61 at Improbable.Gdk.DeploymentLauncher.Commands.Create.CreateDeployment(Create options) in C:\Users\simon\Documents\gdk-for-unity-fps-starter-project-0.4.0\workers\unity\Library\PackageCache\[email protected]\.DeploymentLauncher\Commands\Create.cs:line 18 at Improbable.Gdk.DeploymentLauncher.Program.<>c.<Main>b__2_1(Create createOptions) in C:\Users\simon\Documents\gdk-for-unity-fps-starter-project-0.4.0\workers\unity\Library\PackageCache\[email protected]\.DeploymentLauncher\Program.cs:line 22 at CommandLine.ParserResultExtensions.MapResult[T1,T2,T3,T4,TResult](ParserResult1 result, Func2 parsedFunc1, Func2 parsedFunc2, Func2 parsedFunc3, Func2 parsedFunc4, Func`2 notParsedFunc)
at Improbable.Gdk.DeploymentLauncher.Program.Main(String[] args) in C:\Users\simon\Documents\gdk-for-unity-fps-starter-project-0.4.0\workers\unity\Library\PackageCache\[email protected]\Program.cs:line 17
UnityEngine.Debug:LogError(Object)
Improbable.Gdk.DeploymentLauncher.DeploymentLauncherWindow:Update() (at Library/PackageCache/[email protected]/DeploymentLauncherWindow.cs:118)
UnityEditor.EditorApplication:Internal_CallUpdateFunctions()

Possible solution

I have no clue

Steps to reproduce

1.boot up the unity project
2.open the fps dev scene
3.cloud build for all workers
4.try to launch dev

Environment

launch dev in accordance with the tutorial Launch of my_deployment failed. Code: UnknownGrpcError Message: Grpc.Core.RpcException: Status(StatusCode=PermissionDenied, Detail="you don't have permission to upload snapshots")

at Grpc.Core.Internal.AsyncCall2.UnaryCall(TRequest msg) at Grpc.Core.Calls.BlockingUnaryCall[TRequest,TResponse](CallInvocationDetails2 call, TRequest req)
at Grpc.Core.DefaultCallInvoker.BlockingUnaryCall[TRequest,TResponse](Method2 method, String host, CallOptions options, TRequest request) at Grpc.Core.Interceptors.InterceptingCallInvoker.<BlockingUnaryCall>b__3_0[TRequest,TResponse](TRequest req, ClientInterceptorContext2 ctx)
at Grpc.Core.ClientBase.ClientBaseConfiguration.ClientBaseConfigurationInterceptor.BlockingUnaryCall[TRequest,TResponse](TRequest request, ClientInterceptorContext2 context, BlockingUnaryCallContinuation2 continuation)
at Grpc.Core.Interceptors.InterceptingCallInvoker.BlockingUnaryCall[TRequest,TResponse](Method2 method, String host, CallOptions options, TRequest request) at Improbable.SpatialOS.Snapshot.V1Alpha1.SnapshotService.SnapshotServiceClient.UploadSnapshot(UploadSnapshotRequest request, CallOptions options) at Google.Api.Gax.Grpc.ApiCall.<>c__DisplayClass0_02.b__1(TRequest req, CallSettings cs)
at Google.Api.Gax.Grpc.ApiCallRetryExtensions.<>c__DisplayClass1_02.<WithRetry>b__0(TRequest request, CallSettings callSettings) at Google.Api.Gax.Grpc.ApiCall2.Sync(TRequest request, CallSettings perCallCallSettings)
at Improbable.SpatialOS.Snapshot.V1Alpha1.SnapshotServiceClientImpl.UploadSnapshot(UploadSnapshotRequest request, CallSettings callSettings)
at Improbable.Gdk.DeploymentLauncher.Commands.Create.UploadSnapshot(SnapshotServiceClient client, Create options) in C:\Users\simon\Documents\gdk-for-unity-fps-starter-project-0.4.0\workers\unity\Library\PackageCache\[email protected]\Commands\Create.cs:line 183
at Improbable.Gdk.DeploymentLauncher.Commands.Create.CreateDeploymentInternal[TOptions](TOptions options, Func2 getLaunchConfigJson) in C:\Users\simon\Documents\gdk-for-unity-fps-starter-project-0.4.0\workers\unity\Library\PackageCache\[email protected]\.DeploymentLauncher\Commands\Create.cs:line 61 at Improbable.Gdk.DeploymentLauncher.Commands.Create.CreateDeployment(Create options) in C:\Users\simon\Documents\gdk-for-unity-fps-starter-project-0.4.0\workers\unity\Library\PackageCache\[email protected]\.DeploymentLauncher\Commands\Create.cs:line 18 at Improbable.Gdk.DeploymentLauncher.Program.<>c.<Main>b__2_1(Create createOptions) in C:\Users\simon\Documents\gdk-for-unity-fps-starter-project-0.4.0\workers\unity\Library\PackageCache\[email protected]\.DeploymentLauncher\Program.cs:line 22 at CommandLine.ParserResultExtensions.MapResult[T1,T2,T3,T4,TResult](ParserResult1 result, Func2 parsedFunc1, Func2 parsedFunc2, Func2 parsedFunc3, Func2 parsedFunc4, Func`2 notParsedFunc)
at Improbable.Gdk.DeploymentLauncher.Program.Main(String[] args) in C:\Users\simon\Documents\gdk-for-unity-fps-starter-project-0.4.0\workers\unity\Library\PackageCache\[email protected]\Program.cs:line 17
UnityEngine.Debug:LogError(Object)
Improbable.Gdk.DeploymentLauncher.DeploymentLauncherWindow:Update() (at Library/PackageCache/[email protected]/DeploymentLauncherWindow.cs:118)
UnityEditor.EditorApplication:Internal_CallUpdateFunctions()

unity version 2020.1.2f1
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant