Code Monkey home page Code Monkey logo

Comments (19)

jeffreytse avatar jeffreytse commented on June 20, 2024 3

Hi @nietaki, @longavailable, @jtmullen

Thanks for your reporting. Now the issue should be fixed. Please update to the latest version jeffreytse/jekyll-deploy-action@master and try again. : )

Thanks & Regards

from jekyll-deploy-action.

malachi-constant avatar malachi-constant commented on June 20, 2024 2

I was able to resolve this for my use case by forking the action and adding git configuration to increase the http post buffer size. An optional argument for post buffer size would be a nice improvement.

from jekyll-deploy-action.

jeffreytse avatar jeffreytse commented on June 20, 2024 2

I was able to resolve this for my use case by forking the action and adding git configuration to increase the http post buffer size. An optional argument for post buffer size would be a nice improvement.

For the alternative solution, you can use pre_build_commands option as below:

pre_build_commands: git config --global http.version HTTP/1.1; git config --global http.postBuffer 524288000;

from jekyll-deploy-action.

davidalpert avatar davidalpert commented on June 20, 2024 2

it seems to me that this discussion is about two separate issues:

  1. the error: RPC failed; curl 55 Send failure: Connection reset by peer git error; and
  2. the step failure is silent

above I see a discussion about the git issue.

is it perhaps worth opening a second issue to discuss the fact that this action can fail silently such that the workflow can report success and you have to read the build log to see that it did not actually succeed?

from jekyll-deploy-action.

jeffreytse avatar jeffreytse commented on June 20, 2024 2

Hi @davidalpert @nietaki, @longavailable, @jtmullen

Now the latest version has supported to deploy site via the SSH protocol for better stability comparing with HTTP protocol, here I suggest you to switch to the SSH protocol as saying. : )

Thanks & Regards

from jekyll-deploy-action.

jeffreytse avatar jeffreytse commented on June 20, 2024 1

Hi @nietaki Could you provide the repo address? So that I can have a further check. : )

from jekyll-deploy-action.

jtmullen avatar jtmullen commented on June 20, 2024 1

I see that this may be an issue external to this action: https://github.com/orgs/community/discussions/55820

Of course it would still be better that the action fail in this scenario.

from jekyll-deploy-action.

jeffreytse avatar jeffreytse commented on June 20, 2024 1

Hi @pgpbpadilla, could you try to use action jeffreytse/jekyll-deploy-action@master again?

from jekyll-deploy-action.

jeffreytse avatar jeffreytse commented on June 20, 2024 1

@longavailable Could you try one more time? And before you try, you need to create a new secret named SSH_PRIVATE_KEY which content is a private key format in your repository Settings > Secrets and Variables > Actions as the following screenshot.

image

from jekyll-deploy-action.

nietaki avatar nietaki commented on June 20, 2024

The repo is https://github.com/nietaki/nietaki.github.io - I made it private recently, so I'll add you as a collaborator.

I was looking through the build history to find a run with this problem, but I think I re-ran the builds that had this problem and there doesn't seem to be any evidence left over, sorry about that. I'll keep an eye out for when it happens again.

from jekyll-deploy-action.

jtmullen avatar jtmullen commented on June 20, 2024

having the same issue, except got the same result when I re-ran the job. Latest run can be viewed here; https://github.com/jtmullen/fsgp-2023-results/actions/runs/5021239571/jobs/9003481203

I'll try to investigate some more tomorrow.

from jekyll-deploy-action.

longavailable avatar longavailable commented on June 20, 2024

Having the same issue. The jekell repo is longavailable/longavailable.github.io.

from jekyll-deploy-action.

pgpbpadilla avatar pgpbpadilla commented on June 20, 2024

I was able to resolve this for my use case by forking the action and adding git configuration to increase the http post buffer size. An optional argument for post buffer size would be a nice improvement.

For the alternative solution, you can use pre_build_commands option as below:

pre_build_commands: git config --global http.version HTTP/1.1; git config --global http.postBuffer 524288000;

I just tried the version using pre_build_commands 1 but still got

error: RPC failed; curl 55 Send failure: Connection reset by peer
send-pack: unexpected disconnect while reading sideband packet

I then reverted the change and it also failed with the same error2. I don't know what to think anymore 😢 l

It's also quite strange that the script fails but the action reports success 🤔

For reference:

Footnotes

  1. https://github.com/pgpbpadilla/pgpbpadilla.github.io/actions/runs/5048708346/jobs/9057225440#step:5:596

  2. https://github.com/pgpbpadilla/pgpbpadilla.github.io/actions/runs/5048832642/jobs/9057510337#step:5:594

from jekyll-deploy-action.

MDesplats avatar MDesplats commented on June 20, 2024

Hi @nietaki, @longavailable, @jtmullen

Thanks for your reporting. Now the issue should be fixed. Please update to the latest version jeffreytse/jekyll-deploy-action@master and try again. : )

Thanks & Regards

Switching to master fixed the issue for me! Thanks!

from jekyll-deploy-action.

zhizhang77 avatar zhizhang77 commented on June 20, 2024

I've tried jeffreytse/jekyll-deploy-action@master but the issue still exists.

For reference:
https://github.com/zhizhang77/zhizhang77.github.io/actions/runs/5047908336/jobs/9055409011

from jekyll-deploy-action.

pgpbpadilla avatar pgpbpadilla commented on June 20, 2024

Hi @pgpbpadilla, could you try to use action jeffreytse/jekyll-deploy-action@master again?

I did try to use your master branch, plus pre-build options and that failed. Please see the first link in my previous comment.

from jekyll-deploy-action.

jeffreytse avatar jeffreytse commented on June 20, 2024

Hi @pgpbpadilla, could u try with below command?

pre_build_commands: pacman -S --noconfirm git-lfs; git config --global http.version HTTP/1.1; git config --global http.postBuffer 524288000

from jekyll-deploy-action.

longavailable avatar longavailable commented on June 20, 2024

Hi @jeffreytse

I tested the SSH approach and met an error of ssh: command not found fatal: Could not read from remote repository.

https://github.com/longavailable/longavailable.github.io/actions/runs/5576548017/jobs/10187998571#step:5:931

Any suggestion?

Hi @davidalpert @nietaki, @longavailable, @jtmullen

Now the latest version has supported to deploy site via the SSH protocol for better stability comparing with HTTP protocol, here I suggest you to switch to the SSH protocol as saying. : )

Thanks & Regards

from jekyll-deploy-action.

longavailable avatar longavailable commented on June 20, 2024

Great job @jeffreytse . The latest commit works like a charm 👏

from jekyll-deploy-action.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.