Skip to content
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

access denied #1

Open
brandonhon opened this issue Aug 24, 2013 · 13 comments
Open

access denied #1

brandonhon opened this issue Aug 24, 2013 · 13 comments

Comments

@brandonhon
Copy link

cannot add pools or change any of the commands. keep getting access denied.

@bsharper
Copy link
Owner

Make sure you have API write access enabled when you start cgminer. You should have these arguments when you start it: --api-listen --api-network --api-allow W:192.168.1.*/24

Can you post how you're running cgminer? Just remove anything personally identifiable.

@brandonhon
Copy link
Author

cgminer --api-listen --api-network --api-allow 192.168.1.### -o http://bitcoins.com -u testing.worker1 -p password -I 0

@bsharper
Copy link
Owner

What happens if you hit http://SERVERURL/rpc_core.php?update ? It should show a big block of JSON.

@brandonhon
Copy link
Author

no json, all it shows is this:

{"worker1":"error"}

v\r

Brandon Honeycutt
Webmaster - theHoneycuttz.com

On Sun, Aug 25, 2013 at 10:47 PM, bsharper notifications@github.com wrote:

What happens if you hit http://SERVERURL/rpc_core.php?update ? It should
show a big block of JSON.


Reply to this email directly or view it on GitHubhttps://github.com//issues/1#issuecomment-23242513
.

@bsharper
Copy link
Owner

What does your server-config.json file look like?

@brandonhon
Copy link
Author

It's the default with the ip of my worker

GNU nano 2.2.6        File: server-config.json                       





{

        "worker_ips":

        {

                "worker1": "192.168.1.139"

        },

        "tableOptions": {

                "tableClass":"results",

                "workerHeaders": [["Status", "scanCol"], ["Worker", "w$

                "totalColumns": ["MHS av", "MHS 5s"],

                "linkColumns": ["Worker", "GPU Clock", "Memory Clock",$

        }

}

v/r
Brandon H. - Mobile

On Tue, Aug 27, 2013 at 9:47 PM, bsharper notifications@github.com
wrote:

What does your server-config.json file look like?

Reply to this email directly or view it on GitHub:
#1 (comment)

@bsharper
Copy link
Owner

What version of CGminer are you using?

@brandonhon
Copy link
Author

the latest version on github

v\r

Brandon Honeycutt
Webmaster - theHoneycuttz.com

On Tue, Aug 27, 2013 at 10:21 PM, bsharper notifications@github.com wrote:

What version of CGminer are you using?


Reply to this email directly or view it on GitHubhttps://github.com//issues/1#issuecomment-23387330
.

@bsharper
Copy link
Owner

Try running cgminer unrestricted by removing the --api-allow option

cgminer --api-listen --api-network ...

Let me know if it still doesn't show up.

@brandonhon
Copy link
Author

same thing. no matter what i try to change i get an access denied option.

v\r

Brandon Honeycutt
Webmaster - theHoneycuttz.com

On Fri, Aug 30, 2013 at 9:34 PM, bsharper notifications@github.com wrote:

Try running cgminer unrestricted by removing the --api-allow option

cgminer --api-listen --api-network ...

Let me know if it still doesn't show up.


Reply to this email directly or view it on GitHubhttps://github.com//issues/1#issuecomment-23599202
.

@brandonhon
Copy link
Author

figured it out. you need to add the appropriate group access to the ip
allowed. for instance:

--api-allow 192.168.0.1
--api-allow W:192.168.0.1 - here the 'W' allows all access.

v\r

Brandon Honeycutt
Webmaster - theHoneycuttz.com

On Mon, Sep 2, 2013 at 9:28 AM, H., Brandon bh@thehoneycuttz.com wrote:

same thing. no matter what i try to change i get an access denied option.

v\r

Brandon Honeycutt
Webmaster - theHoneycuttz.com

On Fri, Aug 30, 2013 at 9:34 PM, bsharper notifications@github.comwrote:

Try running cgminer unrestricted by removing the --api-allow option

cgminer --api-listen --api-network ...

Let me know if it still doesn't show up.


Reply to this email directly or view it on GitHubhttps://github.com//issues/1#issuecomment-23599202
.

@bsharper
Copy link
Owner

bsharper commented Sep 2, 2013

Great! I'll update the readme to make sure to mention that. I'm experimenting with an updated version that should be much faster that uses Node.js.

@brandonhon
Copy link
Author

Sweet. I'm about to setup a mining farm and I am looking for something to remote monitor. This works great

v/r
Brandon H. - Mobile

On Mon, Sep 2, 2013 at 2:58 PM, bsharper notifications@github.com wrote:

Great! I'll update the readme to make sure to mention that. I'm experimenting with an updated version that should be much faster that uses Node.js.

Reply to this email directly or view it on GitHub:
#1 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants