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

SD Check status code #1648

Merged
merged 2 commits into from
Mar 17, 2023
Merged

Conversation

adodge
Copy link
Contributor

@adodge adodge commented Mar 12, 2023

webui returns a 404 JSON message when --api isn't passed. I think it used to return invalid JSON, but now it doesn't , so it doesn't fail correctly, so we need to check the status code.

Also if webui gives us an error code, put the error message in our logs.

adodge added 2 commits March 11, 2023 23:02
webui returns a 404 JSON message when --api isn't passed.  I think it used to
return invalid JSON, but now it doesn't fail correctly so we need to check the
status code
@joeyballentine
Copy link
Member

Does this check still work for older versions of the webui?

@adodge
Copy link
Contributor Author

adodge commented Mar 12, 2023

Does this check still work for older versions of the webui?

That is an excellent question. I will check and get back to you

@joeyballentine
Copy link
Member

Any update on this?

@joeyballentine
Copy link
Member

I'm going to merge this so the nightlies will work with the latest webui

@joeyballentine joeyballentine merged commit 0f02670 into chaiNNer-org:main Mar 17, 2023
@adodge
Copy link
Contributor Author

adodge commented Mar 17, 2023

Sorry about the delay. I tested against today's version of webui and the one from the beginning of the month, and they both seem to have the correct behavior with the current patch.

Auto1111: a9fed7c364061ae6efb37f797b6b522cb3cf7aa2 (latest, March 14)

  • ---api: shows SD nodes
  • no --api: does not show SD nodes

Auto1111: b14d8b61bdc4cc2e6c0ea484a5ba8fd370231227 (March 1)

  • ---api: shows SD nodes
  • no --api: does not show SD nodes

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

Successfully merging this pull request may close these issues.

3 participants