Comments (16)
您好,想请问您在运行npm run dev时遇到过“登陆失败,请检查网络设置”的错误吗,网页内容都能够正常显示。谢谢
from eeducation.
感谢回复,我用visual studio code终端运行的程序,过程中没有遇到任何错误。修改了APPID,customerid,customer_certificate,restful_token,项目里面加入了白板token,后面也正确配置了oss,所有功能基本都能实现,但就是上传图片,文件等失败,再就是打包后的build文件双击打开是空白的。但这个build包放到tomcat下是能正常运行显示的。
from eeducation.
非常感谢您的回答,请问REACT_APP_AGORA_RESTFULL_TOKEN
就是将REACT_APP_AGORA_CUSTOMER_ID:REACT_APP_AGORA_CUSTOMER_CERTIFICATE
内容用Base64算法编码后的结果吗?
我这样做了,但是还是有登陆失败错误。
我再看看是不是oss配置错误,非常感谢您!
from eeducation.
是的,也是直接用base64转的。我觉得跟oss没关系吧,我没配置OSS的时候,也是可以正常运行的,没有登陆错误的提示。
from eeducation.
请再次查看我们的什么文档:https://github.com/AgoraIO-Usecase/eEducation/tree/master/education_web
当你需要在白板上上传课件的时候才需要配置OSS,否则不需要
from eeducation.
您好,我就是在使用上传图片,PPT, 文档等文件时,无法正常上传,显示不出来上传的文件。OSS我在env.local里配置了,但仍然不成功
from eeducation.
有错误信息吗
from eeducation.
from eeducation.
我们demo界面有个上传日志按钮,(右上方),你可以上传下你的日志,告诉我们你上传日志的序列号,我们来查看下问题
from eeducation.
好的,日志ID:20200712134001788
from eeducation.
目前除了配置oss外,有没有修改其他东西?
另外你可以 清楚下缓存:remove node_modules/.cache,然后再测试下。
from eeducation.
没有修改过,上传图片时浏览器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.
看上面请求,你your_oss_bucket_name和your_cdn_accelerate_endpoint根本没有配置啊。 所以你确定你是按照集成文档来配置了吗?
from eeducation.
from eeducation.
好的,那目前配置了accelerate-endpoint,还有问题吗
from eeducation.
嗯嗯,没问题了。原因出在oss里面需要授权设置,目前可以了。非常感谢。
from eeducation.
Related Issues (20)
- ReferenceError: self is not defined HOT 4
- S3 instead of Alibaba Cloud Object Storage Service HOT 2
- Files uploaded not showing on whiteboard HOT 6
- 有eEducation server 端的demo吗? HOT 8
- If the user close the browser directly, how can I force the client leave the channel?
- 运行npm run dev本地测试时显示登陆失败 HOT 2
- 关于服务器地址配置 HOT 5
- Not able to deploy the project on Google app engine over GCP HOT 1
- Internal Server Error | Code 500 HOT 8
- Web Screen Sharing will stop after some time HOT 3
- Please setting herewhite token in console ? Dashborad can't jion HOT 1
- How can I set the aggregate resolution of my video below 1280 × 720? HOT 2
- Keep the client video size ratio same as the broadcasting side video size. HOT 8
- Web demo: max hosts hardcoded to 1 for big-classroom/lecture-hall? HOT 1
- how can I set file upload location in white board? HOT 5
- How to Bypass the Landing Page and Directly Start Class. (eEducation Web) HOT 1
- <--- Last few GCs ---> [56906:0x1b169f0] 50347 ms: Mark-sweep 1382.4 (1424.4) -> 1382.3 (1424.9) MB, 642.1 / 0.0 ms (average mu = 0.103, current mu = 0.008) allocation failure scavenge might not succeed [56906:0x1b169f0] 50977 ms: Mark-sweep 1383.2 (1424.9) -> 1383.1 (1426.4) MB, 628.8 / 0.0 ms (average mu = 0.055, current mu = 0.002) allocation failure scavenge might not succeed <--- JS stacktrace ---> HOT 4
- FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory HOT 2
- Audio only whiteboard HOT 1
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 eeducation.