Run a Script against Ledger - http2 exception

Hi Guys
I am trying to Run a Script against a Ledger initialsed on damlHub, this script will run some pending processes( exercise choices on contracts) every time I execute it every now and then, however following the explanation os docs.daml I was not able to run it sucessfullyn as I am not dealing with localhost ledger, this is the CMD I run :

daml script --dar .dev/target/nameledger-0.0.1.dar --script-name Scripts.Bootstrap.Demo:demoUpdateEvent --ledger-host dit-exchange-name.daml.app --ledger-port 443

This is the error I get

`Exception in thread "main" io.grpc.StatusRuntimeException: INTERNAL: http2 exception`
`	at io.grpc.Status.asRuntimeException(Status.java:534)`
`	at io.grpc.stub.ClientCalls$UnaryStreamToFuture.onClose(ClientCalls.java:533)`
`	at io.grpc.internal.DelayedClientCall$DelayedListener$3.run(DelayedClientCall.java:464)`
`	at io.grpc.internal.DelayedClientCall$DelayedListener.delayOrExecute(DelayedClientCall.java:428)`
`	at io.grpc.internal.DelayedClientCall$DelayedListener.onClose(DelayedClientCall.java:461)`
`	at io.grpc.internal.ClientCallImpl.closeObserver(ClientCallImpl.java:553)`
`	at io.grpc.internal.ClientCallImpl.access$300(ClientCallImpl.java:68)`
`	at io.grpc.internal.ClientCallImpl$ClientStreamListenerImpl$1StreamClosed.runInternal(ClientCallImpl.java:739)`
`	at io.grpc.internal.ClientCallImpl$ClientStreamListenerImpl$1StreamClosed.runInContext(ClientCallImpl.java:718)`
`	at io.grpc.internal.ContextRunnable.run(ContextRunnable.java:37)`
`	at io.grpc.internal.SerializingExecutor.run(SerializingExecutor.java:123)`
`	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)`
`	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)`
`	at java.base/java.lang.Thread.run(Thread.java:833)`
`Caused by: io.netty.handler.codec.http2.Http2Exception: First received frame was not SETTINGS. Hex dump for first 5 bytes: 1503010002`
`	at io.netty.handler.codec.http2.Http2Exception.connectionError(Http2Exception.java:108)`
`	at io.netty.handler.codec.http2.Http2ConnectionHandler$PrefaceDecoder.verifyFirstFrameIsSettings(Http2ConnectionHandler.java:338)`
`	at io.netty.handler.codec.http2.Http2ConnectionHandler$PrefaceDecoder.decode(Http2ConnectionHandler.java:239)`
`	at io.netty.handler.codec.http2.Http2ConnectionHandler.decode(Http2ConnectionHandler.java:438)`
`	at io.netty.handler.codec.ByteToMessageDecoder.decodeRemovalReentryProtection(ByteToMessageDecoder.java:508)`
`	at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:447)`
`	at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:276)`
`	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)`
`	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)`
`	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357)`
`	at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410)`
`	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)`
`	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)`
`	at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919)`
`	at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:166)`
`	at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:719)`
`	at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:655)`
`	at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:581)`
`	at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:493)`
`	at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989)`
`	at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)`
`	at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)`
`	... 1 more`

Hello Francisco,

Looking into this now. So far I can tell you that this 503 response is not sent by the LB/Proxy and is being sent from the ledger backend. Will continue to investigate.

Looking at your command we don’t see a token being sent with the request. While the log message doesn’t exactly say you are unauthenticated. I don’t see a token in you command.

If you have a moment please open a ticket with our support team so we can track the issue.
http://support.digitalasset.com/