Activities of "maliming"

Interop+Crypto+OpenSslCryptographicException: error:2006D080:BIO routines:BIO_new_file:no such file

BIO_new_file:no such file

The problem is still with the pfx file, please check whether it exists or its permissions.

ls -l show the files and permissions.

hi

Can you try to change the permissions of the pfx file? Or try to run docker with root

hi

It seems the app doesn't have permission to access the PFX file.

Can you share the full error stack?

hi

This week.

We'll check the second one (Language problem) and fix it in next patch as well.

This will be fixed in next patch also.

hi I found the code:


public class CustomObjectDataSourceWizardTypeProvider : IObjectDataSourceWizardTypeProvider
{
    public IEnumerable<Type> GetAvailableTypes(string context)
    {
        return new[] {
            typeof(ReportingDataSourceServiceDecorator)
        };
    }
}


[ExposeServices(typeof(ReportingDataSourceServiceDecorator))]
public class ReportingDataSourceServiceDecorator : IReportingDataSourceService, ITransientDependency
{
    private readonly IScopedServiceProvider<ReportingDataSourceService> _scopedServiceProvider;

    public ReportingDataSourceServiceDecorator(IScopedServiceProvider<ReportingDataSourceService> scopedServiceProvider)
    {
        _scopedServiceProvider = scopedServiceProvider;
    }

    public IList<BookDto> GetAllBooks()
    {
        using (var scopeServer = _scopedServiceProvider.GetService())
        {
            return scopeServer.Service.GetAllBooks();
        }
    }
}

public class ReportingDataSourceService : ApplicationService, IReportingDataSourceService
{
    private readonly IBookCustomRepository _bookRepo;

    public ReportingDataSourceService()
    {
        // We use this parameterless constructor in the Data Source Wizard only, and not for the actual instantiation of the repository object.
        throw new NotSupportedException();
    }
    public ReportingDataSourceService(IBookCustomRepository bookRepo)
    {
        _bookRepo = bookRepo;
    }

    [UnitOfWork]
    public virtual IList<BookDto> GetAllBooks()
    {
        var query = _bookRepo.GetAllBooksAsync();
        return ObjectMapper.Map<IList<Book>, IList<BookDto>>(
            query.Result.ToList()
        );
    }
}


public interface IScopedServiceProvider<TService>
{
    ServiceScopeScope<TService> GetService();
}

public class ScopedServiceProvider<TService> : IScopedServiceProvider<TService>
{
    private readonly IServiceProvider _provider;

    public ScopedServiceProvider(IServiceProvider provider)
    {
        this._provider = provider ?? throw new ArgumentNullException(nameof(provider));
    }

    public ServiceScopeScope<TService> GetService()
    {
        var scope = _provider.CreateScope();
        return new ServiceScopeScope<TService>(scope);
    }
}

public class ServiceScopeScope<TService> : IDisposable
{
    private readonly IServiceScope _scope;

    public ServiceScopeScope(IServiceScope scope)
    {
        _scope = scope ?? throw new ArgumentNullException(nameof(scope));

        Service = scope.ServiceProvider.GetRequiredService<TService>();
    }

    public TService Service { get; }

    public void Dispose()
    {
        _scope.Dispose();
    }
}

hi

Can you check the logs of Authserver?

Has it issued a token? Is the token forwarded by the gateway?

What do I use to remove these grants/permissions from the tenant?

You can refer to RoleDeletedEventHandler

https://github.com/abpframework/abp/blob/48c52625f4c4df007f04d5ac6368b07411aa7521/modules/identity/src/Volo.Abp.PermissionManagement.Domain.Identity/Volo/Abp/PermissionManagement/Identity/RoleDeletedEventHandler.cs#L24

hi

Please setup your RabbitMQ service.

https://docs.abp.io/en/commercial/latest/startup-templates/microservice/index

Showing 7361 to 7370 of 8472 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on November 11, 2024, 11:11