Comments (11)
Which version did you use before your update? Maybe you can take a look at the commits of the gitlab.js file, to see what has changed.
from node-build-monitor.
no sure to be fair. I pulled it about a little over a week ago.
Version I was running was from 7th of march or before. I actually suspect that the container update with the newer software versions was is more the issue then you code to be fair. Unless they have a hand in hand change.
from node-build-monitor.
Hm, the dependencies update might have to do something with your problem. But I looks more like that your gitlab server is returning some unexpected data. Not sure.
Do you think you can take a look on this issue and make a pull request with the fix? It's hard for me to reproduce.
from node-build-monitor.
I can sure. I can see about giving you access to the gitlab api output aswell.
Hmmm ok so , I reverted all the changes I could see on github and rebuild the container. At this point it dawned on me that I was using containers and not a straight compiled version. So I looked and the node container also got an update. And the error at hand is actually something that comes along with the node base image I believe.
SO I will also have a look using different container images as a base for testing :)
from node-build-monitor.
Thanks for taking a look at it.
I'll check how to tag each container with a version, when something changed. So, in future everyone can go back easily, if there are any issues.
from node-build-monitor.
@abyss1 Is your issue fixed with pr #42?
from node-build-monitor.
Jup works now, seems like the issue was related to the new base image in the end, but up and running again.
from node-build-monitor.
In future you can revert easily to the old version, cause the docker images are now versioned.
See: #40 (comment)
from node-build-monitor.
Hi. I am receiving exactly the same exception, the difference being that there was 1 build found. This is my first time trying out this build monitor with our GitLab instance.
Here's the censored output:
09:16:09 | GitLab | url: https://our-gitlab
09:16:09 | GitLab | slugs: [ 'our-group/our-project' ]
09:16:09 | GitLab | intervals: { disabled: 3600000, empty: 60000, default: 60000 }
09:16:09 | GitLab | debug: true
09:16:09 | Check for builds...
node-build-monitor 0.9.16 is listening on port 3000
09:16:09 | GitLab | Fetching new projects...
09:16:09 | GitLab | Fetching https://our-gitlab/api/v3/projects?page=1&per_page=100
09:16:09 | 1 builds found....
crypto.js:76
this._handle.update(data, encoding);
^
TypeError: Data must be a string or a buffer
at Hash.update (crypto.js:76:16)
at generateAndApplyETags (C:\Code\GitHub\node-build-monitor\app\monitor.js:14:18)
at C:\Code\GitHub\node-build-monitor\app\monitor.js:168:13
at C:\Code\GitHub\node-build-monitor\node_modules\async\dist\async.js:359:16
at iteratorCallback (C:\Code\GitHub\node-build-monitor\node_modules\async\dist\async.js:935:13)
at C:\Code\GitHub\node-build-monitor\node_modules\async\dist\async.js:843:16
at C:\Code\GitHub\node-build-monitor\app\monitor.js:162:17
at C:\Code\GitHub\node-build-monitor\app\services\GitLab.js:425:21
at _combinedTickCallback (internal/process/next_tick.js:73:7)
at process._tickCallback (internal/process/next_tick.js:104:9)
Any advice on how to start debugging this?
from node-build-monitor.
Hm, try to make a console.log(build)
in Line 11 of app/monitor.js
. Looks like there is a strange result returned from the GitLab service.
If build
is null or something like this then you have to take a deeper look at the app/services/GitLab.js
file and check why it returns wrong "builds".
from node-build-monitor.
Yes, build
is null there. I fiddled with the configuration, and actually noticed that this error occurs only when I have set latestBuildOnly
to true
. With false
everything works fine.
I tried to debug a little further. In GitLab.js
I never got a response from requestAllPages
. The callback from the request never got invoked. I don't know how to continue from there... Any ideas?
from node-build-monitor.
Related Issues (20)
- Create a release HOT 2
- Proposal: allow generic REST service? HOT 2
- Influence tile layout by numberOfBuilds config setting
- TfsRelease api gives 404-not found
- hasErrors is hard-coded to false for at least GitLab and Jenkins
- Docker container with Release 0.9.57 is missing on docker hub. HOT 2
- Teamcity job In progress appears as finished HOT 1
- Monitors with failed configurations could log credentials HOT 2
- Cut a new release HOT 2
- Potential bug - droneCI filtering by branch and event
- Connecting With Travis-ci facing error no -4078 HOT 1
- Config file Gitlab what do I need?
- Edit build-monitor HOT 3
- Job status HOT 3
- Unit test Drone Service HOT 3
- get pipelines from multiple pages on gitlab? HOT 1
- An error occured when fetching builds... "true" - error definition ? HOT 3
- How backgroundcolor depends on state of gitlab-pipeline HOT 9
- Move color-definition of build-state to global scope HOT 1
- Certificate issue with docker image
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-build-monitor.