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

CLOUD-640: Incompatible runner: Command Line / Agent name is too long, the maximum allowed length is: 80 #22

Open
NorseGaud opened this issue Jan 11, 2024 · 0 comments

Comments

@NorseGaud
Copy link
Member

Within buildAgent/logs/teamcity-agent.log:

[2024-01-11 11:07:19,462]   INFO - buildServer.AGENT.registration - Registering on server via URL "http://anka.teamcity:8094": AgentDetails{Name='mgmtManaged-14.2-arm64-openjdk-11.0.14.1-teamcity-s-Mac-mini.local-1704999437815861000', AgentId=null, BuildId=null, AgentOwnAddress='null', AlternativeAddresses=[], Port=9090, Version='147412', PluginsVersion='NA', AvailableRunners=[], AvailableVcs=[], AuthorizationToken='', PingCode='LsmHy5Qt8GvZo40k16FjyAQ4FAIaetp6'}
[2024-01-11 11:07:19,469]   INFO - buildServer.AGENT.registration - Server supports the following communication protocols: [polling]
[2024-01-11 11:07:19,469]   INFO - buildServer.AGENT.registration - Trying to register on server using 'polling' protocol.
[2024-01-11 11:07:19,488]   INFO - buildServer.AGENT.registration - Registration using 'polling' protocol failed: TeamCityRuntimeException: Agent name is too long, the maximum allowed length is: 80
[2024-01-11 11:07:19,488]   WARN - buildServer.AGENT.registration - Error registering on the server via URL http://anka.teamcity:8094. Will continue repeating connection attempts.

After editing my buildAgent/conf/buildAgent.properties and shortening name=, it registered and worked.

Maybe there is a away to limit the name length in the plugin/agent registration or maybe teamcity can allow longer than 80

@NorseGaud NorseGaud changed the title Incompatible runner: Command Line / Agent name is too long, the maximum allowed length is: 80 CLOUD-640: Incompatible runner: Command Line / Agent name is too long, the maximum allowed length is: 80 Jan 11, 2024
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

1 participant