-
Notifications
You must be signed in to change notification settings - Fork 31
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
No MDN found in the received message #13
Comments
This is very strange, can you generate debug logs and attach it in this ticket. |
Hi abhishek, Thanks for the quick response.
The log doesn't seem to mention the error but we received the same traceback.
I am kinda new to EDI, but when receiving a message, we need to send back the MDN, right? |
Okay I see that you have enabled logging, I will need the log file to debug this further. |
log attached One thing I want to mention, but im not sure it is related, is that Amazon is providing us with a .crt public certificate and when trying to upload it in pyas2, we get an error: I researched online a little bit, and it seems that they provide us with a PEM type file because it has -----BEGIN CERTIFICATE----- in the top. However, when trying to load the certificate to pyas2, we get the error |
Okay the .crt is also a valid extension, I will update it. You have logged only django-pyas2 messages, I need the logs of pya2lib as well. Here is the necessary logging configuration LOGGING = {
'version': 1,
'disable_existing_loggers': False,
'formatters': {
'console': {
'format': '%(name)-12s %(levelname)-8s %(message)s'
},
'file': {
'format': '%(asctime)s %(name)-12s %(levelname)-8s %(message)s'
}
},
'handlers': {
'console': {
'class': 'logging.StreamHandler',
'formatter': 'console'
},
'file': {
'level': 'DEBUG',
'class': 'logging.FileHandler',
'formatter': 'file',
'filename': './pyas2-debug.log'
}
},
'loggers': {
'django-pyas2': {
'level': 'DEBUG',
'handlers': ['console', 'file']
},
'pyas2lib': {
'level': 'DEBUG',
'handlers': ['console', 'file']
}
}
} |
Got it, a lot more details now. |
@activeyossi there are a couple of issues here. I was able to fix the first but the second issue which is failures in signature verification for MDNs was caused by some of the changes we did. I am now working on how we can address this issue. |
@activeyossi I have released a newer version with fixes. Can you please upgrade and try again. |
Working like a charm! Thank you man! |
HI,
Trying to configure an Amazon Vendor Central connection and keep getting "No MDN found in the received message" when receiving a test message from Amazon.
Sending a test file to them works fine, and we are also receiving back an MDN from them.
However, when we send, we keep getting the error, and when we downloaded the received messege, it decripted properly and looks fine.
The text was updated successfully, but these errors were encountered: