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

After running run-tye.ps1, I encountered several problems #260

Open
15768495614 opened this issue Jul 4, 2024 · 2 comments
Open

After running run-tye.ps1, I encountered several problems #260

15768495614 opened this issue Jul 4, 2024 · 2 comments

Comments

@15768495614
Copy link

1、the web-public-gateway service show
Fetch error
Failed to fetch http://administrationService/swagger/v1/swagger.json
Fetch error
Possible mixed-content issue? The page was loaded over https:// but a http:// URL was specified. Check that you are not attempting to load mixed content.

2、the public-web service log show
System.Threading.Tasks.TaskCanceledException: A task was canceled.

[public-web_83d057e2-6]: [18:32:52 INF] Sending HTTP request GET http://webpublicgateway/api/abp/application-configuration?IncludeLocalizationResources=False&api-version=1.0
[public-web_83d057e2-6]: [18:32:57 ERR] Resilience event occurred. EventName: 'OnTimeout', Source: '-standard//Standard-AttemptTimeout', Operation Key: 'null', Result: 'null'
[public-web_83d057e2-6]: [18:32:57 WRN] Execution attempt. Source: '-standard//Standard-Retry', Operation Key: 'null', Result: 'The operation didn't complete within the allowed timeout of '00:00:10'.', Handled: 'True', Attempt: '0', Execution Time: '10029.0442'
[public-web_83d057e2-6]: Polly.Timeout.TimeoutRejectedException: The operation didn't complete within the allowed timeout of '00:00:10'.
[public-web_83d057e2-6]: ---> System.Threading.Tasks.TaskCanceledException: A task was canceled.
[public-web_83d057e2-6]: at Polly.Retry.AsyncRetryEngine.ImplementationAsync[TResult](Func3 action, Context context, CancellationToken cancellationToken, ExceptionPredicates shouldRetryExceptionPredicates, ResultPredicates1 shouldRetryResultPredicates, Func5 onRetryAsync, Int32 permittedRetryCount, IEnumerable1 sleepDurationsEnumerable, Func4 sleepDurationProvider, Boolean continueOnCapturedContext) [public-web_83d057e2-6]: at Polly.AsyncPolicy1.ExecuteAsync(Func3 action, Context context, CancellationToken cancellationToken, Boolean continueOnCapturedContext) [public-web_83d057e2-6]: at Microsoft.Extensions.Http.PolicyHttpMessageHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken) [public-web_83d057e2-6]: at Microsoft.Extensions.ServiceDiscovery.Http.ResolvingHttpDelegatingHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken) in /_/src/Microsoft.Extensions.ServiceDiscovery/Http/ResolvingHttpDelegatingHandler.cs:line 53 [public-web_83d057e2-6]: at Microsoft.Extensions.Http.Resilience.ResilienceHandler.<>c.<<SendAsync>b__3_0>d.MoveNext() [public-web_83d057e2-6]: --- End of inner exception stack trace --- [public-web_83d057e2-6]: at Polly.Utils.ExceptionUtilities.TrySetStackTrace[T](T exception) [public-web_83d057e2-6]: at Polly.Timeout.TimeoutResilienceStrategy.ExecuteCore[TResult,TState](Func3 callback, ResilienceContext context, TState state)
[public-web_83d057e2-6]: at System.Runtime.CompilerServices.AsyncTaskMethodBuilder1.AsyncStateMachineBox1.ExecutionContextCallback(Object s)
[public-web_83d057e2-6]: at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
[public-web_83d057e2-6]: at System.Runtime.CompilerServices.AsyncTaskMethodBuilder1.AsyncStateMachineBox1.MoveNext(Thread threadPoolThread)
[public-web_83d057e2-6]: at System.Runtime.CompilerServices.AsyncTaskMethodBuilder1.AsyncStateMachineBox1.MoveNext()
[public-web_83d057e2-6]: at System.Runtime.CompilerServices.TaskAwaiter.<>c.b__12_0(Action innerContinuation, Task innerTask)
[public-web_83d057e2-6]: at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(Action action, Boolean allowInlining)
[public-web_83d057e2-6]: at System.Threading.Tasks.Task.RunContinuations(Object continuationObject)
[public-web_83d057e2-6]: at System.Threading.Tasks.Task1.TrySetResult(TResult result) [public-web_83d057e2-6]: at System.Runtime.CompilerServices.AsyncTaskMethodBuilder1.SetExistingTaskResult(Task1 task, TResult result) [public-web_83d057e2-6]: at System.Runtime.CompilerServices.AsyncValueTaskMethodBuilder1.SetResult(TResult result)
[public-web_83d057e2-6]: at Polly.Utils.StrategyHelper.g__AwaitTask|0_0[TResult,TState,T](ValueTask1 task, Boolean continueOnCapturedContext) [public-web_83d057e2-6]: at System.Runtime.CompilerServices.AsyncTaskMethodBuilder1.AsyncStateMachineBox1.ExecutionContextCallback(Object s) [public-web_83d057e2-6]: at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) [public-web_83d057e2-6]: at System.Runtime.CompilerServices.AsyncTaskMethodBuilder1.AsyncStateMachineBox1.MoveNext(Thread threadPoolThread) [public-web_83d057e2-6]: at System.Runtime.CompilerServices.AsyncTaskMethodBuilder1.AsyncStateMachineBox`1.MoveNext()
[public-web_83d057e2-6]: at System.Runtime.CompilerServices.TaskAwaiter.<>c.b__12_0(Action innerContinuation, Task innerTask)
[public-web_83d057e2-6]: at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(Action action, Boolean allowInlining)
[public-web_83d057e2-6]: at System.Threading.Tasks.Task.RunContinuations(Object continuationObject)

3、In addition, do I need to do some additional processing for these links http://webpublicgateway? Can it be used normally?

@lee-vic
Copy link

lee-vic commented Aug 5, 2024

I have the same problem but don't know how to solve it.

@lee-vic
Copy link

lee-vic commented Aug 5, 2024

Modify the hosts file?

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

2 participants