menu

App Dev: Storing Image and Video Files in Cloud Storage - Python

Go to Lab

2841 Reviews

hareesh C. · Reviewed about 1 hour ago

Siddharth J. · Reviewed about 2 hours ago

Rakesh K. · Reviewed about 2 hours ago

Ajith G. · Reviewed about 3 hours ago

Robert W. · Reviewed about 8 hours ago

Ramesh R. · Reviewed about 10 hours ago

Laercio Henrique S. · Reviewed about 13 hours ago

Joe P. · Reviewed about 14 hours ago

Abhishek m. · Reviewed about 17 hours ago

Fernando D. · Reviewed about 18 hours ago

faisal c. · Reviewed about 19 hours ago

Naveen K. · Reviewed about 20 hours ago

Steve T. · Reviewed about 21 hours ago

Gabriel d. · Reviewed about 21 hours ago

Vadym O. · Reviewed about 21 hours ago

Ramagopala Krishna Murthy Raju M. · Reviewed 1 day ago

Bongkeun S. · Reviewed 1 day ago

Kanishka N. · Reviewed 1 day ago

Tanvi B. · Reviewed 1 day ago

Bongkeun S. · Reviewed 1 day ago

Anuvab M. · Reviewed 1 day ago

Vineet L. · Reviewed 1 day ago

Thomas G. · Reviewed 1 day ago

Nagaraja S. · Reviewed 1 day ago

