SnippetHighlighter.HighlightAsync

// Id: #2906
using Hangfire.Highlighter.Jobs;

var snippetHighlighter = Activate<SnippetHighlighter>();
await snippetHighlighter.HighlightAsync(1001);

Parameters

CurrentCulture
"en-US"
RetryCount
10

Continuations

Id Condition State Job Created
#2907 OnlyOnSucceededState Awaiting SnippetHighlighter.SendToSubscribers 8/27/2024 10:26:19 AM

State

8/27/2024 2:57:13 PM (+313ms) Failed

An exception occurred during performance of the job.

System.Net.Http.HttpRequestException (dw0sdwk00078l:7096)

Response status code does not indicate success: 500 (Internal Server Error).

System.Net.Http.HttpRequestException: Response status code does not indicate success: 500 (Internal Server Error).
   at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()
   at Hangfire.Highlighter.Jobs.SnippetHighlighter.<HighlightSourceAsync>d__10.MoveNext() in C:\projects\hangfire-highlighter\Hangfire.Highlighter\Jobs\SnippetHighlighter.cs:line 94
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Hangfire.Highlighter.Jobs.SnippetHighlighter.<HighlightAsync>d__6.MoveNext() in C:\projects\hangfire-highlighter\Hangfire.Highlighter\Jobs\SnippetHighlighter.cs:line 59
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.GetResult()

+30ms Processing

Server:
dw0sdwk00078l:7096
Worker:
f5b50528

+1h 51m Enqueued

Triggered by DelayedJobScheduler

+ <1ms Scheduled

Retry attempt 10 of 10: Response status code does not indicate success: 5…

Enqueue at:
8/27/2024 2:57:04 PM

+376ms Failed

An exception occurred during performance of the job.

System.Net.Http.HttpRequestException (dw0sdwk00078l:7096)

Response status code does not indicate success: 500 (Internal Server Error).

System.Net.Http.HttpRequestException: Response status code does not indicate success: 500 (Internal Server Error).
   at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()
   at Hangfire.Highlighter.Jobs.SnippetHighlighter.<HighlightSourceAsync>d__10.MoveNext() in C:\projects\hangfire-highlighter\Hangfire.Highlighter\Jobs\SnippetHighlighter.cs:line 94
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Hangfire.Highlighter.Jobs.SnippetHighlighter.<HighlightAsync>d__6.MoveNext() in C:\projects\hangfire-highlighter\Hangfire.Highlighter\Jobs\SnippetHighlighter.cs:line 59
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.GetResult()

+14ms Processing

Server:
dw0sdwk00078l:7096
Worker:
a361f228

+1h 12m Enqueued

Triggered by DelayedJobScheduler

+ <1ms Scheduled

Retry attempt 9 of 10: Response status code does not indicate success: 5…

Enqueue at:
8/27/2024 1:05:33 PM

+407ms Failed

An exception occurred during performance of the job.

System.Net.Http.HttpRequestException (dw0sdwk00078l:7096)

Response status code does not indicate success: 500 (Internal Server Error).

System.Net.Http.HttpRequestException: Response status code does not indicate success: 500 (Internal Server Error).
   at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()
   at Hangfire.Highlighter.Jobs.SnippetHighlighter.<HighlightSourceAsync>d__10.MoveNext() in C:\projects\hangfire-highlighter\Hangfire.Highlighter\Jobs\SnippetHighlighter.cs:line 94
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Hangfire.Highlighter.Jobs.SnippetHighlighter.<HighlightAsync>d__6.MoveNext() in C:\projects\hangfire-highlighter\Hangfire.Highlighter\Jobs\SnippetHighlighter.cs:line 59
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.GetResult()

+13ms Processing

Server:
dw0sdwk00078l:7096
Worker:
84574ff2

+41m 31.450s Enqueued

Triggered by DelayedJobScheduler

+ <1ms Scheduled

Retry attempt 8 of 10: Response status code does not indicate success: 5…

Enqueue at:
8/27/2024 11:52:47 AM

+360ms Failed

An exception occurred during performance of the job.

System.Net.Http.HttpRequestException (dw0sdwk00078l:7096)

Response status code does not indicate success: 500 (Internal Server Error).

