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

BAButton: periodrunner warning: customer not logged in #12906

Open
MarnixCroes opened this issue Apr 19, 2024 · 2 comments
Open

BAButton: periodrunner warning: customer not logged in #12906

MarnixCroes opened this issue Apr 19, 2024 · 2 comments
Milestone

Comments

@MarnixCroes
Copy link
Collaborator

General Description

open Wasabi and a wallet.
after a while this weird warning showed up

not the first time it happens, but doesn't happen frequently either

How To Reproduce?

not sure
I opened a wallet, and had it open for 20min without doing anything

Operating System

deb12

Logs

[45] WARNING	PeriodicRunner.ExecuteAsync (110)	System.Net.Http.HttpRequestException: Forbidden
{"errors":[{"status":"403","code":"CHECKOUT__CUSTOMER_NOT_LOGGED_IN","title":"Forbidden","detail":"Customer is not logged in.","meta":{"parameters":[]},"trace":[{"file":"\/var\/www\/html\/vendor\/shopware\/core\/Framework\/Routing\/SalesChannelRequestContextResolver.php","line":107,"function":"customerNotLoggedIn","class":"Shopware\\Core\\Checkout\\Cart\\CartException","type":"::"},{"file":"\/var\/www\/html\/vendor\/shopware\/core\/Framework\/Routing\/SalesChannelRequestContextResolver.php","line":66,"function":"validateLogin","class":"Shopware\\Core\\Framework\\Routing\\SalesChannelRequestContextResolver","type":"-\u003E"},{"file":"\/var\/www\/html\/vendor\/shopware\/core\/Framework\/Routing\/ContextResolverListener.php","line":34,"function":"resolve","class":"Shopware\\Core\\Framework\\Routing\\SalesChannelRequestContextResolver","type":"-\u003E"},{"file":"\/var\/www\/html\/vendor\/symfony\/event-dispatcher\/Debug\/WrappedListener.php","line":116,"function":"resolveContext","class":"Shopware\\Core\\Framework\\Routing\\ContextResolverListener","type":"-\u003E"},{"file":"\/var\/www\/html\/vendor\/symfony\/event-dispatcher\/EventDispatcher.php","line":220,"function":"__invoke","class":"Symfony\\Component\\EventDispatcher\\Debug\\WrappedListener","type":"-\u003E"},{"file":"\/var\/www\/html\/vendor\/symfony\/event-dispatcher\/EventDispatcher.php","line":56,"function":"callListeners","class":"Symfony\\Component\\EventDispatcher\\EventDispatcher","type":"-\u003E"},{"file":"\/var\/www\/html\/vendor\/shopware\/core\/Content\/Flow\/Dispatching\/FlowDispatcher.php","line":47,"function":"dispatch","class":"Symfony\\Component\\EventDispatcher\\EventDispatcher","type":"-\u003E"},{"file":"\/var\/www\/html\/vendor\/shopware\/core\/Framework\/Webhook\/WebhookDispatcher.php","line":67,"function":"dispatch","class":"Shopware\\Core\\Content\\Flow\\Dispatching\\FlowDispatcher","type":"-\u003E"},{"file":"\/var\/www\/html\/vendor\/shopware\/core\/Framework\/Event\/NestedEventDispatcher.php","line":31,"function":"dispatch","class":"Shopware\\Core\\Framework\\Webhook\\WebhookDispatcher","type":"-\u003E"},{"file":"\/var\/www\/html\/vendor\/symfony\/event-dispatcher\/Debug\/TraceableEventDispatcher.php","line":139,"function":"dispatch","class":"Shopware\\Core\\Framework\\Event\\NestedEventDispatcher","type":"-\u003E"},{"file":"\/var\/www\/html\/vendor\/symfony\/http-kernel\/HttpKernel.php","line":169,"function":"dispatch","class":"Symfony\\Component\\EventDispatcher\\Debug\\TraceableEventDispatcher","type":"-\u003E"},{"file":"\/var\/www\/html\/vendor\/symfony\/http-kernel\/HttpKernel.php","line":76,"function":"handleRaw","class":"Symfony\\Component\\HttpKernel\\HttpKernel","type":"-\u003E"},{"file":"\/var\/www\/html\/vendor\/symfony\/http-kernel\/Kernel.php","line":197,"function":"handle","class":"Symfony\\Component\\HttpKernel\\HttpKernel","type":"-\u003E"},{"file":"\/var\/www\/html\/vendor\/symfony\/http-kernel\/HttpCache\/SubRequestHandler.php","line":86,"function":"handle","class":"Symfony\\Component\\HttpKernel\\Kernel","type":"-\u003E"},{"file":"\/var\/www\/html\/vendor\/symfony\/http-kernel\/HttpCache\/HttpCache.php","line":473,"function":"handle","class":"Symfony\\Component\\HttpKernel\\HttpCache\\SubRequestHandler","type":"::"},{"file":"\/var\/www\/html\/vendor\/symfony\/http-kernel\/HttpCache\/HttpCache.php","line":273,"function":"forward","class":"Symfony\\Component\\HttpKernel\\HttpCache\\HttpCache","type":"-\u003E"},{"file":"\/var\/www\/html\/vendor\/symfony\/http-kernel\/HttpCache\/HttpCache.php","line":287,"function":"pass","class":"Symfony\\Component\\HttpKernel\\HttpCache\\HttpCache","type":"-\u003E"},{"file":"\/var\/www\/html\/vendor\/symfony\/http-kernel\/HttpCache\/HttpCache.php","line":210,"function":"invalidate","class":"Symfony\\Component\\HttpKernel\\HttpCache\\HttpCache","type":"-\u003E"},{"file":"\/var\/www\/html\/vendor\/shopware\/core\/HttpKernel.php","line":143,"function":"handle","class":"Symfony\\Component\\HttpKernel\\HttpCache\\HttpCache","type":"-\u003E"},{"file":"\/var\/www\/html\/vendor\/shopware\/core\/HttpKernel.php","line":65,"function":"doHandle","class":"Shopware\\Core\\HttpKernel","type":"-\u003E"},{"file":"\/var\/www\/html\/public\/index.php","line":71,"function":"handle","class":"Shopware\\Core\\HttpKernel","type":"-\u003E"},{"file":"\/var\/www\/html\/vendor\/symfony\/runtime\/Runner\/Symfony\/HttpKernelRunner.php","line":35,"function":"handle","class":"Symfony\\Component\\HttpKernel\\HttpKernelInterface@anonymous\u0000\/var\/www\/html\/public\/index.php:61$0","type":"-\u003E"},{"file":"\/var\/www\/html\/vendor\/autoload_runtime.php","line":29,"function":"run","class":"Symfony\\Component\\Runtime\\Runner\\Symfony\\HttpKernelRunner","type":"-\u003E"},{"file":"\/var\/www\/html\/public\/index.php","line":14,"args":["\/var\/www\/html\/vendor\/autoload_runtime.php"],"function":"require_once"}]}]}
   at WalletWasabi.Tor.Http.Extensions.HttpResponseMessageExtensions.ThrowRequestExceptionFromContentAsync(HttpResponseMessage me, CancellationToken cancellationToken) in WalletWasabi/Tor/Http/Extensions/HttpResponseMessageExtensions.cs:line 122
   at WalletWasabi.WebClients.ShopWare.ShopWareApiClient.SendAsync[TRequest](String ctxToken, HttpMethod httpMethod, String path, TRequest request, CancellationToken cancellationToken) in WalletWasabi/WebClients/ShopWare/ShopWareApiClient.cs:line 108
   at WalletWasabi.WebClients.ShopWare.ShopWareApiClient.SendAndReceiveAsync[TResponse](String ctxToken, HttpMethod httpMethod, String path, PropertyBag request, CancellationToken cancellationToken) in WalletWasabi/WebClients/ShopWare/ShopWareApiClient.cs:line 82
   at WalletWasabi.WebClients.BuyAnything.BuyAnythingClient.GetCustomerProfileAsync(NetworkCredential credential, CancellationToken cancellationToken) in WalletWasabi/WebClients/BuyAnything/BuyAnythingClient.cs:line 136
   at WalletWasabi.BuyAnything.BuyAnythingManager.CheckUpdateInChatAsync(ConversationUpdateTrack track, CancellationToken cancel) in WalletWasabi/BuyAnything/BuyAnythingManager.cs:line 271
   at WalletWasabi.BuyAnything.BuyAnythingManager.ActionAsync(CancellationToken cancel) in WalletWasabi/BuyAnything/BuyAnythingManager.cs:line 84
   at WalletWasabi.Bases.PeriodicRunner.ExecuteAsync(CancellationToken stoppingToken) in WalletWasabi/Bases/PeriodicRunner.cs:line 84