The lab doesn't work out of the box. When starting the webserver on port 8080, I get a 400 error. Here is the stack trace 400. That’s an error. The requested URL was not found on this server. That’s all we know. Additional details (only visible to internal users!): com.google.apps.framework.request.HttpStatusException: <eye3 title='SshRelayException(DEVSHELL_NO_CURRENTLY_ATTACHED_VM)'/> DEVSHELL_NO_CURRENTLY_ATTACHED_VM (canonical=FAILED_PRECONDITION, message=No currently attached VM for the user) at com.google.cloud.services.sshrelay.common.SshRelayException.toHttpStatusException(SshRelayException.java:62) at com.google.common.util.concurrent.Futures$1.apply(Futures.java:154) at com.google.common.util.concurrent.Futures$1.apply(Futures.java:151) at com.google.common.util.concurrent.AbstractCatchingFuture$AsyncCatchingFuture.doFallback(AbstractCatchingFuture.java:192) at com.google.common.util.concurrent.AbstractCatchingFuture$AsyncCatchingFuture.doFallback(AbstractCatchingFuture.java:179) at com.google.common.util.concurrent.AbstractCatchingFuture.run(AbstractCatchingFuture.java:124) at com.google.common.util.concurrent.DirectExecutor.execute(DirectExecutor.java:30) at com.google.common.util.concurrent.AbstractFuture.executeListener(AbstractFuture.java:1169) at com.google.common.util.concurrent.AbstractFuture.complete(AbstractFuture.java:963) at com.google.common.util.concurrent.AbstractFuture.setException(AbstractFuture.java:754) at com.google.common.util.concurrent.AbstractTransformFuture.run(AbstractTransformFuture.java:100) at com.google.common.util.concurrent.DirectExecutor.execute(DirectExecutor.java:30) at com.google.common.util.concurrent.AbstractFuture.executeListener(AbstractFuture.java:1169) at com.google.common.util.concurrent.AbstractFuture.complete(AbstractFuture.java:963) at com.google.common.util.concurrent.AbstractFuture.setException(AbstractFuture.java:754) at com.google.apps.framework.producers.NodeScheduler$NodeFuture.runNode(NodeScheduler.java:566) at com.google.apps.framework.producers.NodeScheduler$NodeFuture.run(NodeScheduler.java:518) at com.google.common.context.ContextRunnable.runInContext(ContextRunnable.java:89) at com.google.common.context.ContextRunnable$1.run(ContextRunnable.java:78) at io.grpc.Context.run(Context.java:575) at com.google.tracing.CurrentContext.runInContext(CurrentContext.java:185) at com.google.tracing.GenericContextCallback.runInInheritedContextNoUnref(GenericContextCallback.java:67) at com.google.tracing.GenericContextCallback.runInInheritedContext(GenericContextCallback.java:59) at com.google.common.context.ContextRunnable.run(ContextRunnable.java:74) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at com.google.apps.framework.server.AbstractThreadPoolModule$InitializingThreadFactory.lambda$newThread$0(AbstractThreadPoolModule.java:580) at java.lang.Thread.run(Thread.java:748) Suppressed: java.util.concurrent.ExecutionException: Caused by: com.google.cloud.services.sshrelay.common.SshRelayException: <eye3 title='SshRelayException(DEVSHELL_NO_CURRENTLY_ATTACHED_VM)'/> DEVSHELL_NO_CURRENTLY_ATTACHED_VM (canonical=FAILED_PRECONDITION, message=No currently attached VM for the user) at com.google.cloud.services.sshrelay.common.SshRelayException.create(SshRelayException.java:40) at com.google.cloud.services.sshrelay.common.SshRelayException.create(SshRelayException.java:44) at com.google.cloud.services.sshrelay.common.SshRelayException.devshellNoCurrentlyAttachedVm(SshRelayException.java:242) at java.util.Optional.orElseThrow(Optional.java:290) at com.google.cloud.services.sshrelay.apiserver.actions.proxyredirect.DevshellProxyUrlProducerModule.produceMaybeDevshellProxyDatastorePush(DevshellProxyUrlProducerModule.java:231) Suppressed: com.google.common.util.concurrent.UncheckedExecutionException: at com.google.apps.framework.producers.Present.checkSucceeded(Present.java:56) at com.google.cloud.services.sshrelay.apiserver.actions.proxyredirect.DevshellProxyUrlProducerModule.produceDevshellProxyUrl(DevshellProxyUrlProducerModule.java:138) auth.http.creds_encrypted: true auth.http.method: gaia_cookie auth.http.num_sessions: 4 auth.http.session_index: 0 auth.http_scopes.granted: 5204,35600 auth.http_scopes.requested: 5204,35600 auth.security_context.is_anonymous: false auth.security_context.originator: gaiauser/0x4a5eb774af auth.security_context.user: gaiauser/0x4a5eb774af auth.status: OK debug.role: CODE: INTERNAL; EXPERIMENT<enable_code_debug> exp.ChromeExtensionUrl: true exp.ContainerOs: true exp.DevshellUseCanaryAppId: true exp.EnableCloudShellFrontend: true exp.EnableCustomEnvironment: true exp.EnableEmbeddedCloudShellRoute: true exp.EnforceCloudShellD3Policy: true exp.PullCachedCustomImage: true exp.ServeStaticContentFromGateway: true exp.ShowCustomImageDeprecation: true exp.UseApiInWebClient: true exp.UseFirstPartyAuth: true exp.UseWebsocketClient: true expid.18800188: true expid.18800208: true expid.18800266: true expid.18800310: true expid.18800320: true expid.18800326: true expid.18800332: true expid.18800344: true expid.18800350: true expid.18800358: true expid.18800366: true expid.18800368: true expid.18800392: true parameters.environment_id: default parameters.port: 8080 request.action_group: request.host: ssh.cloud.google.com request.language: en request.method: GET request.referer: https://ssh.cloud.google.com/cloudshell/editor?hl=en_US&authuser=3 request.secure: true request.user_agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36,gzip(gfe),gzip(gfe) response.canonical_code: INVALID_ARGUMENT response.origin: DevshellProxyRedirect response.rounded_status: 400 response.rpc_status: generic::INVALID_ARGUMENT response.status: 400 rpc_client.borg_cell: vl rpc_client.jobname: sshrelay.server rpc_client.primary_role: cloud-sshrelay rpc_client.username: untrusted-http-proxy

Hany M. · Reviewed 1 day ago