HangfireIO / HangfireIO/Hangfire

No usefull error message when servername becomes > 100 characters

Open
#1,647 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
C#
Stars
10.1k
Forks
1.8k
Avg merge
1h 19m
Merged PRs (30d)
1

Description

We create the servername with machinename, servicename and version. Hangfire automatically applies an ID and a guid. When this combined name the service does start with an error:
`2020-04-16 13:00:05.9670 ERROR Execution BackgroundServerProcess is in the Failed state now due to an exception, execution will be retried no more than in 00:00:15`
There is no usefull detail information, this makes it very hard to find the issue.

Possibly only applies when using Hangfire.SqlServer.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the failure with a server name over 100 characters, especially with Hangfire.SqlServer, and inspect the BackgroundServerProcess exception behind the logged retry message. Trace where that exception is reported and confirm that the resulting error exposes enough detail to identify the server-name problem.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, sql
Domain
backend, databases
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.