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

Stuck on "Getting Ready..." with State-API #14

Open
dbzx6r opened this issue Jan 16, 2022 · 1 comment
Open

Stuck on "Getting Ready..." with State-API #14

dbzx6r opened this issue Jan 16, 2022 · 1 comment

Comments

@dbzx6r
Copy link

dbzx6r commented Jan 16, 2022

I've been at this for a week, I've followed the instructions to a T. When attempting to access state-api page, it only displays "Getting Ready..." and does not progress past that.

Perform a git clone from here. The state-api.py file goes in the plugins/defaults directory, or wherever you want to put your custom plugins The files in goes_in_ui_web has to go in /usr/local/lib/python3.7/dist-packages/pwnagotchi/ui/web

I have put state-api.py into /usr/local/src/pwnagotchi/plugins/default. I have moved "static" and "templates" to /usr/local/lib/python3.7/dist-packages/pwnagotchi/ui/web. I have also individually tried to move all the files individually to those directories but no avail.

The files in goes_in_ui_web.

I'm unsure which is the correct approach as inside goes_in_ui_web contains directories, but instruction says to move the files.

http://172.20.10.6:8080/plugins/state-api returns "Getting Ready..."

http://172.20.10.6:8080/plugins/state-api/json returns an error.

Am I doing something wrong, or is the code no good? I know this is an old project.

@silsha
Copy link
Owner

silsha commented Jan 16, 2022

I saw your issue in the state-api repository. Since this app is based on the API, it is of course essential that it continues to work.

Unfortunately, I have not been involved with the pwnagotchi project for some time now, so I can't comment on the current status.

If there is a new API plugin, I can try to adapt the iOS app accordingly. Unfortunately I don't have enough time to fix the state-api myself.

@silsha silsha pinned this issue Jan 23, 2022
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