.net core deploy "An internal error occurred while creating a Google Cloud Storage bucket"

89 views
Skip to first unread message

Nicolas Bontempo

unread,
Jun 7, 2020, 12:53:55 PM6/7/20
to Google App Engine
I'm trying to create my first deploy on app engine, but when I run on google cloud cli:
"gcloud app deploy app.yml"
He ran the build but on the final is giving an error:

"
Updating service [default] (this may take several minutes)...failed.
ERROR: (gcloud.app.deploy) Error Response: [13] An internal error occurred while creating a Google Cloud Storage bucket.
"

I defined a custom runtime with my app.yml:
"
runtime: custom
env: flex
"

"
WORKDIR /app

WORKDIR /src
COPY ["-/-.csproj", "-/"]
COPY ["-.Core/-.Core.csproj", "-.Core/"]
RUN dotnet restore "-/-.csproj"
COPY . .
WORKDIR "/src/-"
RUN dotnet build "-.csproj" -c Release -o /app/build

FROM build AS publish
RUN dotnet publish "-.csproj" -c Release -o /app/publish

FROM base AS final
WORKDIR /app
COPY --from=publish /app/publish .
EXPOSE 8080
ENV ASPNETCORE_URLS=http://*:8080
ENTRYPOINT ["dotnet", "-.dll"]

"

Someone had the same issue ?

George (Cloud Platform Support)

unread,
Jun 8, 2020, 10:35:37 AM6/8/20
to Google App Engine
Hi Nicolas, 

This version of .NET Runtime is not supported. You may check "The .NET Runtime" documentation for related detail. If you think this is an issue on side of App Engine, it is more effective to log the issue in the Public Issue Tracker

This discussion group is oriented more towards general opinions, trends, and issues of general nature touching App Engine. For coding and programming architecture, as well as statements such as "FROM mcr.microsoft.com/dotnet/core/aspnet:3.1-buster-slim AS base", you may be better served in dedicated forums such as stackoverflow, where experienced programmers are within reach and ready to help.
Reply all
Reply to author
Forward
0 new messages