maven-plugins: Error creating blob: cannot retry due to server authentication, in streaming mode

OK I give up.

[ERROR] Failed to execute goal com.github.github:site-maven-plugin:0.7:site (default) on project morphia-parent: Error creating blob: cannot retry due to server authentication, in streaming mode -> [Help 1]

From the pom:

<distributionManagement>
    <site>
        <id>github</id>
        <url>scm:git:ssh://git@github.com/jmkgreen/morphia.git</url>
    </site>
</distributionManagement>

<scm>
    <connection>scm:git:git@github.com:jmkgreen/morphia.git</connection>
    <developerConnection>scm:git:git@github.com:jmkgreen/morphia.git</developerConnection>
    <url>https://github.com/jmkgreen/morphia</url>
  <tag>HEAD</tag>
</scm>
            <plugin>
                <groupId>com.github.github</groupId>
                <artifactId>site-maven-plugin</artifactId>
                <version>0.7</version>
            </plugin>


                <plugin>
                    <groupId>com.github.github</groupId>
                    <artifactId>site-maven-plugin</artifactId>
                    <configuration>
                        <message>Creating site for ${project.version}</message>
                    </configuration>
                    <executions>
                        <execution>
                            <goals>
                                <goal>site</goal>
                            </goals>
                            <phase>site</phase>
                        </execution>
                    </executions>
                </plugin>

Any ideas? Having to remove it to make a release so not a good position to be in.

About this issue

  • Original URL
  • State: open
  • Created 11 years ago
  • Comments: 19 (2 by maintainers)

Commits related to this issue

Most upvoted comments

@tmjeee @phavelar It works for me, but I had to grant the token additional privileges.

  • token in settings.xml
  • privileges:
    • repo - Full control of private repositories
    • repo:status - Access commit status
    • repo_deployment - Access deployment status
    • public_repo - Access public repositories
  • notifications - Access notifications
  • user - Update all user data
    • user:email - Access user email addresses (read-only)
    • user:follow - Follow and unfollow users

(user:follow - probably not necessary, but user:email definitely is)

it is working when i use token as my account not password

I am still getting this error. I wonder if this is because my repo is in a corp server. Where do I specify the GitHub url?

I put in at as <url>https://github.corp.mycompany.com/myname/myrepo</url> in my POM, but I am still getting the “cannot retry due to server authentication” error.