Giter Club home page Giter Club logo

Comments (7)

Miclicks avatar Miclicks commented on July 26, 2024 1

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.

Artugr18 avatar Artugr18 commented on July 26, 2024

https://i.imgur.com/NP36J8S.png

I have something like this and now what to do

from onedrive-index.

Artugr18 avatar Artugr18 commented on July 26, 2024

sorry missclick

from onedrive-index.

iRedScarf avatar iRedScarf commented on July 26, 2024

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:

  1. Server Overload: The target server is too busy handling other requests to respond in time.
  2. Network Issues: There are problems with the network connection between the servers, causing requests or responses to get lost.
  3. 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.

Artugr18 avatar Artugr18 commented on July 26, 2024

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.

https://imgur.com/a/GKOtEe8

from onedrive-index.

iRedScarf avatar iRedScarf commented on July 26, 2024

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.

Miclicks avatar Miclicks commented on July 26, 2024

i have the same error

from onedrive-index.

Related Issues (16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.