Toon app: PostNL

Forum about forum-provided applications on Toon

Moderators: marcelr, TerrorSource, Toonz, TheHogNL

Re: Toon app: PostNL

Postby Templar » Wed Dec 25, 2019 1:29 pm

Toonz wrote:Hi all,

The PostNL app is back, version 1.0.6 is available in ToonStore 5.

Changelog:
- implemented workaround for the new PostNL security setup (thanks to glsf91).

Kind regardz,

Toonz


I hate to say it but the app doesn't generate a "Bezorgd" list (there are no deliveries pending).

According to userSettings.json userid & password are stored but no postnl_inbox.json file in the tmp map.
Templar
Member
Member
 
Posts: 159
Joined: March 2011
Location: Netherlands

Re: Toon app: PostNL

Postby Toonz » Wed Dec 25, 2019 1:34 pm

something to try as a suggestion:can you login into the PostNL website with your laptop /ipad/phone? After that press the refresh button on the Toon in the PostNL screen?
Or just press refresh on the PostNL screen. Working fine here without login on laptop (but takes a while before data shows up)
member of the Toon Software Collective
User avatar
Toonz
Forum Moderator
Forum Moderator
 
Posts: 1481
Joined: December 2016

Re: Toon app: PostNL

Postby Templar » Thu Dec 26, 2019 10:35 am

Toonz wrote:something to try as a suggestion:can you login into the PostNL website with your laptop /ipad/phone? After that press the refresh button on the Toon in the PostNL screen?
Or just press refresh on the PostNL screen. Working fine here without login on laptop (but takes a while before data shows up)

Hi Toonz,

I stand corrected, the app did manage to download the data and generate the list. It took more time than anticipated.

Templar
Templar
Member
Member
 
Posts: 159
Joined: March 2011
Location: Netherlands

Re: Toon app: PostNL

Postby Toonz » Fri Dec 27, 2019 8:50 pm

Hi all,

I just published version 1.0.7.
Note that it can take from 2 minutes up to a couple of hours before the first successful connection will be made with the PostNL servers (as in 1.0.6).
After that the connection stays stable in this release due to the token refresh calls.

Changelog:
- implemented the access token refresh functionality for more stability

Kind regardz,

Toonz
member of the Toon Software Collective
User avatar
Toonz
Forum Moderator
Forum Moderator
 
Posts: 1481
Joined: December 2016

Re: Toon app: PostNL

Postby Xavier » Thu Jan 02, 2020 4:02 pm

Toonz wrote:Hi all,

I just published version 1.0.7.
Note that it can take from 2 minutes up to a couple of hours before the first successful connection will be made with the PostNL servers (as in 1.0.6).
After that the connection stays stable in this release due to the token refresh calls.

Changelog:
- implemented the access token refresh functionality for more stability

Kind regardz,

Toonz


Thanks Toonz, the app works great, glad you were able to get it to work again.!
Toon2 with 5.18.8 firmware TSC 2.1.1
Apps: Sonos, Calender, garbagecalender, traffic information, webcam, doorcam, PostNL, public transport, Onkyo, Domoticzboard and weather app.
Xavier
Member
Member
 
Posts: 101
Joined: January 2019

Re: Toon app: PostNL

Postby glsf91 » Thu Jan 02, 2020 11:24 pm

@Toonz

I have still a problem with this app. A lot of times I get this response: {"exceptionMessage":"The operation has timed out","exceptionType":"InboxStatusException","extraParams":null} in function readInbox().
I see the same is happening with postman. When I do a retry in postman I get the results.

Probably because of my list in Postnl is long. After I have removed a lot of received shipments it looks like I don't get the error anymore.

So maybe adding a retry (just one) for safety after above response?
glsf91
Member
Member
 
Posts: 143
Joined: September 2017

Re: Toon app: PostNL

Postby Toonz » Fri Jan 03, 2020 12:19 am

glsf91 wrote:@Toonz

I have still a problem with this app. A lot of times I get this response: {"exceptionMessage":"The operation has timed out","exceptionType":"InboxStatusException","extraParams":null} in function readInbox().
I see the same is happening with postman. When I do a retry in postman I get the results.

Probably because of my list in Postnl is long. After I have removed a lot of received shipments it looks like I don't get the error anymore.

So maybe adding a retry (just one) for safety after above response?

Just checking, you do get an appropriate access token but it takes too long at the server side to collect the shipment data.
So you want to repeat the call ( xmlhttp.open("GET", "https://jouw.postnl.nl/web/api/default/inbox", true) ) a second time when the response above is received the first time. Correct?
member of the Toon Software Collective
User avatar
Toonz
Forum Moderator
Forum Moderator
 
