core
core copied to clipboard
[BUG] https://marketplace.opentrs.cn/openapi/ide/extension/vscode-extensions.xml无法访问
描述你的问题(Describe the bug)
https://marketplace.opentrs.cn/openapi/ide/extension/vscode-extensions.xml 上面这个无法访问 https://marketplace.opentrs.cn 有接入文档吗? 文档写的这个地址也是错的,https://twebgwnet.alipay.com/atsmarketplace 使用open-vsx速度又有点慢
https://twebgwnet.alipay.com/atsmarketplace 是 api 的前缀,不是具体的站点
站点是:https://ide.cloud.alipay.com/marketplace/square
后面 opentrs.cn 这个站点因为资源问题会被下线掉
具体你可以看下文档:https://opensumi.com/zh/docs/integrate/universal-integrate-case/custom-marketplace-entrypoint
这样配置一样会报错 let opts: IServerAppOpts = { ... marketplace: { endpoint: 'https://twebgwnet.alipay.com/atsmarketplace', accountId: 'WWPLOa7vWXCUTSHCfV5FK7Su', masterKey: 'i6rkupqyvC6Bc6CiO0yVLNqq', }, ... };
FetchError: invalid json response body at https://twebgwnet.alipay.com/atsmarketplace/api/-/search?query=&size=50&sortBy=downloadCount reason: Unexpected end of JSON input 报400错
配置https://open-vsx.org是可以正常访问插件市场的
这样配置一样会报错 let opts: IServerAppOpts = { ... marketplace: { endpoint: 'https://twebgwnet.alipay.com/atsmarketplace', accountId: 'WWPLOa7vWXCUTSHCfV5FK7Su', masterKey: 'i6rkupqyvC6Bc6CiO0yVLNqq', }, ... };
FetchError: invalid json response body at https://twebgwnet.alipay.com/atsmarketplace/api/-/search?query=&size=50&sortBy=downloadCount reason: Unexpected end of JSON input 报400错
你是在哪个分支上?v2.27?
是的
这样配置一样会报错 let opts: IServerAppOpts = { ... marketplace: { endpoint: 'https://twebgwnet.alipay.com/atsmarketplace', accountId: 'WWPLOa7vWXCUTSHCfV5FK7Su', masterKey: 'i6rkupqyvC6Bc6CiO0yVLNqq', }, ... }; FetchError: invalid json response body at https://twebgwnet.alipay.com/atsmarketplace/api/-/search?query=&size=50&sortBy=downloadCount reason: Unexpected end of JSON input 报400错 配置https://open-vsx.org是可以正常访问插件市场的
你是在哪个分支上?v2.27?
是的