System.Net.Http.HttpRequestException: Response status code does not indicate success: 500 (Internal Server Error).
   at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()
   at Hangfire.Highlighter.Jobs.SnippetHighlighter.<HighlightSourceAsync>d__10.MoveNext() in C:\projects\hangfire-highlighter\Hangfire.Highlighter\Jobs\SnippetHighlighter.cs:line 94
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Hangfire.Highlighter.Jobs.SnippetHighlighter.<HighlightAsync>d__6.MoveNext() in C:\projects\hangfire-highlighter\Hangfire.Highlighter\Jobs\SnippetHighlighter.cs:line 59
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.GetResult()

+93ms Processing

Server:
dw0sdwk00078l:7096
Worker:
43235c1b

+22m 30.467s Enqueued

Triggered by DelayedJobScheduler

+ <1ms Scheduled

Retry attempt 7 of 10: Response status code does not indicate success: 5…

Enqueue at:
8/27/2024 11:11:14 AM

+310ms Failed

An exception occurred during performance of the job.

System.Net.Http.HttpRequestException (dw0sdwk00078l:7096)

Response status code does not indicate success: 500 (Internal Server Error).

System.Net.Http.HttpRequestException: Response status code does not indicate success: 500 (Internal Server Error).
   at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()
   at Hangfire.Highlighter.Jobs.SnippetHighlighter.<HighlightSourceAsync>d__10.MoveNext() in C:\projects\hangfire-highlighter\Hangfire.Highlighter\Jobs\SnippetHighlighter.cs:line 94
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Hangfire.Highlighter.Jobs.SnippetHighlighter.<HighlightAsync>d__6.MoveNext() in C:\projects\hangfire-highlighter\Hangfire.Highlighter\Jobs\SnippetHighlighter.cs:line 59
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.GetResult()

+17ms Processing

Server:
dw0sdwk00078l:7096
Worker:
f5b50528

+12m 30.106s Enqueued

Triggered by DelayedJobScheduler

+ <1ms Scheduled

Retry attempt 6 of 10: Response status code does not indicate success: 5…

Enqueue at:
8/27/2024 10:48:45 AM

+310ms Failed

An exception occurred during performance of the job.

System.Net.Http.HttpRequestException (dw0sdwk00078l:7096)

Response status code does not indicate success: 500 (Internal Server Error).

System.Net.Http.HttpRequestException: Response status code does not indicate success: 500 (Internal Server Error).
   at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()
   at Hangfire.Highlighter.Jobs.SnippetHighlighter.<HighlightSourceAsync>d__10.MoveNext() in C:\projects\hangfire-highlighter\Hangfire.Highlighter\Jobs\SnippetHighlighter.cs:line 94
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Hangfire.Highlighter.Jobs.SnippetHighlighter.<HighlightAsync>d__6.MoveNext() in C:\projects\hangfire-highlighter\Hangfire.Highlighter\Jobs\SnippetHighlighter.cs:line 59
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.GetResult()

+17ms Processing

Server:
dw0sdwk00078l:7096
Worker:
a361f228

+5m 44.603s Enqueued

Triggered by DelayedJobScheduler

+ <1ms Scheduled

Retry attempt 5 of 10: Response status code does not indicate success: 5…

Enqueue at:
8/27/2024 10:36:08 AM

+594ms Failed

An exception occurred during performance of the job.

System.Net.Http.HttpRequestException (dw0sdwk00078l:7096)

Response status code does not indicate success: 500 (Internal Server Error).

System.Net.Http.HttpRequestException: Response status code does not indicate success: 500 (Internal Server Error).
   at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()
   at Hangfire.Highlighter.Jobs.SnippetHighlighter.<HighlightSourceAsync>d__10.MoveNext() in C:\projects\hangfire-highlighter\Hangfire.Highlighter\Jobs\SnippetHighlighter.cs:line 94
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Hangfire.Highlighter.Jobs.SnippetHighlighter.<HighlightAsync>d__6.MoveNext() in C:\projects\hangfire-highlighter\Hangfire.Highlighter\Jobs\SnippetHighlighter.cs:line 59
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.GetResult()

+33ms Processing

Server:
dw0sdwk00078l:7096
Worker:
84574ff2

+1m 44.750s Enqueued

Triggered by DelayedJobScheduler

+ <1ms Scheduled

Retry attempt 4 of 10: Response status code does not indicate success: 5…

Enqueue at:
8/27/2024 10:30:23 AM

+313ms Failed

An exception occurred during performance of the job.

