connect error when using pin on posit connect server

Hi
I have created pins into a posit connect server. And then I want to read data from these pins in a Shiny APP. The ShinyApp will be deployed into the same posit connect server.
Everything works well in my local R studio environment. But after deploying the shiny App into the posit connect server. this line in the code returns the following error

board_rsconnect <- board_connect()

Following are the log from posit connect server:
01/27 19:22:42.627 (GMT)
01/27 19:22:42.627 (GMT)
layout
01/27 19:22:42.627 (GMT)
01/27 19:22:42.708 (GMT)
[1] "Connecting to the server..."
01/27 19:22:42.795 (GMT)
Warning: Error in value[[3L]]: Failed to connect to Posit Connect instance at <xxxthe_server_addressxxx>
01/27 19:22:42.795 (GMT)
• error:0200100D:system library:fopen:Permission denied
01/27 19:22:42.815 (GMT)
91:
01/27 19:22:42.815 (GMT)
90: signalCondition
01/27 19:22:42.815 (GMT)
89: signal_abort
01/27 19:22:42.815 (GMT)
88: abort
01/27 19:22:42.815 (GMT)
87: value[[3L]]
01/27 19:22:42.815 (GMT)
86: tryCatchOne
01/27 19:22:42.815 (GMT)
85: tryCatchList
01/27 19:22:42.815 (GMT)
84: tryCatch

This topic was automatically closed 42 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.