This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | GIT Push: "remote does not support smart HTTP push" | ||
---|---|---|---|
Product: | versioncontrol | Reporter: | BreyndotEchse |
Component: | Git | Assignee: | Ondrej Vrabec <ovrabec> |
Status: | REOPENED --- | ||
Severity: | normal | CC: | git, mrelleum |
Priority: | P3 | ||
Version: | 8.0.2 | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: |
IDE log
Logfile with stack trace |
Description
BreyndotEchse
2012-08-17 13:36:46 UTC
Created attachment 123258 [details]
IDE log
> Well... I'm pretty sure it does.
> I checked my remote configuration several times
Really? Did you check configuration of the remote in .git/config or the configuration on the server?
The message means that your repository does not support smart http upload. In other words, it does not respond with the expected content-type (application/x-git-receive-pack-advertisement) and content for the following get request: REPOSITORY_URL/info/refs?service=git-receive-pack
If the server is public, let me know its URL. If it is a private one and you can configure it, make sure it sends the correct response.
Hello, I got the same issue. I tried to push with Netbeans 8.0.2 : got the error "remote does not support smart HTTP push". In the same repository, I used command line ("git push origin master"), it worked. I think that if it works with command line, that is not a server issue but a Netbeans issue. I work with a private server and access git through apache/WebDAV with a self-signed certificate. Here is my apache config : <VirtualHost *:443> ServerName git.exemple.com ErrorLog /var/log/apache2/git-error.log DocumentRoot /var/git SSLEngine On SSLCertificateFile /etc/apache2/ssl/exemple.com.crt SSLCertificateKeyFile /etc/apache2/ssl/exemple.com.key SetEnv GIT_PROJECT_ROOT /var/git SetEnv GIT_HTTP_EXPORT_ALL SetEnv REMOTE_USER=$REDIRECT_REMOTE_USER ScriptAliasMatch "(?x)^/git/(.*/(HEAD | info/refs | objects/(info/[^/]+ | [0-9a-f]{2}/[0-9a-f]{38} | pack/pack-[0-9a-f]{40}\.(pack|idx)) | git-(uploa d|receive)-pack))$" /usr/lib/git-core/git-http-backend/$1 <Directory "/usr/lib/git-core/"> AllowOverride None Options +ExecCGI -Includes Order allow,deny Allow from all </Directory> <Location /> DAV on AuthType Basic AuthName "Git Repository" AuthUserFile /etc/apache2/dav_svn.passwd Require valid-user </Location> </VirtualHost> Attach the IDE log with the error. http://wiki.netbeans.org/FaqLogMessagesFile Please try with 8.0.2 and attach the IDE log with the error from there. Thanks. Created attachment 162074 [details]
Logfile with stack trace
just to add some more information in case it helps.
Additional Note: Push to our company internal git server using http from Git for Windows worked without problems. |