GithubHelp home page GithubHelp logo

Comments (16)

CigaLi avatar CigaLi commented on August 17, 2024

您好,想请问您在运行npm run dev时遇到过“登陆失败,请检查网络设置”的错误吗,网页内容都能够正常显示。谢谢

from eeducation.

NeoChen-GitHub avatar NeoChen-GitHub commented on August 17, 2024

感谢回复,我用visual studio code终端运行的程序,过程中没有遇到任何错误。修改了APPID,customerid,customer_certificate,restful_token,项目里面加入了白板token,后面也正确配置了oss,所有功能基本都能实现,但就是上传图片,文件等失败,再就是打包后的build文件双击打开是空白的。但这个build包放到tomcat下是能正常运行显示的。

from eeducation.

CigaLi avatar CigaLi commented on August 17, 2024

非常感谢您的回答,请问REACT_APP_AGORA_RESTFULL_TOKEN就是将REACT_APP_AGORA_CUSTOMER_ID:REACT_APP_AGORA_CUSTOMER_CERTIFICATE内容用Base64算法编码后的结果吗?
我这样做了,但是还是有登陆失败错误。
我再看看是不是oss配置错误,非常感谢您!

from eeducation.

NeoChen-GitHub avatar NeoChen-GitHub commented on August 17, 2024

是的,也是直接用base64转的。我觉得跟oss没关系吧,我没配置OSS的时候,也是可以正常运行的,没有登陆错误的提示。

from eeducation.

srs888001 avatar srs888001 commented on August 17, 2024

请再次查看我们的什么文档:https://github.com/AgoraIO-Usecase/eEducation/tree/master/education_web
当你需要在白板上上传课件的时候才需要配置OSS,否则不需要

from eeducation.

NeoChen-GitHub avatar NeoChen-GitHub commented on August 17, 2024

您好,我就是在使用上传图片,PPT, 文档等文件时,无法正常上传,显示不出来上传的文件。OSS我在env.local里配置了,但仍然不成功

from eeducation.

srs888001 avatar srs888001 commented on August 17, 2024

有错误信息吗

from eeducation.

NeoChen-GitHub avatar NeoChen-GitHub commented on August 17, 2024

from eeducation.

srs888001 avatar srs888001 commented on August 17, 2024

我们demo界面有个上传日志按钮,(右上方),你可以上传下你的日志,告诉我们你上传日志的序列号,我们来查看下问题

from eeducation.

NeoChen-GitHub avatar NeoChen-GitHub commented on August 17, 2024

好的,日志ID:20200712134001788

from eeducation.

srs888001 avatar srs888001 commented on August 17, 2024

目前除了配置oss外,有没有修改其他东西?
另外你可以 清楚下缓存:remove node_modules/.cache,然后再测试下。

from eeducation.

NeoChen-GitHub avatar NeoChen-GitHub commented on August 17, 2024

没有修改过,上传图片时浏览器console报错:aliyun-oss-sdk.js:21469 POST http://your_oss_bucket_name.your_cdn_accelerate_endpoint/e126f3a6-f552-4e0d-927b-91738f3ccb1d%E6%8D%95%E8%8E%B7.PNG?uploads= net::ERR_NAME_NOT_RESOLVED
我问了阿里云工程师,除了没有开启加速所以没有填写外,其他都正确填写了,但是我的bucket名等信息配置代码没能实际生效

from eeducation.

srs888001 avatar srs888001 commented on August 17, 2024

看上面请求,你your_oss_bucket_name和your_cdn_accelerate_endpoint根本没有配置啊。 所以你确定你是按照集成文档来配置了吗?

from eeducation.

NeoChen-GitHub avatar NeoChen-GitHub commented on August 17, 2024

from eeducation.

srs888001 avatar srs888001 commented on August 17, 2024

好的,那目前配置了accelerate-endpoint,还有问题吗

from eeducation.

NeoChen-GitHub avatar NeoChen-GitHub commented on August 17, 2024

嗯嗯,没问题了。原因出在oss里面需要授权设置,目前可以了。非常感谢。

from eeducation.

Related Issues (20)

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.