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

Cannot run: ErrorId 1799 #9

Open
dotKokott opened this issue Sep 23, 2020 · 5 comments
Open

Cannot run: ErrorId 1799 #9

dotKokott opened this issue Sep 23, 2020 · 5 comments

Comments

@dotKokott
Copy link

Hello!

First of all thank you for writing an open source alternative HttpClient.

I have a problem running it. When I try to do a GET to a local server I get a: 1799 -> DeviceNotReady error id.

image

Any idea what I am doing wrong?

@fbarresi
Copy link
Owner

fbarresi commented Sep 23, 2020

Hi!

You error Id isn't an ADS error code, but a Win32 Code and means: ERROR_INVALID_SEPARATOR_FILE - "The specified separator file is invalid"

Did you already installed the Twincat (unofficial) function on your target system?
You can check it under the path C:\TwinCAT\Functions\Unofficial\BeckhoffHttpClient\.

I'm wondering what can cause this error in your setup... 🤨
Are you able get the example on the README (https://dog.ceo/api/breeds/image/random) up and running?

Best regards,

FB

@dotKokott
Copy link
Author

Yes the function is installed & I can see it under this path. I do have the rest of TwinCAT installed under E:\TwinCAT (not sure if that would make a difference)

The example from the README shows the same error.

@fbarresi
Copy link
Owner

🤔 I suppose it could be the problem, but I cannot reproduce it...
I would advise you to try a couple things:

  • Debug the httpClient FB ( in particular its private fields: startProcess, getLocalAmsNetId, initialized and startProcess.COMNDLINE)
  • import the source code fot HttpClient in your project (in this case you may also move the twincat function folder to E: and change the hardcoded paths startProcess.PATHSTR and startProcess.DIRNAME)

@fbarresi
Copy link
Owner

Hi!
Did you get all up and running?
If yes, would your share your solution in this issue?

@dotKokott
Copy link
Author

Hey! I had to move on for now and use the original Beckhoff httpClient.
I hope I'll get around to it towards the end of this project. Should I get this running I will share my solution!

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