Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot deploy app service app via maven from intellij #2083

Open
wesoos opened this issue Aug 8, 2022 · 5 comments
Open

Cannot deploy app service app via maven from intellij #2083

wesoos opened this issue Aug 8, 2022 · 5 comments

Comments

@wesoos
Copy link

wesoos commented Aug 8, 2022

Plugin name and version

azure-webapp-maven-plugin
1.12.0

Plugin configuration in your pom.xml

<schemaVersion>V2</schemaVersion>
<region>centralus</region>
                    <resourceGroup>...</resourceGroup>
                    <appName>...</appName>

                    <deploymentSlotSetting>
                      <name>stage</name>
                      <configurationSource>parent</configurationSource>
                    </deploymentSlotSetting>

                    <runtime>
                        <os>linux</os>
                        <javaVersion>jre8</javaVersion>
                        <webContainer>TOMCAT 8.5</webContainer>
                    </runtime>
                    <deployment>
                        <resources>
                            <resource>
                                <directory>${project.basedir}/target</directory>
                                <includes>
                                    <include>*.war</include>
                                </includes>
                            </resource>
                        </resources>
                    </deployment>

Expected behavior

Deploy app to Azure successfully

Actual behavior

This just started recently. But every time I try to deploy my app now, I get the below error.
okhttp3.internal.http2.StreamResetException: stream was reset: NO_ERROR

Steps to reproduce the problem

Install app via maven
Deploy via azure maven plugin

@Flanker32
Copy link
Member

@wesoos Thanks for your report, I'll investigate this issue soon

@Flanker32
Copy link
Member

@wesoos Really sorry for the late response for this issue, this seems to be an issue of ok http client while we have migrated to use netty in the new releases, could you please upgrade to the latest version (v2.6.1) and try again? Many thanks!

@wesoos
Copy link
Author

wesoos commented Oct 5, 2022

Hello, I'm getting the following error when upgrading to 2.7.0

Failed to execute goal com.microsoft.azure:azure-webapp-maven-plugin:2.7.0:deploy (default-cli) on project tekcontrol-portal-ui: Execution default-cli of goal com.microsoft.azure:azure-webapp-maven-plugin:2.7.0:deploy failed. NullPointerException

@wesoos
Copy link
Author

wesoos commented Oct 5, 2022

Adding the -e switch, I'm seeing this:

502 - Web server received an invalid response while acting as a gateway or proxy server.

@Flanker32
Copy link
Member

@wesoos Thanks for your report, could you please share the detail stack trace to help us better investigate this issue?

Adding the -e switch, I'm seeing this:

502 - Web server received an invalid response while acting as a gateway or proxy server.

Could this issue be stable reproduced after switch to another site or with other toolkit like azure toolkit for IntelliJ or azure cli?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants