Kellphy / Nodepay

Unofficial Nodepay Docker image for easy deployment and management.
https://hub.docker.com/r/kellphy/nodepay
GNU General Public License v3.0
3 stars 2 forks source link

proxy #6

Closed psmahlii closed 2 weeks ago

psmahlii commented 2 months ago

what about proxy connections? no solution to configuration connections via proxy?

psmahlii commented 2 months ago

I add proxys into docker compose file, but I have this errors:

2024-07-02 20:31:25,122 - INFO - Starting the script 1.0.5... 2024-07-02 20:31:25,129 - INFO - Using ChromeDriver 126.0.6478.114 (044c187ce79bb8a266c5016ce749387a3480f81f-refs/branch-heads/6478@{#1524}) 2024-07-02 20:31:29,815 - INFO - Navigating to https://app.nodepay.ai/ website... 2024-07-02 20:31:30,370 - ERROR - An error occurred: Message: javascript error: {"status":18,"value":"Failed to read the 'localStorage' property from 'Window': Access is denied for this document."} (Session info: chrome=126.0.6478.114) Stacktrace:

0 0x61c548bd78ae

1 0x61c5488a8c57

2 0x61c5488ae2b3

3 0x61c5488afd1f

4 0x61c5489303a6

5 0x61c548912b12

6 0x61c54892f920

7 0x61c548912893

8 0x61c5488e32ed

9 0x61c5488e4092

10 0x61c548ba7256

11 0x61c548baa5f9

12 0x61c548baa0bf

13 0x61c548baaa75

14 0x61c548b9779f

15 0x61c548baadc0

16 0x61c548b806c6

17 0x61c548bc7fb5

18 0x61c548bc81a2

19 0x61c548bd6d9a

20 0x7bd4dff81134

2024-07-02 20:31:30,370 - ERROR - Restarting in 60 seconds...

Kellphy commented 1 month ago

I updated the code to use the localStorage without the window property. Version 1.0.6 deployed.

Can you give it a try? Thanks, I do not currently have a proxy setup :)

psmahlii commented 1 month ago

Sorry, but not help

2024-07-04 18:29:32,017 - ERROR - Restarting in 60 seconds... 2024-07-04 18:30:32,087 - INFO - Starting the script 1.0.6... 2024-07-04 18:30:32,095 - INFO - Using ChromeDriver 126.0.6478.126 (d36ace6122e0a59570e258d82441395206d60e1c-refs/branch-heads/6478@{#1591}) 2024-07-04 18:30:33,101 - INFO - Navigating to https://app.nodepay.ai/ website... 2024-07-04 18:30:33,385 - ERROR - An error occurred: Message: javascript error: {"status":18,"value":"Failed to read the 'localStorage' property from 'Window': Access is denied for this document."} (Session info: chrome=126.0.6478.126) Stacktrace:

0 0x5af67e95892e

1 0x5af67e629c57

2 0x5af67e62f2b3

3 0x5af67e630d1f

4 0x5af67e6b13a6

5 0x5af67e693b12

6 0x5af67e6b0920

7 0x5af67e693893

8 0x5af67e6642ed

9 0x5af67e665092

10 0x5af67e9282d6

11 0x5af67e92b679

12 0x5af67e92b13f

13 0x5af67e92baf5

14 0x5af67e91881f

15 0x5af67e92be40

16 0x5af67e901746

17 0x5af67e949035

18 0x5af67e949222

19 0x5af67e957e1a

20 0x798cbadec134

2024-07-04 18:30:33,385 - ERROR - Restarting in 60 seconds...

Kellphy commented 1 month ago

I will take a look at your message, as soon as i have a spare minute <3

Kellphy commented 2 weeks ago

I will keep it in mind once I'll switch from Selenium, but right now, I'd rather not play around with it, it's bloaty and unstable as is :( When Nodepay proves to go in a somewhat promising direction, I'll invest more time into refactoring and optimizing this.