-
Notifications
You must be signed in to change notification settings - Fork 72
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
panic: runtime error: index out of range #148
Comments
@gmartsenkov are you having the same issue? I'm unsure if this could have been caused by some kind of recent OS upgrade. It was working fine prior to running |
The code is reading |
@mperham Hi Mike, here you go:
|
Yep, there's the blank line. |
Oh I see you made a fix, awesome! My ansible role is using apt to install. Are you going to cut a release as well? Thanks so much! |
I'm working on #146 and will release 2.0 with the Pro functionality sometime soon. |
Great, and in the meantime, is there a way to patch the issue on my side? |
@mperham So I compiled by hand and now I'm getting this:
|
So I'm no Go expert (never used it before), but I took your fix: if len(line) == 0 {
continue
} and I copied it where I found |
Good call, updated. |
I was getting a similar error, but for nginx - basically, if the status endpoint does not exist inspeqtor fails to start with a vague error, had to dig in through the code to figure it out |
Any idea why /status wouldn’t exist?
… On Jun 1, 2018, at 04:18, Georgi Martsenkov ***@***.***> wrote:
I was getting a similar error, but for nginx - basically, if the status endpoint does not exist inspeqtor fails to start with a vague error, had to dig in through the code to figure it out
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
@mperham AFAIK http://nginx.org/en/docs/http/ngx_http_stub_status_module.html Maybe @gmartsenkov thought that nginx exposed this endpoint by default. |
Oh, I was thinking of |
I was also running into this with inspeqtor-1.0.1-1 on Ubuntu Xenial and Linux 4.4.0-128-generic. Compiling Inspeqtor from master and replacing the binary on the server fixed the problem. |
+1 have same issue |
|
How to fix it? |
|
Or wait for a new release… |
Master is now 2.0.0-rc. If someone wants to rebuild, smoke test it on their server and give me a thumbs up, I'll release 2.0.0. |
I've installed the latest build from master on a server, I'll see how it goes. |
I'm getting the following error on Ubuntu 16.04 using upstart. Everything was working correctly until recently after (I think) an apt upgrade. Any hints? When I comment my .inq file below I can start it successfully.
The text was updated successfully, but these errors were encountered: