Comments (7)
i think i could help you. I had the same error, i forgot last important steps:
After the initial successful deployment, the deployed page will return a 404 error because we still need to connect to the Redis database.
REDIS_URL:If you are encountering Redis database for the first time, I strongly recommend using Upstash, which is free and deeply integrated with Vercel. For details, refer to Vercel Integration. Follow the instructions to set it up in Vercel's Upstash Integration(simply create a new database in the Redis of Upstash, then create a new integration in Vercel Integrations, and associate the just deployed OneDrive-Index project with the Redis database), it will automatically fill in the environment variables after project deployment.
After REDIS_URL is successfully set, redeploy the project again.
After successful deployment, when you visit your onedrive-vercel-index page for the first time, it will guide you to perform OAuth authentication (quite simple). For details, please refer to the Instructions written by the original author.
Also remember to make obfuscated client secret here: https://ovi.swo.moe/docs/advanced#modify-api-permissions
Here you have to paste your client secret and create obfuscated client secret. REMEMBER to set in vercel variables CLIENT_SECRET to your obfuscated client secret (not just client secret). Hope that helps!
from onedrive-index.
https://i.imgur.com/NP36J8S.png
I have something like this and now what to do
from onedrive-index.
sorry missclick
from onedrive-index.
Error code 504 typically means "Gateway Timeout". It is an HTTP status code indicating that a server, while acting as a gateway or proxy, did not receive a timely response from another server or some auxiliary servers. In simpler terms, a 504 error occurs when your server tries to load a web page or resource but another server takes too long to respond.
Here are some common reasons that can lead to a 504 error:
- Server Overload: The target server is too busy handling other requests to respond in time.
- Network Issues: There are problems with the network connection between the servers, causing requests or responses to get lost.
- Incorrect Server Configuration: Misconfiguration of the gateway or proxy server can lead to timeouts in processing requests.
Solutions to a 504 error may include checking server loads, inspecting network connections, and reviewing server and proxy configurations. Since this type of error often involves communication between servers, there's often limited action that can be taken from the user end.
Since I don't know the specific process of how you encountered the 504 error, it's difficult to analyze the exact cause of this issue. If you could provide more information, such as the platform on which you are deploying or whether you have correctly configured all the environment variables as per the documentation, it would be helpful.
from onedrive-index.
I wanted to set up an index using microsoft onedrive as a personal account. I did every step in the tutorial and tried several times to generate files as a new repository via vercel. I also changed the value of BASE_DIRECTORY several times. Currently nothing has helped. Below are pictures of what I set.
from onedrive-index.
I'm deeply sorry for the delay in responding and providing assistance.
It appears that you encountered a 504 error. I carefully reviewed the screenshots of your settings, and everything seems to be correct. I'm unable to pinpoint the exact source of the issue.
However, I noticed an error message in the browser developer tools in your first screenshot: Uncaught SyntaxError: expected expression, got '<'.
This error message is worth investigating. It's possible that there may be a syntax error in the settings files you modified, leading to the unsuccessful deployment of the project.
from onedrive-index.
i have the same error
from onedrive-index.
Related Issues (16)
- View plain file without downloading HOT 1
- Unable to Stream with direct Link HOT 1
- Can anyone make video or help with making index or show me my mistakes? HOT 1
- Cannot create password protected folders HOT 1
- Prefix for KV storage ? HOT 3
- Hide .password file HOT 2
- Can we get in-built PDF viewer & Image grid view HOT 3
- It possible to index or show files from Sharepoint ?
- Can I use my own Redis instance without using Upstash ? HOT 3
- Whoops, looks like we got a problem: invalid_client. HOT 1
- No OAuth authentication is performing HOT 1
- Initial Step 3/3: invalid_client HOT 5
- Error to connect on microsoft HOT 14
- 500 Server errors HOT 4
- Error to connect HOT 12
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from onedrive-index.