![]() * Connection #0 to host myrcloneserver left intact < Access-Control-Allow-Origin: < Access-Control-Request-Method: POST, OPTIONS, GET, HEAD < Access-Control-Allow-Headers: authorization, Content-Type ![]() > Authorization: Basic c3BpZGVyOnNwaWRlcg= * Server auth using Basic with user 'user' * Connected to myrcloneserver (myrcloneserver) port 5572 (#0) Here is the log with curl -v curl -v -X POST -f Trying myrcloneserver. Paste config hereĪ log from the command with the -vv flag Paste log here My version is 1.57 Which cloud storage system are you using? (eg Google Drive)Ĭeph The command you were trying to run (eg rclone copy /tmp remote:tmp) rclone rcd -rc-addr 0.0.0.0:5572 -rc-user user -rc-pass pass -rc-allow-origin The rclone config contents with secrets removed. What is your rclone version (output from rclone version) But when I try it from my javascript code I receive this error from the console :Īccess to XMLHttpRequest at ' from origin ' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. In order to test the connectivity I tried with the service rc/noopauth wich works using curl. I need to upload a file from the web app (javascript) and want to do it with the service operations/uploadfile. I want to access my rclone remote control server from a web app in another domain and -rc-allow-origin doesn't seem to work. ![]() ![]() What is the problem you are having with rclone? ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |