Giter Club home page Giter Club logo

Comments (4)

schiz0phr3ne avatar schiz0phr3ne commented on August 17, 2024

Hi,

I ran into the same issue, except that I'm on docker compose and not swarm.

oxidized             | I, [2024-06-22T16:43:41.181078 #47]  INFO -- : Configuration updated for mikrotik/45.92.203.91
oxidized             | I, [2024-06-22T16:43:41.181289 #47]  INFO -- : GithubRepo: Pushing local repository(/home/oxidized/.config/oxidized/configs.git/)...
oxidized             | I, [2024-06-22T16:43:41.181304 #47]  INFO -- : GithubRepo: to remote: http://gogs:3000/oxidized/configs.git
oxidized             | E, [2024-06-22T16:43:41.229953 #47] ERROR -- : Hook push_to_remote (#<GithubRepo:0x00005b5c564fb218>) failed (#<Rugged::HTTPError: unexpected authentication failure>) for event :post_store

Did you solve this issue ?

from oxidized.

Arrace avatar Arrace commented on August 17, 2024

Not yet, I haven't had a chance to mess with it since I posted above. My next step was to run a packet capture to check that oxidized is using the correct credentials

from oxidized.

schiz0phr3ne avatar schiz0phr3ne commented on August 17, 2024

I did a packet capture, and I can see some packets relative to the git repo configured in oxidized conf :

GET /oxidized/configs.git/info/refs?service=git-upload-pack HTTP/1.1
[...]
GET /oxidized/configs.git/info/refs?service=git-receive-pack HTTP/1.1

I can also see some packets noted as Git Smart Protocol, which show the progress of an data transfer.

I'm not confortable with that, to diagnose (if capture can help more than that, what I doubt).

from oxidized.

Arrace avatar Arrace commented on August 17, 2024

I was able to look at this again, I'm not seeing the same errors. I don't think I've changed any configuration since the last time, it might have redeployed without me knowing though.

I, [2024-06-26T19:20:00.540371 #34] INFO -- : GithubRepo: Pushing local repository(/home/oxidized/.config/oxidized/NetworkBackups.git/)... I, [2024-06-26T19:20:00.540636 #34] INFO -- : GithubRepo: to remote: http://10.100.10.205:10880/oxidized/NetworkBackups.git D, [2024-06-26T19:20:02.220202 #34] DEBUG -- : GithubRepo: {:total_objects=>0, :indexed_objects=>0, :received_objects=>0, :local_objects=>0, :total_deltas=>0, :indexed_deltas=>0, :received_bytes=>0} D, [2024-06-26T19:20:02.221862 #34] DEBUG -- : GithubRepo: nothing received after fetch

I added a new device to pull the config from and I'm not seeing it, but at least it appears like it's able to access the page over http now

I should be able to look into it deeper this week

from oxidized.

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.