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

[Bug]: can't use Adyen .NET v30 / 31 on arm32v7 #1129

Open
the-sutt opened this issue Mar 31, 2025 · 1 comment
Open

[Bug]: can't use Adyen .NET v30 / 31 on arm32v7 #1129

the-sutt opened this issue Mar 31, 2025 · 1 comment
Labels

Comments

@the-sutt
Copy link

Description

When building a docker image for arm32v7, the Adyen .NET library crashes during requests.

Steps to reproduce

  1. Create an app that sends a diagnosis request
  2. pack that app with docker and build with .NET SDK 8
  3. execute on a 32bit arm-system

Sample project and more elaborate explanation:
https://github.com/the-sutt/AdyenTest/

Library works under arm64 just fine, even with a arm32v7 build. But the same arm32v7 build does not work on a arm32 system.

Actual behavior

During sending the request, the following exception is thrown:

Creating device...
Creating client...
Creating local ApiService...
Performing diagnosis...
Constructing request...
Sending request...
Unhandled exception. System.Runtime.InteropServices.COMException (0x8007054F): An internal error occurred.
 (0x8007054F)
   at System.Threading.WaitHandle.WaitOneCore(IntPtr waitHandle, Int32 millisecondsTimeout)
   at System.Threading.WaitHandle.WaitOneNoCheck(Int32 millisecondsTimeout)
   at System.Threading.TimerQueue.TimerThread()
   at System.Threading.Thread.StartCallback()
Fatal error. Internal CLR error. (0x80131506)
   at System.Threading.WaitHandle.WaitOneCore(IntPtr, Int32)
   at System.Threading.WaitHandle.WaitOneNoCheck(Int32)
   at System.Threading.TimerQueue.TimerThread()
   at System.Threading.Thread.StartCallback()

Expected behavior

Well... it should perform the request ;)

Code snippet or screenshots (if applicable)

Please see sample project under https://github.com/the-sutt/AdyenTest/

Adyen .NET API Library version

31

.NET version

8

Operating System

Linux

Additional context

No response

@Kwok-he-Chu
Copy link
Member

The library currently only supports .NET 6. It's most likely that one of the dependencies may need work well in a 32-bit environment. Could you try changing your DockerFile to build with the .NET 6.0 image instead?

Note: The plan to support .NET 8.0 is on the way

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants