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

API error when trying to view Organization Billing -> Subscription #5325

Closed
1 task done
holow29 opened this issue Jan 26, 2025 · 2 comments
Closed
1 task done

API error when trying to view Organization Billing -> Subscription #5325

holow29 opened this issue Jan 26, 2025 · 2 comments
Labels
bug bw-unified-deploy An Issue related to Bitwarden unified deployment

Comments

@holow29
Copy link
Contributor

holow29 commented Jan 26, 2025

Steps To Reproduce

  1. Have organization setup on BW self-host:beta unified docker container
  2. Go to Admin Console
  3. Click Billing (Billing->Subscription)

Expected Result

Billing/Subscription page loads without error

Actual Result

Nothing loads; spinning wheel with "Subscription" header at top. In (redacted) api.log:

fail: Bit.Api.Utilities.ExceptionHandlerFilterAttribute[0]
      => SpanId:eb42a71c93df0162, TraceId:ad70d5f4b3a3a894cf2e8c2b3c9824fc, ParentId:*redacted* => ConnectionId:0HN9TLQ50DTV6 => RequestPath:/organizations/*redacted*/subscription RequestId:0HN9TLQ50DTV6:00000001 => IpAddress:::ffff:127.0.0.1 UserAgent:Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36 DeviceType:9 Origin:9 ClientVersion:2025.1.0 => Bit.Api.Billing.Controllers.OrganizationsController.GetSubscription (Api)
      Unable to resolve service for type 'Bit.Core.Billing.Repositories.IOrganizationInstallationRepository' while attempting to activate 'Bit.Api.Billing.Controllers.OrganizationsController'.
      System.InvalidOperationException: Unable to resolve service for type 'Bit.Core.Billing.Repositories.IOrganizationInstallationRepository' while attempting to activate 'Bit.Api.Billing.Controllers.OrganizationsController'.
         at Microsoft.Extensions.DependencyInjection.ActivatorUtilities.ThrowHelperUnableToResolveService(Type type, Type requiredBy)
         at lambda_method1105(Closure, IServiceProvider, Object[])
         at Microsoft.AspNetCore.Mvc.Controllers.ControllerFactoryProvider.<>c__DisplayClass6_0.<CreateControllerFactory>g__CreateController|0(ControllerContext controllerContext)
         at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
         at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
      --- End of stack trace from previous location ---
         at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextExceptionFilterAsync>g__Awaited|26_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)

Screenshots or Videos

No response

Additional Context

No response

Githash Version

b586e21-dirty

Environment Details

Linux Docker
Unified Self-host:beta (2025.1.1-beta)

Database Image

mariadb:11

Issue-Link

#2480

Issue Tracking Info

  • I understand that work is tracked outside of Github. A PR will be linked to this issue should one be opened to address it, but Bitwarden doesn't use fields like "assigned", "milestone", or "project" to track progress.
@holow29 holow29 added bug bw-unified-deploy An Issue related to Bitwarden unified deployment labels Jan 26, 2025
@mklitzn
Copy link

mklitzn commented Jan 27, 2025

seems to be a duplicate of #5223

@holow29
Copy link
Contributor Author

holow29 commented Jan 27, 2025

Thanks! Missed that one.

@holow29 holow29 closed this as completed Jan 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug bw-unified-deploy An Issue related to Bitwarden unified deployment
Projects
None yet
Development

No branches or pull requests

2 participants