ArtVentureX / sd-webui-agent-scheduler

619 stars 63 forks source link

can't callback https url #134

Closed azoth07 closed 11 months ago

azoth07 commented 11 months ago

ERROR:sd:{"status":2,"msg":"Unable to make protected java.lang.ClassLoader() accessible: module java.base does not \"opens java.lang\" to unnamed module @27abe2cd"}

artventuredev commented 11 months ago

Hi, is this error message from your backend? Can you confirm that the callback url is working properly?

azoth07 commented 11 months ago

yeah, when I use the http url, this error message is gone

artventuredev commented 11 months ago

I tested with HTTP and HTTPs and both are working properly. Can you queue (and run) 2 tasks with this data:

{
  "prompt": "1girl",
  "negative_prompt": "text, watermark",
  "sampler_name": "DPM++ 2M Karras",
  "steps": 20,
  "cfg_scale": 7,
  "width": 512,
  "height": 512,
  "callback_url": "http://webhook.site/ae1d83c0-6758-4e4a-ae87-1b67ba17d778"
}
{
  "prompt": "1girl",
  "negative_prompt": "text, watermark",
  "sampler_name": "DPM++ 2M Karras",
  "steps": 20,
  "cfg_scale": 7,
  "width": 512,
  "height": 512,
  "callback_url": "https://webhook.site/ae1d83c0-6758-4e4a-ae87-1b67ba17d778"
}

https://webhook.site is a utility website that provides webhook testing. You can also replace my URLs with your to test.

azoth07 commented 11 months ago

thank, it turns out that my postman can't receice the files