[GH-ISSUE #399] Bug Report: Errors 'invalid start byte' when running scripts #2190

Closed
opened 2026-03-14 02:56:06 +03:00 by kerem · 5 comments
Owner

Originally created by @alexandremottier on GitHub (Apr 16, 2021).
Original GitHub issue: https://github.com/amidaware/tacticalrmm/issues/399

Originally assigned to: @wh1te909 on GitHub.

Server Info (please complete the following information):

  • OS: Debian 10
  • Browser: Firefox 86
  • RMM Version (as shown in top left of web UI): v.0.6.0

Installation Method:

  • Standard
  • Docker

Agent Info (please complete the following information):

  • Agent version (as shown in the 'Summary' tab of the agent from web UI): v1.5.0
  • Agent OS: Windows 10 Pro, 64 bit (build 18363.1441)

Describe the bug
Python (?) error when running a command on a workstation from TacticalRMM.
Error : 'utf-8' codec can't decode byte 0xff in position 11: invalid start byte

To Reproduce
Steps to reproduce the behavior:

  1. Right click on the Windows 10 workstation in workstations list
  2. Choose "Run script"
  3. Choose "Send command"
  4. Shell : CMD. Timeout : 30 seconds. Command arp -a

Expected behavior
Getting the network addresses from machines of the network with MAC address.

Screenshots
image

Additional context
Same problem when I am using a homemade script with the same command :
image

image
Originally created by @alexandremottier on GitHub (Apr 16, 2021). Original GitHub issue: https://github.com/amidaware/tacticalrmm/issues/399 Originally assigned to: @wh1te909 on GitHub. **Server Info (please complete the following information):** - OS: Debian 10 - Browser: Firefox 86 - RMM Version (as shown in top left of web UI): v.0.6.0 **Installation Method:** - [X] Standard - [ ] Docker **Agent Info (please complete the following information):** - Agent version (as shown in the 'Summary' tab of the agent from web UI): v1.5.0 - Agent OS: Windows 10 Pro, 64 bit (build 18363.1441) **Describe the bug** Python (?) error when running a command on a workstation from TacticalRMM. Error : `'utf-8' codec can't decode byte 0xff in position 11: invalid start byte` **To Reproduce** Steps to reproduce the behavior: 1. Right click on the Windows 10 workstation in workstations list 2. Choose "Run script" 3. Choose "Send command" 4. Shell : CMD. Timeout : 30 seconds. Command `arp -a` **Expected behavior** Getting the network addresses from machines of the network with MAC address. **Screenshots** <img width="687" alt="image" src="https://user-images.githubusercontent.com/40338703/115039856-1efa3680-9ed1-11eb-9eb4-98574779351c.png"> **Additional context** Same problem when I am using a homemade script with the same command : <img width="984" alt="image" src="https://user-images.githubusercontent.com/40338703/115040153-6a144980-9ed1-11eb-8081-3061e69d8d5e.png"> <img width="995" alt="image" src="https://user-images.githubusercontent.com/40338703/115040232-80baa080-9ed1-11eb-9461-338c88c4e09e.png">
kerem 2026-03-14 02:56:06 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@wh1te909 commented on GitHub (Apr 17, 2021):

thanks, am aware of this issue actually ran into it myself recently when running the tree command. working on a fix.

<!-- gh-comment-id:821760373 --> @wh1te909 commented on GitHub (Apr 17, 2021): thanks, am aware of this issue actually ran into it myself recently when running the `tree` command. working on a fix.
Author
Owner

@alexandremottier commented on GitHub (Apr 17, 2021):

Thanks a lot for your quick answer. After some tests, I think that the problem is related to all CMD commands.
PowerShell commands are working just fine.

Thanks a lot for your job, your app is very nice !
I think you will be a strong competitor to the market leaders.
The Alpha version of your application is already very complete and functional from what I could test.

<!-- gh-comment-id:821783995 --> @alexandremottier commented on GitHub (Apr 17, 2021): Thanks a lot for your quick answer. After some tests, I think that the problem is related to all CMD commands. PowerShell commands are working just fine. Thanks a lot for your job, your app is very nice ! I think you will be a strong competitor to the market leaders. The Alpha version of your application is already very complete and functional from what I could test.
Author
Owner

@wh1te909 commented on GitHub (Apr 21, 2021):

I've fixed this (requires an agent update) will be in the next release

<!-- gh-comment-id:823778732 --> @wh1te909 commented on GitHub (Apr 21, 2021): I've fixed this (requires an agent update) will be in the next release
Author
Owner

@alexandremottier commented on GitHub (Apr 21, 2021):

FYI, I have tested with TacticalRMM v0.6.1 and agent in v1.5.1 and I had the same issue.
I am waiting for TacticalRMM v0.6.2 ;-)

Thanks for your quick answer :-)

<!-- gh-comment-id:824003328 --> @alexandremottier commented on GitHub (Apr 21, 2021): FYI, I have tested with TacticalRMM v0.6.1 and agent in v1.5.1 and I had the same issue. I am waiting for TacticalRMM v0.6.2 ;-) Thanks for your quick answer :-)
Author
Owner

@wh1te909 commented on GitHub (Apr 23, 2021):

Released in 0.6.2
You'll need to upgrade to 0.6.2 and then wait for your agents to update to 1.5.2

<!-- gh-comment-id:825429891 --> @wh1te909 commented on GitHub (Apr 23, 2021): Released in 0.6.2 You'll need to upgrade to 0.6.2 and then wait for your agents to update to 1.5.2
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/tacticalrmm#2190
No description provided.