-
Notifications
You must be signed in to change notification settings - Fork 23
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
Hanging on "Discovering packages" #191
Comments
Can you paste a screenshot of your configuration? |
Thanks -- I think we may be facing some certificate issues. I'll have a look in a few hours. |
Want to try again? We had an expired SSL cert, and renewing seems to have fixed some other behaviour. |
@haz solver.planning.domains works now! I also fixed the issue with my server setup by using HTTP instead of HTTPS. I changed the URL to Thanks for the help! I have two suggestions as well.
I can try to submit a PR with these changes if you want. |
Thanks, @mtulla , a PR would be great! Perhaps 2 separate ones...the first point is an obvious one that could use a fix, but the second is a design decision -- a common usecase for this is to have a company deploy their own solver endpoint in-house, and I'm not sure if the common practice is to put SSL authentication on, or just leave it HTTP. Any thoughts, @jan-dolejsi ? |
Hey @haz. I tried to set up my development environment to work on those PRs. When I run
I'm running on an M1 Macbook. From what I read online, I thought this line in
Do you have any idea on how to fix this? I don't really have experience working with VSCode Extensions. |
I'm afraid this one is way beyond my expertise :( . I handle the server side of things, and it would need to be @jan-dolejsi that chimes in here. |
No worries! I'll wait to see what @jan-dolejsi says. |
I applied the secure by default principle. If the service is hosted at a specific URL, I would expect the user to past the URL. Including the http/s. |
Now that is a weird one. The difference in casing is in the |
No, the exception should not hang while discovering packages. There are still some unexpected failure points that the code is not handing by raising an error message. |
This extension seems super useful, and I'm trying to get it adopted by my lab for our AI planning workflows. However, I'm running into some issues when I try to use the default solver.planning.domains or a self-hosted server running planning-as-a-service as my planning engine.
If I try to use the default planning engine configuration with solver.planning.domains, it hangs on "Discovering packages". The screenshot below shows what I mean.
I thought this was due to a problem with solver.planning.domains. Regardless, I wanted to self-host a planning-as-a-service server, so I went ahead and did that following the instructions on the GitHub. The server seems to be working correctly, and when I run the python script mentioned in the project and copied below, I receive a correct plan.
However, when I try to point the vscode extension to my server, I get the exact same hanging on "Discovering packages". The URL I am using is
https://your-planning-as-a-service:5001/package
, as the extension suggests.Any ideas on how to fix this?
The text was updated successfully, but these errors were encountered: