I see. However, I also have issue with my app deployed on Ubuntu (e.g. copying & paste won’t work when using the network url, but works ok when on local). I got the exact same error as @cyzht.
I think this is probably related to " As with many new APIs, the Clipboard API is only supported for pages served over HTTPS. If your connection is not HTTPS or localhost, then the copy &paste won’t work. See Copy dataframe to clipboard - #14 by MesumRaza