System.Net.Http.HttpRequestException (dw0sdwk00078l:7096)

Response status code does not indicate success: 500 (Internal Server Error).

System.Net.Http.HttpRequestException: Response status code does not indicate success: 500 (Internal Server Error).
   at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()
   at Hangfire.Highlighter.Jobs.SnippetHighlighter.<HighlightSourceAsync>d__10.MoveNext() in C:\projects\hangfire-highlighter\Hangfire.Highlighter\Jobs\SnippetHighlighter.cs:line 94
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Hangfire.Highlighter.Jobs.SnippetHighlighter.<HighlightAsync>d__6.MoveNext() in C:\projects\hangfire-highlighter\Hangfire.Highlighter\Jobs\SnippetHighlighter.cs:line 59
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.GetResult()

+17ms Processing

Server:
dw0sdwk00078l:7096
Worker:
a361f228

+1m 14.720s Enqueued

Triggered by DelayedJobScheduler

+ <1ms Scheduled

Retry attempt 3 of 10: Response status code does not indicate success: 5…

Enqueue at:
8/27/2024 10:28:45 AM

+327ms Failed

An exception occurred during performance of the job.

System.Net.Http.HttpRequestException (dw0sdwk00078l:7096)

Response status code does not indicate success: 500 (Internal Server Error).

System.Net.Http.HttpRequestException: Response status code does not indicate success: 500 (Internal Server Error).
   at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()
   at Hangfire.Highlighter.Jobs.SnippetHighlighter.<HighlightSourceAsync>d__10.MoveNext() in C:\projects\hangfire-highlighter\Hangfire.Highlighter\Jobs\SnippetHighlighter.cs:line 94
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Hangfire.Highlighter.Jobs.SnippetHighlighter.<HighlightAsync>d__6.MoveNext() in C:\projects\hangfire-highlighter\Hangfire.Highlighter\Jobs\SnippetHighlighter.cs:line 59
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.GetResult()

+46ms Processing

Server:
dw0sdwk00078l:7096
Worker:
84574ff2

+44.777s Enqueued

Triggered by DelayedJobScheduler

+ <1ms Scheduled

Retry attempt 2 of 10: Response status code does not indicate success: 5…

Enqueue at:
8/27/2024 10:27:19 AM

+237ms Failed

An exception occurred during performance of the job.

System.Net.Http.HttpRequestException (dw0sdwk00078l:7096)

Response status code does not indicate success: 500 (Internal Server Error).

System.Net.Http.HttpRequestException: Response status code does not indicate success: 500 (Internal Server Error).
   at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()
   at Hangfire.Highlighter.Jobs.SnippetHighlighter.<HighlightSourceAsync>d__10.MoveNext() in C:\projects\hangfire-highlighter\Hangfire.Highlighter\Jobs\SnippetHighlighter.cs:line 94
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Hangfire.Highlighter.Jobs.SnippetHighlighter.<HighlightAsync>d__6.MoveNext() in C:\projects\hangfire-highlighter\Hangfire.Highlighter\Jobs\SnippetHighlighter.cs:line 59
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.GetResult()

+30ms Processing

Server:
dw0sdwk00078l:7096
Worker:
43235c1b

+26.770s Enqueued

Triggered by DelayedJobScheduler

+ <1ms Scheduled

Retry attempt 1 of 10: Response status code does not indicate success: 5…

Enqueue at:
8/27/2024 10:26:35 AM

+1s Failed

An exception occurred during performance of the job.

System.Net.Http.HttpRequestException (dw0sdwk00078l:7096)

Response status code does not indicate success: 500 (Internal Server Error).

System.Net.Http.HttpRequestException: Response status code does not indicate success: 500 (Internal Server Error).
   at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()
   at Hangfire.Highlighter.Jobs.SnippetHighlighter.<HighlightSourceAsync>d__10.MoveNext() in C:\projects\hangfire-highlighter\Hangfire.Highlighter\Jobs\SnippetHighlighter.cs:line 94
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Hangfire.Highlighter.Jobs.SnippetHighlighter.<HighlightAsync>d__6.MoveNext() in C:\projects\hangfire-highlighter\Hangfire.Highlighter\Jobs\SnippetHighlighter.cs:line 59
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.GetResult()

+223ms Processing

Server:
dw0sdwk00078l:7096
Worker:
f5b50528

+17ms Enqueued

8/27/2024 10:26:18 AM Created