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

Install plugin error #42

Closed
wolf-leo opened this issue Nov 18, 2023 · 8 comments
Closed

Install plugin error #42

wolf-leo opened this issue Nov 18, 2023 · 8 comments
Assignees

Comments

@wolf-leo
Copy link

./answer build --with github.com/apache/incubator-answer-plugins/connector-github

QQ截图20231118214043

@LinkinStars
Copy link
Member

@wolf-leo Sorry, what binary version are you using? Because we have migrated the github.com/answerdev/anser repository. The address should be github.com/apache/incubator-answer now. So I wanted to make sure the version was correct.

@LinkinStars LinkinStars self-assigned this Nov 19, 2023
@wolf-leo
Copy link
Author

@wolf-leo Sorry, what binary version are you using? Because we have migrated the github.com/answerdev/anser repository. The address should be github.com/apache/incubator-answer now. So I wanted to make sure the version was correct.

1.2.0RC1

@LinkinStars
Copy link
Member

image
image

@wolf-leo I just downloaded the 1.2.0RC1 version and compiled it without the issue you mentioned. So, I think it may be caused by your local gomod cache, you can try to clear the cache and try again.

@wolf-leo
Copy link
Author

image image

@wolf-leo I just downloaded the 1.2.0RC1 version and compiled it without the issue you mentioned. So, I think it may be caused by your local gomod cache, you can try to clear the cache and try again.

QQ截图20231119164155
I am using this,I don't know if there is a problem with this binary file

BTW, I cleared the mod cache issue and it still hasn't been resolved

@wolf-leo
Copy link
Author

I thought it was because I had installed the previous version, so I also encountered this issue when trying to install it for the first time on a brand new system.

The two server system versions I tested are both:RockyLinux 8.8

@LinkinStars
Copy link
Member

@wolf-leo Sorry to get back to you so late. After my testing I finally found the cause of the problem, it was a proxy issue.

image
image

If I use the GOPROXY is https://proxy.golang.org,direct, I have the same issue as you say. Now, I haven't found a reason why I would have the problems using https://proxy.golang.org. I'm still checking for other possible causes, so please wait for me to get back to you tomorrow with a detailed solution.

Lastly, thank you very much for your feedback and action as well, there may be other users with this issue.

@LinkinStars
Copy link
Member

@wolf-leo I don't know yet why the GOPROXY would be a problem. You could start by compiling with a forced specified version.

ANSWER_MODULE=github.com/apache/incubator-answer@v1.2.0-RC1 ./answer build --with github.com/apache/incubator-answer-plugins/connector-github

@LinkinStars
Copy link
Member

This issue has been fixed in the latest version.

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

No branches or pull requests

2 participants