Skip to content
  1. Jan 11, 2024
    • jlouvel's avatar
      [s2e] Handle bnp_investments timeout · 041d08cd
      jlouvel authored and Romain Bignon's avatar Romain Bignon committed
      URL to get bnp's investments details has been crashing
      randomly for years with random 503. This is still the
      case except that now, on the website, this 503 takes
      up to two minutes to be triggered. The module's timeout
      set at 60 isn't even enough for this. Rather than making
      very long synchronization, we now assume that 30 seconds
      timeout on this specific request is enough to consider
      the details as unavailable.
      041d08cd
  2. Jul 12, 2023
  3. Jun 01, 2023
  4. May 23, 2023
  5. Apr 08, 2023
  6. Mar 28, 2023
  7. Mar 13, 2023
  8. Mar 05, 2023
  9. Mar 04, 2023
    • jlouvel's avatar
      [s2e] Handle new URL for bnp_investments · 15506ac3
      jlouvel authored and Romain Bignon's avatar Romain Bignon committed
      For bnppere "personeo" connections using s2e browser, we are now
      redirected to a new URL for bnp_investments page. This made the browser
      think it was not logged if we called for history after investments for
      example, since it was unable to handle the page (and it did not crash
      because we did nothing with that unhandled page). The browser trying to
      relogin while it was already logged triggered a strange bug on the
      website where it made us land on a page asking the user to accept his
      terms of conditions (but nowhere on the user space this page really
      exists, plus if we get on this page, we can just go on any other page
      without problem and the page never appears again). Added the new URL
      in new_bnp_investments since the old one is still needed
      for investments details matching (the "home" of bnp_investments is
      now "personeo.epargne..." but to get the details we have to go through
      some "optimiser.epargne..." URLs like before). Also added some details
      about a 401 that was already here when requesting investment details,
      this happen randomly on any given investment, couldn't find a way to
      prevent this.
      15506ac3
  10. Feb 12, 2023
  11. Feb 11, 2023
  12. Feb 04, 2023
  13. Jan 29, 2023
  14. Aug 12, 2022
  15. Aug 08, 2022
  16. Jun 27, 2022
  17. Mar 29, 2022
  18. Mar 09, 2022
    • sfartit's avatar
      [s2e] Reduce number of requests · fef03005
      sfartit authored and ntome's avatar ntome committed
      Currently, for each transaction we make a request to get the list of
      investments related to it. These requests make up a huge percentage of
      the total requests we make during synchros. If we stop doing this it
      will drastically reduce the load on s2e servers.
      
      This also fix a navigation problem, currently we don't press the return
      button after going to the details page. This causes us to keep getting
      the same html for almost all transactions.
      
      - current iter_history:
      	- for each transaction, we get the list of investments
      	- the amount = sum(investments.valuations)
      	- no return to previous page
      
      - next iter_history:
      	- the amount = net_amount + net_employer_contribution_amount
      	- we drop the transaction.investments attribute
      	- return after visiting details page
      
      Note:
            - this will only impact "monoaccount" connections and "monoaccount"
              spaces, in multispaces connections.
            - for connections with multiple accounts, we will still need
              to visit the details page, to know which transaction is
              related to which account.
      fef03005
    • nvergnac's avatar
      [s2e] Add deinit to logout our sessions after sync · 6564a300
      nvergnac authored and ntome's avatar ntome committed
      s2e complained about our sessions not logging off
      
      our activity takes too much bandwidth on their servers
      
      the logout has no impact on the 2FA authentications
      6564a300
  19. Feb 28, 2022
  20. Feb 18, 2022
  21. Feb 02, 2022
  22. Jan 26, 2022
    • sfartit's avatar
      [s2e] Handle redirects during login · 2bde183f
      sfartit authored and ntome's avatar ntome committed
      Sometimes we get redirected to `/portal/setcontrolcookie`
      which returns a 404, that needs to be handled. A retry do the trick.
      
      We also handle a new url: `/pagesdedelestage/BNPP/index.html`
      which say that the server has a big load and is sometimes not
      responding. Also a retry does the trick.
      
      We also increase the number of tries of the retry, because there are
      more things that could cause it and two tries may not be enough anymore.
      2bde183f
  23. Jan 13, 2022
    • sfartit's avatar
      [s2e] Prevent redirection to stockmarkets · bca56422
      sfartit authored
      In some modules that inherit from s2e and in some particular connections,
      we get redirected by default to a page that contains stock markets.
      we remove the redirect key from the forms to restore the normal behaviour.
      
      The previous checks are not needed anymore. I deleted them.
      bca56422
    • sfartit's avatar
      [s2e] Handle wrong redirection · 399b4f46
      sfartit authored
      In some connections we get redirected to an unhandled url:
      portal/salarie-bnp/monepargne/mesblocages
      
      For now, if we land on this page, we skip it.
      399b4f46
  24. Dec 18, 2021
  25. Aug 27, 2021
  26. Aug 13, 2021
  27. Jul 23, 2021