jeevatkm on wrapping-v0.13.0
jeevatkm on edge
added go1.3 and removed go1.11 #244 added envprofile flag on … Merge pull request #263 from go… and 5 more (compare)
Hey guys! I'm trying to setup an aah
project but I'm getting this error when trying to aah run
FATAL
go build golang_org/x/crypto/cryptobyte/asn1: open /usr/local/go/pkg/linux_amd64/vendor/golang_org/x/crypto/cryptobyte/asn1.a: permission denied
go build golang_org/x/net/dns/dnsmessage: open /usr/local/go/pkg/linux_amd64/vendor/golang_org/x/net/dns/dnsmessage.a: permission denied
go build golang_org/x/crypto/curve25519: open /usr/local/go/pkg/linux_amd64/vendor/golang_org/x/crypto/curve25519.a: permission denied
go build golang_org/x/text/transform: open /usr/local/go/pkg/linux_amd64/vendor/golang_org/x/text/transform.a: permission denied
go build golang_org/x/crypto/internal/chacha20: open /usr/local/go/pkg/linux_amd64/vendor/golang_org/x/crypto/internal/chacha20.a: permission denied
go build golang_org/x/crypto/poly1305: open /usr/local/go/pkg/linux_amd64/vendor/golang_org/x/crypto/poly1305.a: permission denied
go build golang_org/x/net/http2/hpack: open /usr/local/go/pkg/linux_amd64/vendor/golang_org/x/net/http2/hpack.a: permission denied
go build golang_org/x/text/unicode/bidi: open /usr/local/go/pkg/linux_amd64/vendor/golang_org/x/text/unicode/bidi.a: permission denied
exit status 1
Has anyone encountered this?
$GOROOT/pkg
.
i
flag tells to cmd go build
to install the build packages. So it needs write permission.
@L11R Thanks for sharing your concerns. THUMBAI Proxy does not manipulate the request/response body content. I best guess is; targeted application might be producing a HTML content like that.
Your scenario is typical usage, I have many such hosts configured. This is live instance of THUMBAI https://aahframework.org/thumbai/login . Please use credentials as readonly/readonly
have a look on proxy configurations.
I'm looking forward to improve THUMBAI, fix any issues. To track this issue, could you please also create an issue here https://github.com/thumbai/thumbai/issues and Kindly check your application end.
Could you use slack channel for thumbai https://gophers.slack.com/messages/CEQJ9EJPR/ :smile:
mydomain.com/thumbai/login
page I cannot even login because when I press "Login" button itself, site redirects me at mydomain.com:8080/thumbai/login
page. Where I am getting 404 of course.
https://$host:$port/
. Ideally proxy setup are done at entry point, e.g.: port 80 Could you try it on let me know? I hope I got your explanation this time.
location / {
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_pass http://localhost:8080/;
}
sub_filter
nginx module.
thumbai.conf
for scenario "THUMBAI behind another proxy tool". I will think about it. If you have a suggestion, propose it while creating an issue on given URL.
@L11R aah framework has NO limitation as such, you could bend it as you want; aah follows industry practices very well. So you will not have any issues.
It just when I developed THUMBAI, I have developed with certain goals in mind. For example: Thumbai core feature is Go Mod repository, Go vanity server. I didn't put much effort on Proxy feature. That's why it has limitation. I have addressed it by user inputs and suggestions.
sub_filter
does not work because of enabled gzip I guess.
In thumbai this file could be your interest I think https://github.com/thumbai/thumbai/blob/master/app/thumbai.go and refer to these two doc page https://docs.aahframework.org/routes-config.html and https://docs.aahframework.org/deployment.html
Running THUMBAI locally have a look configs here at https://github.com/thumbai/thumbai/tree/master/dev-files
Ping me when have any questions.
type MyController struct {
*aah.Context
}
func (a *MyController) MyMethod(point []float64) {
a.Reply().Ok().JSON(point)
}
@/all Hello aah users -
Thank you for using aah framework.
I want to keep you informed about the upcoming aah directions and goals. Also, I would like to convey my apologies for the unexpected in-activeness that happened in aah development due to my day work priorities and commitments.
I want to bring the following improvements and changes in aah framework direction.
I'm going to make v0.13.0
release as soon as possible with currently completed enhancements, catch up few issues and bug fixes.
I am aiming to release v0.14.0
anytime before the end of the year.
I'm looking forward to your support and co-operation.
~ Jeeva