Comments (2)
@julienroland it didn't ring any bells, but after some googling I suspect you're maybe hitting this issue: golang/go#16847
Go 1.8 should contain a fix for this, so if you have any chance to test/confirm this with Go 1.8 RC1 (it's on the bottom of the page) that would be realy awesome!
Additionally you should be able to work around this by setting Transport.TLSNextProto
to a non-nil, empty map (see here for more details), which effectively disables using HTTP/2
and falls back to using HTTP/1.1
.
from go-gitlab.
Thank you very much @svanharmelen !
I tried using go1.8rc1 but it still doesn't work.
Which is strange because, it works well when i disable http2 like u mentioned (the work around).
Here is the code if someone needs it:
```
http.DefaultClient.Transport = &http.Transportc{
TLSNextProto: make(map[string]func(authority string, c *tls.Conn) http.RoundTripper),
}
```
Thanks for you help !
from go-gitlab.
Related Issues (20)
- New release tag. HOT 1
- Support Project CI/CD job token scope API HOT 1
- Add support for the `mirror_branch_regex` option for project push mirrors
- client.Branches.ListBranches can only show 20 items HOT 2
- Stop environment endpoint has a force option, how to introduce it to go-gitlab? HOT 2
- Correct Json.Marshal for issue labels HOT 1
- Issue with getting raw files HOT 2
- Group Issue Board should retrieve scoped labels
- API Broken with the update from v0.94.0 to v0.95.0 HOT 2
- webhook events query and retry HOT 1
- Feature request: add support for repositories import
- Our service has a scenario where we need to use both V3 and V4 api, is there a recommended solution? HOT 2
- Feature request: merge request draft notes support HOT 7
- How to list the directory tree of a remote repository or branch ? HOT 2
- Commits.ListCommits() always returns Response.TotalItems = 0 HOT 6
- Feature Request: Allow setting custom roles to users on projects
- Uploading of user avatar missing in `CreateUserOptions` and `ModifyUserOptions`
- ✨ Group-level CI/CD variables API: add description HOT 3
- ✨ Instance-level CI/CD variables API: add description HOT 1
- Support additional arguments in GetFileBlame() call
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from go-gitlab.