Hi all,
here the useful links
shinyapps: https://d4jtd9-simonebrazzi.shinyapps.io/broker_platform/
GitHub: GitHub - SimoneBrazzi/broker_platform
I am working on a MVP and for now I am using tidy quant to get data. The app is working on local. I receive this error if I deploy it on shinyapps.io or Posit Connect Cloud. When I click on the first submit, I receive the following
Error: An error has occurred. Check your logs or contact the app author for clarification.
This is the section of the log file which is relevant
2025-03-15T22:00:41.043544+00:00 shinyapps[14238578]: Listening on http://127.0.0.1:42567
2025-03-15T22:00:48.959551+00:00 shinyapps[14238578]: Getting data...
2025-03-15T22:00:48.963787+00:00 shinyapps[14238578]:
2025-03-15T22:00:48.974286+00:00 shinyapps[14238578]: Warning: Failed to retrieve data for exchange 'nasdaq'. Failed to perform HTTP request.
2025-03-15T22:00:48.978792+00:00 shinyapps[14238578]: Warning: Error in : operator is invalid for atomic vectors
2025-03-15T22:00:48.983092+00:00 shinyapps[14238578]: 176: force
2025-03-15T22:00:48.987399+00:00 shinyapps[14238578]: 175: stocks_list
2025-03-15T22:00:48.991783+00:00 shinyapps[14238578]: 174: eventReactiveValueFunc [/srv/connect/apps/broker_platform/app.R#56]
2025-03-15T22:00:48.996179+00:00 shinyapps[14238578]: 122: exchange_data
2025-03-15T22:00:49.023387+00:00 shinyapps[14238578]: 115: render_gt [/srv/connect/apps/broker_platform/app.R#70]
2025-03-15T22:00:49.027959+00:00 shinyapps[14238578]: 114: func
2025-03-15T22:00:49.032356+00:00 shinyapps[14238578]: 101: renderFunc
2025-03-15T22:00:49.036696+00:00 shinyapps[14238578]: 100: output$exchange_table
2025-03-15T22:00:49.041070+00:00 shinyapps[14238578]: 15:
2025-03-15T22:00:49.045736+00:00 shinyapps[14238578]: 13: fn
2025-03-15T22:00:49.050783+00:00 shinyapps[14238578]: 8: retry
2025-03-15T22:00:49.055439+00:00 shinyapps[14238578]: 7: connect$retryingStartServer
2025-03-15T22:00:49.059862+00:00 shinyapps[14238578]: 6: eval
2025-03-15T22:00:49.064081+00:00 shinyapps[14238578]: 5: eval
2025-03-15T22:00:49.068411+00:00 shinyapps[14238578]: 4: eval
2025-03-15T22:00:49.073682+00:00 shinyapps[14238578]: 3: eval
2025-03-15T22:00:49.078421+00:00 shinyapps[14238578]: 2: eval.parent
2025-03-15T22:00:49.082734+00:00 shinyapps[14238578]: 1: local
I am not interested in using this library at all cost: I could solve the problem by creating a duckdb with the data, considering I will use a different data source for the final product. I can also change the library if there are other working solution.
Thank you