IE Notifier App - SMTP Validation is Failing

0
Hello,   Notifier app is failing to validate smtp configuration.  Do you have any idea, why? Ps: SMTP Configuration has been validated with custom app. Please find screenshot and logs below:       {"log":"VariableNotificationProvider:: TokenManager::getAuthorization - App Credentials not available. Fallback to deprecated TechUser functionality.\n","stream":"stdout","time":"2023-05-10T11:37:08.652293268Z"} {"log":"VariableNotificationProvider:: Resetting tenant - edge token inforamtions of application notifier\n","stream":"stdout","time":"2023-05-10T11:37:08.652297449Z"} {"log":"VariableNotificationProvider:: onRun for edge (instance 0)\n","stream":"stdout","time":"2023-05-10T11:37:08.654553639Z"} {"log":"VariableNotificationProvider:: doRun edge - 2 value(s) received for 9e19ff4ee055449e861053c5f83b3467: [3,1]\n","stream":"stdout","time":"2023-05-10T11:37:08.658507064Z"} {"log":"VariableNotificationProvider:: Raise (1) succeeded: {\n","stream":"stdout","time":"2023-05-10T11:37:08.66745544Z"} {"log":"  \"notificationId\": \"4918\",\n","stream":"stdout","time":"2023-05-10T11:37:08.66747761Z"} {"log":"  \"raiseTime\": \"2023-05-10T11:37:08.209Z\",\n","stream":"stdout","time":"2023-05-10T11:37:08.667481239Z"} {"log":"  \"clearTime\": null,\n","stream":"stdout","time":"2023-05-10T11:37:08.667484229Z"} {"log":"  \"raisedState\": true,\n","stream":"stdout","time":"2023-05-10T11:37:08.667487044Z"} {"log":"  \"acceptUser\": null,\n","stream":"stdout","time":"2023-05-10T11:37:08.667489801Z"} {"log":"  \"eventText\": \"Machine is in Filling State\",\n","stream":"stdout","time":"2023-05-10T11:37:08.667511694Z"} {"log":"  \"notificationTypeId\": \"3\",\n","stream":"stdout","time":"2023-05-10T11:37:08.667531685Z"} {"log":"  \"assetId\": \"3ef3d4fe826547a28f6351a6bff65a04\",\n","stream":"stdout","time":"2023-05-10T11:37:08.667534677Z"} {"log":"  \"acceptTime\": null,\n","stream":"stdout","time":"2023-05-10T11:37:08.667548859Z"} {"log":"  \"acceptState\": false,\n","stream":"stdout","time":"2023-05-10T11:37:08.667551793Z"} {"log":"  \"timestamp\": \"2023-05-10T11:37:08.662Z\",\n","stream":"stdout","time":"2023-05-10T11:37:08.667554255Z"} {"log":"  \"notificationConfigurationId\": \"1\",\n","stream":"stdout","time":"2023-05-10T11:37:08.667556768Z"} {"log":"  \"notificationSource\": \"Notifier\",\n","stream":"stdout","time":"2023-05-10T11:37:08.667559255Z"} {"log":"  \"deltaId\": \"1683718628662681\",\n","stream":"stdout","time":"2023-05-10T11:37:08.667561785Z"} {"log":"  \"removeUser\": null,\n","stream":"stdout","time":"2023-05-10T11:37:08.667564316Z"} {"log":"  \"notificationSourceId\": null\n","stream":"stdout","time":"2023-05-10T11:37:08.667566702Z"} {"log":"}.\n","stream":"stdout","time":"2023-05-10T11:37:08.667569191Z"} {"log":"VariableNotificationProvider:: Save modified state of notification 1\n","stream":"stdout","time":"2023-05-10T11:37:08.66757159Z"} {"log":"VariableNotificationProvider:: Save modified state of variable 9e19ff4ee055449e861053c5f83b3467\n","stream":"stdout","time":"2023-05-10T11:37:08.669117722Z"} {"log":"BillingService:: AuthService::readAuthDataFile - File read.\n","stream":"stdout","time":"2023-05-10T11:37:08.687580319Z"} {"log":"BillingService:: AuthService::readAuthData - {\n","stream":"stderr","time":"2023-05-10T11:37:08.68788557Z"} {"log":"  \"debugInfo\": {\n","stream":"stderr","time":"2023-05-10T11:37:08.68789637Z"} {"log":"    \"name\": \"SyntaxError\",\n","stream":"stderr","time":"2023-05-10T11:37:08.687899676Z"} {"log":"    \"description\": \"Unexpected end of JSON input\",\n","stream":"stderr","time":"2023-05-10T11:37:08.687902469Z"} {"log":"    \"stack\": \"SyntaxError: Unexpected end of JSON input\\n    at JSON.parse (\u003canonymous\u003e)\\n    at d.readAuthData (/home/edge/src/app/BillingService/server.js:319:62132)\\n    at new d (/home/edge/src/app/BillingService/server.js:319:61516)\\n    at t.TokenManager.\u003canonymous\u003e (/home/edge/src/app/BillingService/server.js:91:53852)\\n    at Generator.next (\u003canonymous\u003e)\\n    at /home/edge/src/app/BillingService/server.js:91:53396\\n    at new Promise (\u003canonymous\u003e)\\n    at r (/home/edge/src/app/BillingService/server.js:91:53141)\\n    at t.TokenManager.getAuthorization (/home/edge/src/app/BillingService/server.js:91:53740)\\n    at t.QuotaParameterService.\u003canonymous\u003e (/home/edge/src/app/BillingService/server.js:9:25050)\"\n","stream":"stderr","time":"2023-05-10T11:37:08.687905253Z"} {"log":"  },\n","stream":"stderr","time":"2023-05-10T11:37:08.687910058Z"} {"log":"  \"service\": \"BillingService\",\n","stream":"stderr","time":"2023-05-10T11:37:08.687912486Z"} {"log":"  \"state\": 500,\n","stream":"stderr","time":"2023-05-10T11:37:08.687915087Z"} {"log":"  \"stateText\": \"ServerError\",\n","stream":"stderr","time":"2023-05-10T11:37:08.687917597Z"} {"log":"  \"errorCode\": 0,\n","stream":"stderr","time":"2023-05-10T11:37:08.687920118Z"} {"log":"  \"errorKey\": \"GenericError\",\n","stream":"stderr","time":"2023-05-10T11:37:08.687922546Z"} {"log":"  \"errorParams\": {\n","stream":"stderr","time":"2023-05-10T11:37:08.687925077Z"} {"log":"    \"reason\": \"Unexpected end of JSON input\"\n","stream":"stderr","time":"2023-05-10T11:37:08.687927499Z"} {"log":"  },\n","stream":"stderr","time":"2023-05-10T11:37:08.687930055Z"} {"log":"  \"message\": \"Exception occurred. Reason: Unexpected end of JSON input\"\n","stream":"stderr","time":"2023-05-10T11:37:08.68793244Z"} {"log":"}\n","stream":"stderr","time":"2023-05-10T11:37:08.687935229Z"} {"log":"BillingService:: TokenManager::getAuthorization - App Credentials not available. Fallback to deprecated TechUser functionality.\n","stream":"stdout","time":"2023-05-10T11:37:08.68805088Z"} {"log":"VariableNotificationProvider:: onRun for edge finished after 36 ms (instance 0)\n","stream":"stdout","time":"2023-05-10T11:37:08.690587263Z"} {"log":"VariableNotificationProvider:: RunTimer::onTimer\n","stream":"stdout","time":"2023-05-10T11:37:09.656874613Z"} {"log":"VariableNotificationProvider:: RunTimer::onTimer\n","stream":"stdout","time":"2023-05-10T11:37:10.658966962Z"} {"log":"VariableNotificationProvider:: RunTimer::onTimer\n","stream":"stdout","time":"2023-05-10T11:37:11.661353065Z"} {"log":"VariableNotificationProvider:: RunTimer::onTimer\n","stream":"stdout","time":"2023-05-10T11:37:12.664232756Z"} {"log":"VariableNotificationProvider:: RunTimer::onTimer\n","stream":"stdout","time":"2023-05-10T11:37:13.66765855Z"} {"log":"VariableNotificationProvider:: RunTimer::onTimer\n","stream":"stdout","time":"2023-05-10T11:37:14.669882657Z"} {"log":"VariableNotificationProvider:: RunTimer::onTimer\n","stream":"stdout","time":"2023-05-10T11:37:15.673031235Z"} {"log":"VariableNotificationProvider:: RunTimer::onTimer\n","stream":"stdout","time":"2023-05-10T11:37:16.676665517Z"} {"log":"VariableNotificationProvider:: RunTimer::onTimer\n","stream":"stdout","time":"2023-05-10T11:37:17.678790291Z"} {"log":"VariableNotificationProvider:: RunTimer::onTimer\n","stream":"stdout","time":"2023-05-10T11:37:18.682166302Z"} {"log":"VariableNotificationProvider:: Initialising Tenant edge values for application notifier on Wed May 10 2023 11:37:18 GMT+0000 (Coordinated Universal Time)\n","stream":"stdout","time":"2023-05-10T11:37:18.683567861Z"} {"log":"VariableNotificationProvider:: RunTimer::onRun for edge\n","stream":"stdout","time":"2023-05-10T11:37:18.683584233Z"} {"log":"VariableNotificationProvider:: AuthService::readAuthDataFile - File read.\n","stream":"stdout","time":"2023-05-10T11:37:18.683622215Z"} {"log":"VariableNotificationProvider:: AuthService::readAuthData - {\n","stream":"stderr","time":"2023-05-10T11:37:18.684036688Z"} {"log":"  \"debugInfo\": {\n","stream":"stderr","time":"2023-05-10T11:37:18.684051829Z"} {"log":"    \"name\": \"SyntaxError\",\n","stream":"stderr","time":"2023-05-10T11:37:18.684057664Z"} {"log":"    \"description\": \"Unexpected end of JSON input\",\n","stream":"stderr","time":"2023-05-10T11:37:18.684062825Z"} {"log":"    \"stack\": \"SyntaxError: Unexpected end of JSON input\\n    at JSON.parse (\u003canonymous\u003e)\\n    at d.readAuthData (/home/edge/src/app/VariableNotificationProvider/server.js:319:62125)\\n    at new d (/home/edge/src/app/VariableNotificationProvider/server.js:319:61509)\\n    at t.TokenManager.\u003canonymous\u003e (/home/edge/src/app/VariableNotificationProvider/server.js:91:61468)\\n    at Generator.next (\u003canonymous\u003e)\\n    at /home/edge/src/app/VariableNotificationProvider/server.js:91:61010\\n    at new Promise (\u003canonymous\u003e)\\n    at n (/home/edge/src/app/VariableNotificationProvider/server.js:91:60755)\\n    at t.TokenManager.getAuthorization (/home/edge/src/app/VariableNotificationProvider/server.js:91:61356)\\n    at Object.\u003canonymous\u003e (/home/edge/src/app/VariableNotificationProvider/server.js:589:28653)\"\n","stream":"stderr","time":"2023-05-10T11:37:18.684067025Z"} {"log":"  },\n","stream":"stderr","time":"2023-05-10T11:37:18.68407774Z"} {"log":"  \"service\": \"VariableNotificationProvider\",\n","stream":"stderr","time":"2023-05-10T11:37:18.684085905Z"} {"log":"  \"state\": 500,\n","stream":"stderr","time":"2023-05-10T11:37:18.684093004Z"} {"log":"  \"stateText\": \"ServerError\",\n","stream":"stderr","time":"2023-05-10T11:37:18.684097656Z"} {"log":"  \"errorCode\": 0,\n","stream":"stderr","time":"2023-05-10T11:37:18.684101828Z"} {"log":"  \"errorKey\": \"GenericError\",\n","stream":"stderr","time":"2023-05-10T11:37:18.684105985Z"} {"log":"  \"errorParams\": {\n","stream":"stderr","time":"2023-05-10T11:37:18.684110208Z"} {"log":"    \"reason\": \"Unexpected end of JSON input\"\n","stream":"stderr","time":"2023-05-10T11:37:18.684114433Z"} {"log":"  },\n","stream":"stderr","time":"2023-05-10T11:37:18.684118646Z"} {"log":"  \"message\": \"Exception occurred. Reason: Unexpected end of JSON input\"\n","stream":"stderr","time":"2023-05-10T11:37:18.684122706Z"} {"log":"}\n","stream":"stderr","time":"2023-05-10T11:37:18.684139973Z"} {"log":"VariableNotificationProvider:: TokenManager::getAuthorization - App Credentials not available. Fallback to deprecated TechUser functionality.\n","stream":"stdout","time":"2023-05-10T11:37:18.684190171Z"} {"log":"VariableNotificationProvider:: Resetting tenant - edge token inforamtions of application notifier\n","stream":"stdout","time":"2023-05-10T11:37:18.68419989Z"} {"log":"VariableNotificationProvider:: onRun for edge (instance 0)\n","stream":"stdout","time":"2023-05-10T11:37:18.686262898Z"} {"log":"VariableNotificationProvider:: doRun edge - 1 value(s) received for 9e19ff4ee055449e861053c5f83b3467: [1]\n","stream":"stdout","time":"2023-05-10T11:37:18.692390353Z"} {"log":"VariableNotificationProvider:: Save modified state of variable 9e19ff4ee055449e861053c5f83b3467\n","stream":"stdout","time":"2023-05-10T11:37:18.694780418Z"} {"log":"VariableNotificationProvider:: onRun for edge finished after 22 ms (instance 0)\n","stream":"stdout","time":"2023-05-10T11:37:18.70948753Z"} {"log":"VariableNotificationProvider:: RunTimer::onTimer\n","stream":"stdout","time":"2023-05-10T11:37:19.690871464Z"} {"log":"VariableNotificationProvider:: RunTimer::onTimer\n","stream":"stdout","time":"2023-05-10T11:37:20.69416773Z"} {"log":"VariableNotificationProvider:: RunTimer::onTimer\n","stream":"stdout","time":"2023-05-10T11:37:21.698017886Z"} {"log":"VariableNotificationProvider:: RunTimer::onTimer\n","stream":"stdout","time":"2023-05-10T11:37:22.699922739Z"} {"log":"VariableNotificationProvider:: RunTimer::onTimer\n","stream":"stdout","time":"2023-05-10T11:37:23.703264968Z"} {"log":"VariableNotificationProvider:: RunTimer::onTimer\n","stream":"stdout","time":"2023-05-10T11:37:24.707574818Z"} {"log":"VariableNotificationProvider:: RunTimer::onTimer\n","stream":"stdout","time":"2023-05-10T11:37:25.710477773Z"} {"log":"VariableNotificationProvider:: RunTimer::onTimer\n","stream":"stdout","time":"2023-05-10T11:37:26.712435973Z"} {"log":"VariableNotificationProvider:: RunTimer::onTimer\n","stream":"stdout","time":"2023-05-10T11:37:27.715385847Z"} {"log":"VariableNotificationProvider:: RunTimer::onTimer\n","stream":"stdout","time":"2023-05-10T11:37:28.716869603Z"} {"log":"VariableNotificationProvider:: Initialising Tenant edge values for application notifier on Wed May 10 2023 11:37:28 GMT+0000 (Coordinated Universal Time)\n","stream":"stdout","time":"2023-05-10T11:37:28.719234897Z"} {"log":"VariableNotificationProvider:: RunTimer::onRun for edge\n","stream":"stdout","time":"2023-05-10T11:37:28.719284476Z"} {"log":"VariableNotificationProvider:: AuthService::readAuthDataFile - File read.\n","stream":"stdout","time":"2023-05-10T11:37:28.719290323Z"} {"log":"VariableNotificationProvider:: TokenManager::getAuthorization - App Credentials not available. Fallback to deprecated TechUser functionality.\n","stream":"stdout","time":"2023-05-10T11:37:28.719293085Z"} {"log":"VariableNotificationProvider:: Resetting tenant - edge token inforamtions of application notifier\n","stream":"stdout","time":"2023-05-10T11:37:28.719295793Z"} {"log":"VariableNotificationProvider:: AuthService::readAuthData - {\n","stream":"stderr","time":"2023-05-10T11:37:28.719310121Z"} {"log":"  \"debugInfo\": {\n","stream":"stderr","time":"2023-05-10T11:37:28.719313517Z"} {"log":"    \"name\": \"SyntaxError\",\n","stream":"stderr","time":"2023-05-10T11:37:28.719316111Z"} {"log":"    \"description\": \"Unexpected end of JSON input\",\n","stream":"stderr","time":"2023-05-10T11:37:28.719318756Z"} {"log":"    \"stack\": \"SyntaxError: Unexpected end of JSON input\\n    at JSON.parse (\u003canonymous\u003e)\\n    at d.readAuthData (/home/edge/src/app/VariableNotificationProvider/server.js:319:62125)\\n    at new d (/home/edge/src/app/VariableNotificationProvider/server.js:319:61509)\\n    at t.TokenManager.\u003canonymous\u003e (/home/edge/src/app/VariableNotificationProvider/server.js:91:61468)\\n    at Generator.next (\u003canonymous\u003e)\\n    at /home/edge/src/app/VariableNotificationProvider/server.js:91:61010\\n    at new Promise (\u003canonymous\u003e)\\n    at n (/home/edge/src/app/VariableNotificationProvider/server.js:91:60755)\\n    at t.TokenManager.getAuthorization (/home/edge/src/app/VariableNotificationProvider/server.js:91:61356)\\n    at Object.\u003canonymous\u003e (/home/edge/src/app/VariableNotificationProvider/server.js:589:28653)\"\n","stream":"stderr","time":"2023-05-10T11:37:28.719321497Z"} {"log":"  },\n","stream":"stderr","time":"2023-05-10T11:37:28.719337426Z"} {"log":"  \"service\": \"VariableNotificationProvider\",\n","stream":"stderr","time":"2023-05-10T11:37:28.719340361Z"} {"log":"  \"state\": 500,\n","stream":"stderr","time":"2023-05-10T11:37:28.719342937Z"} {"log":"  \"stateText\": \"ServerError\",\n","stream":"stderr","time":"2023-05-10T11:37:28.719345421Z"} {"log":"  \"errorCode\": 0,\n","stream":"stderr","time":"2023-05-10T11:37:28.719347905Z"} {"log":"  \"errorKey\": \"GenericError\",\n","stream":"stderr","time":"2023-05-10T11:37:28.719350348Z"} {"log":"  \"errorParams\": {\n","stream":"stderr","time":"2023-05-10T11:37:28.719352876Z"} {"log":"    \"reason\": \"Unexpected end of JSON input\"\n","stream":"stderr","time":"2023-05-10T11:37:28.719355322Z"} {"log":"  },\n","stream":"stderr","time":"2023-05-10T11:37:28.719357887Z"} {"log":"  \"message\": \"Exception occurred. Reason: Unexpected end of JSON input\"\n","stream":"stderr","time":"2023-05-10T11:37:28.719360279Z"} {"log":"}\n","stream":"stderr","time":"2023-05-10T11:37:28.719362873Z"} {"log":"VariableNotificationProvider:: onRun for edge (instance 0)\n","stream":"stdout","time":"2023-05-10T11:37:28.72096787Z"} {"log":"VariableNotificationProvider:: doRun edge - 2 value(s) received for 9e19ff4ee055449e861053c5f83b3467: [1,2]\n","stream":"stdout","time":"2023-05-10T11:37:28.724348204Z"} {"log":"VariableNotificationProvider:: Clear (1) succeeded.\n","stream":"stdout","time":"2023-05-10T11:37:28.731453047Z"} {"log":"VariableNotificationProvider:: Save modified state of notification 1\n","stream":"stdout","time":"2023-05-10T11:37:28.732208981Z"} {"log":"VariableNotificationProvider:: Save modified state of variable 9e19ff4ee055449e861053c5f83b3467\n","stream":"stdout","time":"2023-05-10T11:37:28.733961993Z"} {"log":"VariableNotificationProvider:: onRun for edge finished after 33 ms (instance 0)\n","stream":"stdout","time":"2023-05-10T11:37:28.753954553Z"}   Thanks
asked
3 answers
0

I might be mistaken here, but from the screenshot it looks like you are running locally and trying to connect to an email server with OAuth. But when you do an app registration that registration is for an URL. So when you try to connect it wiill check the URL in the app registration and if those do not match where the request is coming from it will not allow you to authenticate. So check your app registration URL.

Regards,

Ronald

 

answered
0

Hello Fatih,

 

for setting up the Siemens SMTP server, please try the following:

 

Host name = smtp.siemens.com

Port number = 25

 

Best regards, Eva

answered
0

Hi Fatih Mehmet,

 

Connecting over teams to help you resolve the issue

 

Thanks,

Sai

answered