Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
Development and Code Review
(Moderator:
fabian
) »
setting up development environment: git clone stops
« previous
next »
Print
Pages: [
1
]
Author
Topic: setting up development environment: git clone stops (Read 1038 times)
planetf1
Newbie
Posts: 41
Karma: 1
setting up development environment: git clone stops
«
on:
May 31, 2024, 09:21:35 am »
I've been trying to setup a development environment as per
https://docs.opnsense.org/development/workflow.html
As a base I used a clean vm from the latest opnsense image. I've also tried on a clear OpenBSD 14 OS.
I hit the same issue as reported in
https://forum.opnsense.org/index.php?topic=5009.msg19937#msg19937
where the git clone hits an error on the src repo
>>> Cloning /usr/src:
Cloning into '/usr/src'...
remote: Enumerating objects: 3352210, done.
remote: Counting objects: 100% (395998/395998), done.
remote: Compressing objects: 100% (112732/112732), done.
error: RPC failed; curl 56 Recv failure: Connection reset by peer
error: 7666 bytes of body are still expected
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: fetch-pack: invalid index-pack output
*** Error code 128
I use git a lot, but mostly on macos & linux. network is solid, low latenxy ~ 500/70. I was able to clone the src repo fine on both of these
Oddly, whilst the x86 (via proxmox) VMs failed, a FreeBSD 14 on macoS (arm) succeeded in doing the git clone.
Updating the opnsense dev environment (base+packages) made no difference
I've tried a variety of suggestions to change compression behavior, buffer sizes etc, but these have not been effective so far.
Whilst not opnsense specific, it does look some kind of freebsd issue, perhaps config... Any ideas?
«
Last Edit: May 31, 2024, 09:23:16 am by planetf1
»
Logged
franco
Administrator
Hero Member
Posts: 17656
Karma: 1610
Re: setting up development environment: git clone stops
«
Reply #1 on:
May 31, 2024, 09:34:16 am »
> error: RPC failed; curl 56 Recv failure: Connection reset by peer
There is an issue with the connection. The client thinks the server closed the connection, but I doubt it. So something in between reset the connection for whatever reason. Like a firewall timeout or some sort of "security" scanner.
Cheers,
Franco
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
Development and Code Review
(Moderator:
fabian
) »
setting up development environment: git clone stops