core icon indicating copy to clipboard operation
core copied to clipboard

[BUG] https://marketplace.opentrs.cn/openapi/ide/extension/vscode-extensions.xml无法访问

Open Richard-yhy opened this issue 1 year ago • 4 comments
trafficstars

描述你的问题(Describe the bug)

https://marketplace.opentrs.cn/openapi/ide/extension/vscode-extensions.xml 上面这个无法访问 https://marketplace.opentrs.cn 有接入文档吗? 文档写的这个地址也是错的,https://twebgwnet.alipay.com/atsmarketplace 使用open-vsx速度又有点慢

Richard-yhy avatar Apr 02 '24 09:04 Richard-yhy

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

bk1012 avatar Apr 02 '24 10:04 bk1012

这样配置一样会报错 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是可以正常访问插件市场的

Richard-yhy avatar Apr 02 '24 10:04 Richard-yhy

这样配置一样会报错 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?

bk1012 avatar Apr 02 '24 11:04 bk1012

是的

这样配置一样会报错 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?

是的

Richard-yhy avatar Apr 03 '24 08:04 Richard-yhy