Replies: 1 comment 4 replies
-
Hi @JimCSuen, I'm not fully sure what it is you are trying to do, could you please elaborate a bit more on what integration you are using (standalone, Theia, VS Code, ...) and what online resource you are trying to query (from the server?). |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I would like to GET other online resources so as to introduce more additional information in the frontend displaying. However, I have no idea on how and where or even if it is possible for me to open a web-socket on another unoccupied port other than the used one of GLSP? I have tried to use
axios.get()
inrender
functions (it sounds like a wrong usage, i know). Though the msg was sent successfully as long as the server receives and responds successfully, the render function catches up withNETWORK ERROR
and could not read the reply message. I thought there might be a port usage conflict? So then I decide to change the axios port usinghttp
package to create anhttp.agent()
instance. However, I could nowyarn
successfully, which comes up with ERR:could not find http in .../.../...-client/lib ... BREAKING CHANGE, ...,
something like that. However, I did add the dependencies requirement ofhttp
in thedevDependencies
anddependencies
of package.json.I think that my usage might be wrong. So, i want to know if there is any possible correct way to do online resource GET?
Beta Was this translation helpful? Give feedback.
All reactions