Posts: 1481
Joined: December 2016

Re: Toon app: PostNL

Postby glsf91 » Fri Jan 03, 2020 9:06 am

Toonz wrote:Just checking, you do get an appropriate access token but it takes too long at the server side to collect the shipment data.
So you want to repeat the call ( xmlhttp.open("GET", "https://jouw.postnl.nl/web/api/default/inbox", true) ) a second time when the response above is received the first time. Correct?


yes indeed, that is correct.
glsf91
Member
Member
 
Posts: 143
Joined: September 2017

Re: Toon app: PostNL

Postby Toonz » Sat Jan 04, 2020 3:01 pm

glsf91 wrote:@Toonz

I have still a problem with this app. A lot of times I get this response: {"exceptionMessage":"The operation has timed out","exceptionType":"InboxStatusException","extraParams":null} in function readInbox().
I see the same is happening with postman. When I do a retry in postman I get the results.

Probably because of my list in Postnl is long. After I have removed a lot of received shipments it looks like I don't get the error anymore.

So maybe adding a retry (just one) for safety after above response?

Hi all,

I just published version 1.0.8 in the ToonStore to address the postnl server time out issue when having a large inbox (the app will try a second time after getting the time-out message)
I have not been able to test this fix for very large inboxes as my own inbox isn't that large.
Also, I reduced the time it takes to login the first time. Usually this is now successful within one hour.
Login progress is now shown on the tile as well for clarity

Changelog:
- implemented a retry reading the inbox (in case of a timeout at the server side due to large inboxes)
- showing the login status on the tile at startup

Kind regardz,

Toonz
member of the Toon Software Collective
User avatar
Toonz
Forum Moderator
Forum Moderator
 
Posts: 1481
Joined: December 2016

Re: Toon app: PostNL

Postby glsf91 » Sat Jan 04, 2020 4:08 pm

I can also not try because I cleaned my list. But it will increase again :D

Also making the status visible is a great improvement. Thanks.
glsf91
Member
Member
 
Posts: 143
Joined: September 2017

Re: Toon app: PostNL

Postby sambir » Thu Jan 09, 2020 5:46 pm

Mine keeps saying “logging in”. It has been over a day now

I used the username and password i use in the app on my phone
sambir
Starting Member
Starting Member
 
Posts: 2
Joined: December 2019

Re: Toon app: PostNL

Postby glsf91 » Thu Jan 09, 2020 7:56 pm

sambir wrote:Mine keeps saying “logging in”. It has been over a day now

I used the username and password i use in the app on my phone


Sometimes I also have the same issue.

Maybe this will help:
- on your desktop go to jouw.postnl.nl
- logout if you already are logged in
- option: clear all cookies for jouw.postnl.nl
- login again on the desktop

Hit the refresh button in de postnl screen or and wait a few hours
glsf91
Member
Member
 
Posts: 143
Joined: September 2017

Re: Toon app: PostNL

Postby sambir » Mon Jan 13, 2020 10:41 pm

What do you mean with desktop? You mean on the pc? What has it to so with the postnl app on toon?
sambir
Starting Member
Starting Member
 
Posts: 2
Joined: December 2019

Re: Toon app: PostNL

Postby copywizard » Sat Feb 01, 2020 9:38 pm

glsf91 wrote:
sambir wrote:Mine keeps saying “logging in”. It has been over a day now

I used the username and password i use in the app on my phone


Sometimes I also have the same issue.

Maybe this will help:
- on your desktop go to jouw.postnl.nl
- logout if you already are logged in
- option: clear all cookies for jouw.postnl.nl
- login again on the desktop

Hit the refresh button in de postnl screen or and wait a few hours


I,am having the same problem and just got my rooted toon in but after an hour or 8 still saying "trying to login" i only use the app on my phone so i do not see any logical way why i would login to the website and remove my webbrowsers cache?

the app is working great i can see the JSON file on the toon is filled with the right credentials but it won,t login

could it be because i use a + sign in my mail address like mail+mail2@mail.com?

i also tryed installing the afvalkalendar app for the right cert. but to no avail also removed the app a few hours ago and reinstalled it to no avail
copywizard
Starting Member
Starting Member
 
Posts: 8
Joined: February 2020

Re: Toon app: PostNL

Postby Toonz » Sat Feb 01, 2020 11:07 pm

The login process seems to be broken again lately for the Postnl app. Will have a look again, but not soon due to other commitments next week
member of the Toon Software Collective
User avatar
Toonz
Forum Moderator
Forum Moderator
 
Posts: 1481
Joined: December 2016

PreviousNext

Return to Toon Apps

Who is online

Users browsing this forum: No registered users and 1 guest

cron