Mendelson AS2 MDN issue - edi

I am establishing a new AS2 connection for a customer, but I'm having a problem with MDN sending. They report not getting the MDN.
I have this in the log :
[14:35:43] mendelson_opensource_AS2-1521470143682-4#eg: Préparer la connexion MDN sortante vers "http://testas2.mendelson-e-c.com:8080/as2/HttpReceiver", connexions actives: 1/5.
[14:35:43] mendelson_opensource_AS2-1521470143682-4#eg: Envoi d'un MDN asynchrone vers http://XXXXXXXXXX/as2/HttpReceiver.
[14:35:47] mendelson_opensource_AS2-1521470143682-4#eg: Message envoyé avec succès (HTTP 200); 3,30 KB transféré en 3,32s [0,99 KB/s].
[14:35:47] mendAS2-1521470142708-1961#eg: Succès de la communication AS2, le contenu 1 a été déplacé vers "/home/mendelson/messages/e/inbox/g/DELINS.18031915353514355".
I don't know where I can delete this in the configuration : "http://testas2.mendelson-e-c.com:8080/as2/HttpReceiver"

Related

Number format exception for input string "false" in jira while calling through API

Please help us with a solution as this has a major impact with our client.
We have an application which creates tickets using the API call to Jira. It has been working fine but all of a sudden it stopped by giving "NumberFormatException for input String "false". We had faced this isssue before and had refered the below link and resolved the issue but this time the query has no output. Only "requiresPasswordChange" has a value "false".
The below link i have tried already,
https://confluence.atlassian.com/jirakb/java-lang-numberformatexception-for-input-string-false-occurs-when-loading-user-list-or-logging-in-1103070227.html
The logs are as below,
Exception occurred. Please retry. Please retry: response body : [response code : (500) Oops - an error has occurredcontextPath = "";document.body.className += " js-enabled";Sorry, we had some technical problems during your last operation.Request assistanceCopy the content below and send it to your JIRA AdministratorTechnical detailsLog's referral number: 49e95558-186e-401d-b943-a6d51ef70d99CauseReferer URL: Unknownjava.lang.NumberFormatException: For input string: "false"java.lang.NumberFormatException: For input string: "false" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) at java.lang.Long.parseLong(Long.java:589) at java.lang.Long.valueOf(Long.java:803) at com.atlassian.jira.security.login.LoginStoreImpl.getLong(LoginStoreImpl.java:152) at com.atlassian.jira.security.login.LoginStoreImpl.getLoginInfoInternal(LoginStoreImpl.java:117) at com.atlassian.jira.security.login.LoginStoreImpl.getLoginInfo(LoginStoreImpl.java:109) at com.atlassian.jira.security.login.LoginManagerImpl.getLoginInfo(LoginManagerImpl.java:94) at com.atlassian.jira.security.login.LoginManagerImpl.performElevatedSecurityCheck(LoginManagerImpl.java:103) at com.atlassian.jira.security.login.JiraElevatedSecurityGuard.performElevatedSecurityCheck(JiraElevatedSecurityGuard.java:25) at com.atlassian.seraph.filter.PasswordBasedLoginFilter.runAuthentication(PasswordBasedLoginFilter.java:116) at com.atlassian.seraph.filter.PasswordBasedLoginFilter.login(PasswordBasedLoginFilter.java:77) at com.atlassian.seraph.filter.BaseLoginFilter.doFilter(BaseLoginFilter.java:134) at com.atlassian.jira.web.filters.JiraLoginFilter.doFilter(JiraLoginFilter.java:70) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:46) at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:70) at com.atlassian.oauth.serviceprovider.internal.servlet.OAuthFilter.doFilter(OAuthFilter.java:79) at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:78) at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:42) at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:70) at com.atlassian.plugins.rest.module.servlet.RestSeraphFilter.doFilter(RestS...","excpKey":"1553977296182","eventTs":"1655110489025","content":"{"className":"CmsIncident","factName":"ACCOUNT_DRAINAGE_INTU","entityName":"account","entityId":"xxxxxxx","score":"905","openedDate":"2022-06-13","riskLevel":"L1","message":"Transactions draining the account balance by 80 pct Cumulative debit Transactions greater than or equal to 100K ","triggerId":"9dd361b2-eaf6-11ec-b495-0aa3c93d0000FTRAN","assignee":"","timestamp":"1655110489025","branch":"402","city":"ABU DHABI","country":"AE","cumulativeCr":"0.0","cumulativeDr":"0.0","cumulativeCashDep":"0.0","cumulativeCashWdl":"0.0","numOfStr":"0","lastFiledStr":"0","customerAge":"19","evidence": [{"className":"EvidenceDetail","eventName":"ACCOUNT_DRAINAGE_INTU","eventTs":"2022-06-13 12:54:49.025","incidentSource":"SAM","freeText":"{ACCOUNT_DRAINAGE:{_a1:{eventIds:[9dd361b2-eaf6-11ec-b495-0aa3c93d0000FTRAN],WSKEY:[xxxxxxxx],desc:[Increased value transactions]},opinion:{eventIds:[4e98c8de-e9ad-11ec-bf88-0aa3c9130000FTRAN,b56cff30-e8e5-11ec-bd31-0aa3c9130000FTRAN],WSKEY:[xxxxxxxxxxx]},_a2:{eventIds:[9dd361b2-eaf6-11ec-b495-0aa3c93d0000FTRAN],WSKEY:[xxxxxxxxxx],desc:[High value transactions]}}}"}]}","createdOn":"2019-12-26 21:03:22.673059","createdBy":"SYSTEM","updatedOn":"2022-06-13 14:16:52.557247","updatedBy":"SYSTEM","rvn":"1593","syncrvn":"1589"}
Exception occurred. Please retry. Please retry: response body : [response code : (500) Oops - an error has occurredcontextPath = "";document.body.className += " js-enabled";Sorry, we had some technical problems during your last operation.Request assistanceCopy the content below and send it to your JIRA AdministratorTechnical detailsLog's referral number: 40fa7756-599d-4a7e-bc3d-877f73b5ff59CauseReferer URL: Unknownjava.lang.NumberFormatException: For input string: "false"java.lang.NumberFormatException: For input string: "false" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) at java.lang.Long.parseLong(Long.java:589) at java.lang.Long.valueOf(Long.java:803) at com.atlassian.jira.security.login.LoginStoreImpl.getLong(LoginStoreImpl.java:152) at com.atlassian.jira.security.login.LoginStoreImpl.getLoginInfoInternal(LoginStoreImpl.java:117) at com.atlassian.jira.security.login.LoginStoreImpl.getLoginInfo(LoginStoreImpl.java:109) at com.atlassian.jira.security.login.LoginManagerImpl.getLoginInfo(LoginManagerImpl.java:94) at com.atlassian.jira.security.login.LoginManagerImpl.performElevatedSecurityCheck(LoginManagerImpl.java:103) at com.atlassian.jira.security.login.JiraElevatedSecurityGuard.performElevatedSecurityCheck(JiraElevatedSecurityGuard.java:25) at com.atlassian.seraph.filter.PasswordBasedLoginFilter.runAuthentication(PasswordBasedLoginFilter.java:116) at com.atlassian.seraph.filter.PasswordBasedLoginFilter.login(PasswordBasedLoginFilter.java:77) at com.atlassian.seraph.filter.BaseLoginFilter.doFilter(BaseLoginFilter.java:134) at com.atlassian.jira.web.filters.JiraLoginFilter.doFilter(JiraLoginFilter.java:70) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:46) at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:70) at com.atlassian.oauth.serviceprovider.internal.servlet.OAuthFilter.doFilter(OAuthFilter.java:79) at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:78) at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:42) at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:70) at com.atlassian.plugins.rest.module.servlet.RestSeraphFilter.doFilter

Google APIs Force English Response Message

I'm using Google Sheets API to perform actions against the users' spreadsheets after they authenticate, and some of the actions raise errors like:
This action would increase the number of cells in the workbook above the limit of 5000000 cells
or
You are trying to edit a protected cell or object. Please contact the spreadsheet owner to remove protection if you need to edit
In both cases, the API returns `HttpError 400 code and the string value is the only way to distinguish from one another and knowing the specific issue. No error code related to the issue is provided. The problem is that the string comes in different languages according to the user account language settings, making it really hard to map all language possibilities. For example, the message bellow is the equivalent to the one above, but in Spanish instead:
Estás intentando modificar una celda o un objeto protegido. Si necesitas realizar cambios, comunícate con el propietario de la hoja de cálculo para que quite la protección
Is there any parameters on the APIs that enforce the response to be always in a specific language?

Cant display rich social media post with og tags

I am having trouble with the og meta tags for social media sharing.
I have links for social media sharing in my app :
= link_to "http://www.facebook.com/share.php?u=#{request.base_url}#{request.env['PATH_INFO']}" do
#i{class: "fa fa-facebook-square social-icon", "aria-hidden"=>"true"}
= link_to "http://www.linkedin.com/shareArticle?mini=true&url=#{request.base_url}#{request.env['PATH_INFO']}&source=#{request.base_url}" do
#i{class: "fa fa-linkedin-square social-icon", "aria-hidden"=>"true"}
= link_to "http://twitter.com/intent/tweet?status=#{request.base_url}#{request.env['PATH_INFO']}" do
#i{class: "fa fa-twitter-square social-icon", "aria-hidden"=>"true"}
each link get the absolute url of the current page and insert it in the sharing url of each specific social media.
I have a notification page with twitter, facebook and linkedn sharing buttons. I have included the following og tags :
- content_for(:page_meta) do
%meta{ property: 'og:title', content: "J’ai voté pour mon lauréat Stars et Metiers" }
%meta{ property: 'og:url', content: laureates_url }
%meta{ property: 'og:description', content: "J’ai voté pour mon lauréat coup de ❤ Stars & Métiers 2016 ! Et vous, quel est votre coup de cœur ? avec lien minimisé vers la page lauréat du site" }
og: url is not the current page url because I dont want the social media post to redirect to the page where the social media buttons where but to a different one (laureates_url)
However I keep getting an error message from each social media that " the page is not found"
What am I doing wrong here ?
UPDATE
after using the facebook debugger with my url :
https://developers.facebook.com/tools/debug/og/object/?q=https%3A%2F%2Fstaging-starsetmetiers.herokuapp.com%2Fprix-coup-de-coeur-du-public%2F17701%2Fnotification
It seems that facebook is able to crawl my url. It even shows me a preview of the potential post. Two problems are still unresolved :
1) When I click on the facebook sharing link on my website I dont get the preview as in the facebook debugger. I still get a page not found error :
2) the debugger tells me
The 'og:description' property should be explicitly provided, even if a value can be inferred from other tags.
And it is true that in the preview the debugger shows me, it uses the description from the classic meta name= "description". However there is an og:description present in my page that is the description I want to show in my posts and it is present on the page :
<meta content="J’ai voté pour mon lauréat coup de ❤ Stars & Métiers 2016 ! Et vous, quel est votre coup de cœur ? avec lien minimisé vers la page lauréat du site" property="og:description">
How can I fix these problems ?
Thanks for sharing the output of your page in the Facebook debugger as I suggested in my comment. For your two questions,
It looks like there is a stray closing parenthesis in your Facebook share link. If you remove it, the page should be found normally.
It does look like your meta tags are properly labelled with the Open Graph properties (og:url, etc), so I don't understand why the crawler isn't picking it up. The only thing I can think of is that the order of the property and content attributes in the meta tag is in the reverse order of the example shown on the Facebook site, but I doubt that matters...

Description not available because of robots.txt on Rails app

I have some problems with the Google snippet description of my Rails app in Google search results. I get:
A description for this result is not available because of this site’s robots.txt
I don't understand why I am getting this. I am not blocking the googlebot. Here's my robots.txt
User-Agent: *
Disallow: /admin/
Sitemap: https://s3-eu-west-1.******
and I also include this meta in my application.html file:
%meta{ name: 'description', content: "Le prix national Stars et Métiers est organisé en collaboration entre le groupe Banque Populaire et le réseau des CMA pour encourager l'excellence, l'audace et l'innovation, et mettre en lumière des chefs d'entreprises d'exception" }/
Why does Google not want to take into account my description?
UPDATE: when I am using this tool to see if my description is displaying, it works: https://totheweb.com/learning_center/tool-test-google-title-meta-description-lengths/
But when I try to find the website via the classic Google search, I still get "A description for this result is not available because of this site’s robots.txt".

Direct connection between laptop and arduino via ethernet

I made a project with the Arduino and the ethernet-shield. The Arduino is hosting a website which I can open via the browser on my laptop. The Arduino is connected to the router via ethernet. All of this works just fine.
Now I have to present this project at school. To prevent unpleasant surprises I wanted to connect the Arduino directly with the laptop via ethernet. My problem is that I am really not well informed about this topic. Please, if possible, tell me what I should do.
If you take the router out of the loop you will need to:
Assign a manual IP address to the laptop's Ethernet connection say 192.168.0.1
Subnet mask 255.255.255.0
Assign a manual IP address to the Arduino's Ethernet say 192.168.0.2
Subnet mask 255.255.255.0
default Gateway empty
Use a cross-over cable to link the two (a standard patch lead will NOT work)
You should then be able to get your Arduino site up on http://192.168.0.2 from the laptop.
To look smart :) edit your hosts table on the laptop (C:\windows\system32\drivers\etc\hosts for windows) (/etc/hosts for linux)
and make an entry:
192.168.0.2 my.arduino
Then you can access it with http://my.arduino
Good luck
You must assign a manual IP address to the laptop and Arduino.
Then include Ethernet.h in your sketch and try to make Ethernet connection. Finally you can see your webpage in your laptop by enter Arduino's IP in your browser. Example:
#include <SPI.h>
#include <Ethernet.h>
/******************** ETHERNET SETTINGS ********************/
byte mac[] = { 0x90, 0xA2, 0xDA, 0x0D, 0x85, 0xD9 }; //physical mac address
byte ip[] = { 192, 168, 1, 172 }; // ip in lan
byte subnet[] = { 255, 255, 255, 0 }; //subnet mask
byte gateway[] = { 192, 168, 1, 254 }; // default gateway
EthernetServer server(80); //server port
void setup()
{
Ethernet.begin(mac,ip,gateway,subnet); // initialize Ethernet device
server.begin(); // start to listen for clients
pinMode(8, INPUT); // input pin for switch
}
void loop()
{
EthernetClient client = server.available(); // look for the client
// send a standard http response header
client.println("HTTP/1.1 200 OK");
client.println("Content-Type: text/html");
client.println("Connnection: close");
client.println();
/*
This portion is the webpage which will be
sent to client web browser one can use html , javascript
and another web markup language to make particular layout
*/
client.println("<!DOCTYPE html>"); //web page is made using html
client.println("<html>");
client.println("<head>");
client.println("<title>Ethernet Tutorial</title>");
client.println("<meta http-equiv=\"refresh\" content=\"1\">");
/*
The above line is used to refresh the page in every 1 second
This will be sent to the browser as the following HTML code:
<meta http-equiv="refresh" content="1">
content = 1 sec i.e assign time for refresh
*/
client.println("</head>");
client.println("<body>");
client.println("<h1>A Webserver Tutorial </h1>");
client.println("<h2>Observing State Of Switch</h2>");
client.print("<h2>Switch is: </2>");
if (digitalRead(8))
{
client.println("<h3>ON</h3>");
}
else
{
client.println("<h3>OFF</h3>");
}
client.println("</body>");
client.println("</html>");
delay(1); // giving time to receive the data
/*
The following line is important because it will stop the client
and look for the new connection in the next iteration i.e
EthernetClient client = server.available();
*/
client.stop();
}

Resources