Wasabi Version

running d571d14

so same as master 90f5d34

@MarnixCroes
Copy link
Collaborator Author

and after that there was this

[9] INFO	PeriodicRunner.ExecuteAsync (92)	Exception stopped coming. It came for 635.5282742 seconds, 67 times: HttpRequestException: Forbidden
{"errors":[{"status":"403","code":"CHECKOUT__CUSTOMER_NOT_LOGGED_IN","title":"Forbidden","detail":"Customer is not logged in.","meta":{"parameters":[]},"trace":[{"file":"\/var\/www\/html\/vendor\/shopware\/core\/Framework\/Routing\/SalesChannelRequestContextResolver.php","line":107,"function":"customerNotLoggedIn","class":"Shopware\\Core\\Checkout\\Cart\\CartException","type":"::"},{"file":"\/var\/www\/html\/vendor\/shopware\/core\/Framework\/Routing\/SalesChannelRequestContextResolver.php","line":66,"function":"validateLogin","class":"Shopware\\Core\\Framework\\Routing\\SalesChannelRequestContextResolver","type":"-\u003E"},{"file":"\/var\/www\/html\/vendor\/shopware\/core\/Framework\/Routing\/ContextResolverListener.php","line":34,"function":"resolve","class":"Shopware\\Core\\Framework\\Routing\\SalesChannelRequestContextResolver","type":"-\u003E"},{"file":"\/var\/www\/html\/vendor\/symfony\/event-dispatcher\/Debug\/WrappedListener.php","line":116,"function":"resolveContext","class":"Shopware\\Core\\Framework\\Routing\\ContextResolverListener","type":"-\u003E"},{"file":"\/var\/www\/html\/vendor\/symfony\/event-dispatcher\/EventDispatcher.php","line":220,"function":"__invoke","class":"Symfony\\Component\\EventDispatcher\\Debug\\WrappedListener","type":"-\u003E"},{"file":"\/var\/www\/html\/vendor\/symfony\/event-dispatcher\/EventDispatcher.php","line":56,"function":"callListeners","class":"Symfony\\Component\\EventDispatcher\\EventDispatcher","type":"-\u003E"},{"file":"\/var\/www\/html\/vendor\/shopware\/core\/Content\/Flow\/Dispatching\/FlowDispatcher.php","line":47,"function":"dispatch","class":"Symfony\\Component\\EventDispatcher\\EventDispatcher","type":"-\u003E"},{"file":"\/var\/www\/html\/vendor\/shopware\/core\/Framework\/Webhook\/WebhookDispatcher.php","line":67,"function":"dispatch","class":"Shopware\\Core\\Content\\Flow\\Dispatching\\FlowDispatcher","type":"-\u003E"},{"file":"\/var\/www\/html\/vendor\/shopware\/core\/Framework\/Event\/NestedEventDispatcher.php","line":31,"function":"dispatch","class":"Shopware\\Core\\Framework\\Webhook\\WebhookDispatcher","type":"-\u003E"},{"file":"\/var\/www\/html\/vendor\/symfony\/event-dispatcher\/Debug\/TraceableEventDispatcher.php","line":139,"function":"dispatch","class":"Shopware\\Core\\Framework\\Event\\NestedEventDispatcher","type":"-\u003E"},{"file":"\/var\/www\/html\/vendor\/symfony\/http-kernel\/HttpKernel.php","line":169,"function":"dispatch","class":"Symfony\\Component\\EventDispatcher\\Debug\\TraceableEventDispatcher","type":"-\u003E"},{"file":"\/var\/www\/html\/vendor\/symfony\/http-kernel\/HttpKernel.php","line":76,"function":"handleRaw","class":"Symfony\\Component\\HttpKernel\\HttpKernel","type":"-\u003E"},{"file":"\/var\/www\/html\/vendor\/symfony\/http-kernel\/Kernel.php","line":197,"function":"handle","class":"Symfony\\Component\\HttpKernel\\HttpKernel","type":"-\u003E"},{"file":"\/var\/www\/html\/vendor\/symfony\/http-kernel\/HttpCache\/SubRequestHandler.php","line":86,"function":"handle","class":"Symfony\\Component\\HttpKernel\\Kernel","type":"-\u003E"},{"file":"\/var\/www\/html\/vendor\/symfony\/http-kernel\/HttpCache\/HttpCache.php","line":473,"function":"handle","class":"Symfony\\Component\\HttpKernel\\HttpCache\\SubRequestHandler","type":"::"},{"file":"\/var\/www\/html\/vendor\/symfony\/http-kernel\/HttpCache\/HttpCache.php","line":273,"function":"forward","class":"Symfony\\Component\\HttpKernel\\HttpCache\\HttpCache","type":"-\u003E"},{"file":"\/var\/www\/html\/vendor\/symfony\/http-kernel\/HttpCache\/HttpCache.php","line":287,"function":"pass","class":"Symfony\\Component\\HttpKernel\\HttpCache\\HttpCache","type":"-\u003E"},{"file":"\/var\/www\/html\/vendor\/symfony\/http-kernel\/HttpCache\/HttpCache.php","line":210,"function":"invalidate","class":"Symfony\\Component\\HttpKernel\\HttpCache\\HttpCache","type":"-\u003E"},{"file":"\/var\/www\/html\/vendor\/shopware\/core\/HttpKernel.php","line":143,"function":"handle","class":"Symfony\\Component\\HttpKernel\\HttpCache\\HttpCache","type":"-\u003E"},{"file":"\/var\/www\/html\/vendor\/shopware\/core\/HttpKernel.php","line":65,"function":"doHandle","class":"Shopware\\Core\\HttpKernel","type":"-\u003E"},{"file":"\/var\/www\/html\/public\/index.php","line":71,"function":"handle","class":"Shopware\\Core\\HttpKernel","type":"-\u003E"},{"file":"\/var\/www\/html\/vendor\/symfony\/runtime\/Runner\/Symfony\/HttpKernelRunner.php","line":35,"function":"handle","class":"Symfony\\Component\\HttpKernel\\HttpKernelInterface@anonymous\u0000\/var\/www\/html\/public\/index.php:61$0","type":"-\u003E"},{"file":"\/var\/www\/html\/vendor\/autoload_runtime.php","line":29,"function":"run","class":"Symfony\\Component\\Runtime\\Runner\\Symfony\\HttpKernelRunner","type":"-\u003E"},{"file":"\/var\/www\/html\/public\/index.php","line":14,"args":["\/var\/www\/html\/vendor\/autoload_runtime.php"],"function":"require_once"}]}]}

@yahiheb
Copy link
Collaborator

yahiheb commented Apr 19, 2024

I got this a couple of times as well, but I don't know how to reproduce it either.

@MaxHillebrand MaxHillebrand added this to the v2.0.8 milestone Apr 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 🧩 Triaged
Development

No branches or pull requests

3 participants