-
Notifications
You must be signed in to change notification settings - Fork 211
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
[build fail] RPC failed transiently #756
Comments
Hi @Airscope, build_tools does not currently support Ubuntu 22.04, this is bug, issue #64173, try using the version below. My last compile check was just 7 hours ago without errors on Ubuntu 20.04. I also see in your errors problems with getting dependencies. I guess this is because some countries block access to the addresses where we get dependencies. In this case, for assembly you can use the cloud servers in contries with more open internet access or VPN, etc. |
Thanks for your quick response and guidance. I'll switch to Ubuntu 20.04 and explore options for handling dependency access issues. Appreciate your help! |
I use docker ubuntu:16.04 encountering this error too: |
I got the same error, CIPD environment problem, I changed . /cipd script and it no longer reports that the file is not found, but there are there are a bunch of others.I think the main purpose of the compilation script is to serve the target project, and not to compile the tool to keep changing it as a project as well. This adds uncertainty. And there should be as few external dependencies as possible. Otherwise compilation tool environment problems bring dependency hell and it's too painful. It's not worth it to compile for the sake of compilation, our main purpose is OnlyOffice project, this will hinder the enthusiasm of the open source community contributors, which is the reason why the current project contributors are much smaller than CollaboraOnline. |
@Airscope Hi, has this problem been solved? I also have this problem! |
Hello, ONLYOFFICE team, I am attempting to use this build_tools and I followed the guide to build the project on the Linux but I'm encountering a build error:
…
[fetch & build]: boost
[fetch & build]: cef
[fetch & build]: icu
[fetch & build]: openssl
[E2023-11-09T09:28:07.240775+08:00 1736 0 application.go:361] [P1781 09:07:33.609 client.go:312 W] RPC failed transiently (retry in 1s): rpc error: code = Internal desc = prpc: sending request: Post "https://chrome-infra-packages.appspot.com/prpc/cipd.Repository/ResolveVersion": dial tcp 108.160.165.139:443: connect: connection refused {"host":"chrome-infra-packages.appspot.com", "method":"ResolveVersion", "service":"cipd.Repository", "sleepTime":"1s"}
[P1781 09:07:55.639 client.go:312 W] RPC failed transiently (retry in 2s): rpc error: code = Internal desc = prpc: sending request: Post "https://chrome-infra-packages.appspot.com/prpc/cipd.Repository/ResolveVersion": dial tcp 108.160.165.139:443: connect: connection refused {"host":"chrome-infra-packages.appspot.com", "method":"ResolveVersion", "service":"cipd.Repository", "sleepTime":"2s"}
[P1781 09:08:18.697 client.go:312 W] RPC failed transiently (retry in 4s): rpc error: code = Internal desc = prpc: sending request: Post "https://chrome-infra-packages.appspot.com/prpc/cipd.Repository/ResolveVersion": dial tcp 108.160.165.139:443: connect: connection refused {"host":"chrome-infra-packages.appspot.com", "method":"ResolveVersion", "service":"cipd.Repository", "sleepTime":"4s"}
[P1781 09:08:43.765 client.go:312 W] RPC failed transiently (retry in 8s): rpc error: code = Internal desc = prpc: sending request: Post "https://chrome-infra-packages.appspot.com/prpc/cipd.Repository/ResolveVersion": dial tcp 108.160.165.139:443: connect: connection refused {"host":"chrome-infra-packages.appspot.com", "method":"ResolveVersion", "service":"cipd.Repository", "sleepTime":"8s"}
[P1781 09:09:12.809 client.go:312 W] RPC failed transiently (retry in 16s): rpc error: code = Internal desc = prpc: sending request: Post "https://chrome-infra-packages.appspot.com/prpc/cipd.Repository/ResolveVersion": dial tcp 108.160.165.139:443: connect: connection refused {"host":"chrome-infra-packages.appspot.com", "method":"ResolveVersion", "service":"cipd.Repository", "sleepTime":"16s"}
[P1781 09:09:49.882 client.go:312 W] RPC failed transiently (retry in 32s): rpc error: code = Internal desc = prpc: sending request: Post "https://chrome-infra-packages.appspot.com/prpc/cipd.Repository/ResolveVersion": dial tcp 108.160.165.139:443: connect: connection refused {"host":"chrome-infra-packages.appspot.com", "method":"ResolveVersion", "service":"cipd.Repository", "sleepTime":"32s"}
[P1781 09:10:42.928 client.go:312 W] RPC failed transiently (retry in 1m4s): rpc error: code = Internal desc = prpc: sending request: Post "https://chrome-infra-packages.appspot.com/prpc/cipd.Repository/ResolveVersion": dial tcp 108.160.165.139:443: connect: connection refused {"host":"chrome-infra-packages.appspot.com", "method":"ResolveVersion", "service":"cipd.Repository", "sleepTime":"1m4s"}
[P1781 09:12:07.978 client.go:312 W] RPC failed transiently (retry in 2m8s): rpc error: code = Internal desc = prpc: sending request: Post "https://chrome-infra-packages.appspot.com/prpc/cipd.Repository/ResolveVersion": dial tcp 108.160.165.139:443: connect: connection refused {"host":"chrome-infra-packages.appspot.com", "method":"ResolveVersion", "service":"cipd.Repository", "sleepTime":"2m8s"}
[P1781 09:14:37.021 client.go:312 W] RPC failed transiently (retry in 4m16s): rpc error: code = Internal desc = prpc: sending request: Post "https://chrome-infra-packages.appspot.com/prpc/cipd.Repository/ResolveVersion": dial tcp 108.160.165.139:443: connect: connection refused {"host":"chrome-infra-packages.appspot.com", "method":"ResolveVersion", "service":"cipd.Repository", "sleepTime":"4m16s"}
[P1781 09:19:14.078 client.go:312 W] RPC failed transiently (retry in 8m32s): rpc error: code = Internal desc = prpc: sending request: Post "https://chrome-infra-packages.appspot.com/prpc/cipd.Repository/ResolveVersion": dial tcp 108.160.165.139:443: connect: connection refused {"host":"chrome-infra-packages.appspot.com", "method":"ResolveVersion", "service":"cipd.Repository", "sleepTime":"8m32s"}
[P1781 09:28:07.236 client.go:357 W] RPC failed permanently: rpc error: code = Internal desc = prpc: sending request: Post "https://chrome-infra-packages.appspot.com/prpc/cipd.Repository/ResolveVersion": dial tcp 69.171.247.32:443: connect: connection refused {"host":"chrome-infra-packages.appspot.com", "method":"ResolveVersion", "service":"cipd.Repository"}Errors:
failed to resolve infra/3pp/tools/virtualenv@version:[email protected] (line 1): prpc: sending request: Post "https://chrome-infra-packages.appspot.com/prpc/cipd.Repository/ResolveVersion": dial tcp 69.171.247.32:443: connect: connection refused
[E2023-11-09T09:28:07.243476+08:00 1736 0 application.go:144] fatal error: failed to build venv: failed to build package : cipkg.Derivation{Name:"virtualenv", Platform:"", Builder:"builtin:cipdExport", Args:[]string{"infra/3pp/tools/virtualenv version:[email protected]\n"}, Env:[]string(nil), Inputs:[]string(nil)}: failed to build derivation: failed to export packages: exit status 1
4.2
Traceback (most recent call last):
File "/home/czy/code/oo-build/build_tools/scripts/base.py", line 193, in copy_dir
shutil.copytree(get_path(src), get_path(dst))
File "/usr/lib/python3.10/shutil.py", line 557, in copytree
with os.scandir(src) as itr:
FileNotFoundError: [Errno 2] No such file or directory: './v8/third_party'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):

File "/home/czy/code/oo-build/build_tools/./make.py", line 70, in
make_common.make()
File "/home/czy/code/oo-build/build_tools/scripts/core_common/make_common.py", line 45, in make
v8.make()
File "/home/czy/code/oo-build/build_tools/scripts/core_common/modules/v8.py", line 78, in make
v8_89.make()
File "/home/czy/code/oo-build/build_tools/scripts/core_common/modules/v8_89.py", line 108, in make
base.copy_dir("./v8/third_party", "./v8/third_party_new")
File "/home/czy/code/oo-build/build_tools/scripts/base.py", line 197, in copy_dir
print('Directory not copied. Error: %s' % e)
NameError: name 'e' is not defined. Did you mean: 're'?
Error (./make.py): 1
I have tried to set http_proxy & https_proxy, but it did not work. Here is my environment information:
Looking forward to your response. :)
The text was updated successfully, but these errors were encountered: