-
Notifications
You must be signed in to change notification settings - Fork 7
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
Error in readBin(private$socket, raw(), n = len) : invalid 'n' argument #23
Comments
Difficult to say without a way to reproduce.
If reporting back, additional information can be useful such as OS, TWS version, |
Thanks a lot for your fast reply. The last days I tested the TWS option which was referenced in the first bullet point. The system is now running more stable, but sometimes the error is still popping up. I use Windows and the recent versions of TWS (10.20) and rib (0.19). Again many thanks for your help. |
I used to get this error when I tried to open a connection via ic$connect that was already open (e.g. had not been properly closed earlier) with the same parameters (clientId, port) |
Many thanks sharing this package.
I already use it a while and randomly get the follwing error:
Error in readBin(private$socket, raw(), n = len) : invalid 'n' argument
The strange thing ist that this error is showing up randomly, i.e. when I run the same code 10 times in a row it can be that no error is showing up, but the next time each other request is showing the error.
Do you have an idea how this can happen? Your help is really appreciated.
Here is an example code snippet with reponse from the console:
The text was updated successfully, but these errors were encountered: