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

Connection to server is erroring. Shutting down server. #10

Open
Miki-84 opened this issue Oct 21, 2020 · 5 comments
Open

Connection to server is erroring. Shutting down server. #10

Miki-84 opened this issue Oct 21, 2020 · 5 comments
Labels
bug Something isn't working

Comments

@Miki-84
Copy link

Miki-84 commented Oct 21, 2020

Hi!
First congratulations for the good job! This looks very promising and cool!

EDIT NOTE: I Think this should go to your vs-code Repo. Sorry for that

I've managed to generate AL Code from your seminar sample once, but after that now, every time I open the workspace your extencio show this message:
image

When I go to check the output, the only information i get is this:

[Error - 12:08:56] Connection to server is erroring. Shutting down server.
[Error - 12:08:56] Connection to server is erroring. Shutting down server.
[Error - 12:08:56] Connection to server is erroring. Shutting down server.

  • Uninstalling and installing the mdal pugin again did not solve the problem.
  • Tring it in a new AL: GO! project did not work

If you need more information just let me know!

@joneug joneug transferred this issue from modal-dsl/modal Oct 21, 2020
@joneug
Copy link
Member

joneug commented Oct 21, 2020

Which version of VS Code, of the mdAL extension, and of Java is installed on your machine? And could you check if there is additional output logging in the output tab (with "mdAL Language Server" selected in the drop down field)?

image

@joneug joneug added the bug Something isn't working label Oct 21, 2020
@Miki-84
Copy link
Author

Miki-84 commented Oct 23, 2020

Hi @joneug

My vsCode version is 1.50.1:

image

The JRE Version is jre1.8.0_261

And there is no additional logging in the output tab, only the connection error:

image

@joneug
Copy link
Member

joneug commented Oct 27, 2020

I tried to reproduce the issue in a similar environment but I was not successful. However, related to the error message you provided I found this issue mentioning that this could be related to opening a folder with a trailing space. After testing I can say that this breaks the mdAL extension as well as the AL extension. Is this also the case for your environment? Could you also check the developer console for additional error logging (Help -> Toggle Developer Tools -> Console)?

@Miki-84
Copy link
Author

Miki-84 commented Nov 4, 2020

Hi @joneug
I checked the Developer console and I tried it again disabling some extensions that i had.
The following error happened when i tried to open the .mdal file:
image

I hope that it can help!

@joneug
Copy link
Member

joneug commented Nov 15, 2020

I just updated the node dependencies of the mdAL VS Code extension and published release 0.3.2. Could you please update your mdAL extension installation and try again? If this doesn't help we could schedule a call if you like to figure this out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants