afHttpClientExt icon

afHttpClientExt

Axon functions for making HTTP requests to REST APIs
afHttpClientExtForum
< All topics

Registered StackHub users may elect to receive email notifications whenever a new package version is released or a comment is posted on the forum.

There are 14 watchers.


Connecting to isolated SkySpark node
Gideon NoyaWed 3rd Dec

Hi, I get a "NodeIsolatedErr" when I try to do a GET request using afHttpGet. I thought it wouldn't be dependent on the cluster connection to do a GET request as it using the API connection of SkySpark right? Is there a way to sent a request in the way you would when requesting by using Python for example where you don't need a cluster connection?

isolated cluster traceback:

axon::ThrowErr: {err, dis:ver:"3.0" errType:"arcbeam::RemoteErr" err errTrace:"arcbeam::RemoteErr: arcbeam::NodeIsolatedErr\n=== Remote Trace ===\narcbeam::NodeIsolatedErr\n arcbeam::ChanStream.openServer (ChanStream.fan:131)\n arcbeam::Hub.onGet (Hub.fan:229)\n web::Weblet\$.onService (Weblet.fan:59)\n web::WebMod.onService (WebMod.fan:15)\n clusterMod::ClusterWeb.onService (StdClusterMod.fan:154)\n skyarcd::HttpRootMod.onService (HttpMod.fan:132)\n wisp::WispActor.process (WispActor.fan:81)\n wisp::WispActor.receive (WispActor.fan:38)\n concurrent::Actor._dispatch (Actor.java:293)\n concurrent::Actor._work (Actor.java:248)\n concurrent::ThreadPool\$Worker.run (ThreadPool.java:273)\n\n=== Fantom Trace ===\narcbeam::RemoteErr: arcbeam::NodeIsolatedErr\n arcbeam::RemoteErr.makeFrame (Errs.fan:109)\n arcbeam::Frame.receive (Frame.fan:277)\n arcbeam::ChanStream.openHere (ChanStream.fan:46)\n arcbeam::ChanStream.openClient (ChanStream.fan:27)\n arcbeam::Chan.openStream (Chan.fan:87)\n arcbeam::HttpChan.routeAsStream (HttpChan.fan:63)\n arcbeam::HttpChan.route (HttpChan.fan:47)\n clusterMod::StdClusterMod.route (StdClusterMod.fan:97)\n skyarcd::ApiWebMod.onRemote (ApiMod.fan:211)\n skyarcd::ApiWebMod.onService (ApiMod.fan:114)\n skyarcd::HttpRootMod.onService (HttpMod.fan:132)\n wisp::WispActor.process (WispActor.fan:81)\n wisp::WispActor.receive (WispActor.fan:38)\n concurrent::Actor._dispatch (Actor.java:293)\n concurrent::Actor._work (Actor.java:248)\n concurrent::ThreadPool\$Worker.run (ThreadPool.java:273)\n" dis:"arcbeam::RemoteErr: arcbeam::NodeIsolatedErr"

No cluster connection traceback:

axon::ThrowErr: {err, dis:ver:"3.0" errType:"arcbeam::WrongHubInstanceErr" err errTrace:"arcbeam::WrongHubInstanceErr\n arcbeam::Hub.checkMyNode (Hub.fan:199)\n arcbeam::Chan.openStream (Chan.fan:86)\n arcbeam::HttpChan.routeAsStream (HttpChan.fan:63)\n arcbeam::HttpChan.route (HttpChan.fan:47)\n clusterMod::StdClusterMod.route (StdClusterMod.fan:97)\n skyarcd::ApiWebMod.onRemote (ApiMod.fan:211)\n skyarcd::ApiWebMod.onService (ApiMod.fan:114)\n skyarcd::HttpRootMod.onService (HttpMod.fan:132)\n wisp::WispActor.process (WispActor.fan:81)\n wisp::WispActor.receive (WispActor.fan:38)\n concurrent::Actor._dispatch (Actor.java:293)\n concurrent::Actor._work (Actor.java:248)\n concurrent::ThreadPool\$Worker.run (ThreadPool.java:273)\n" dis:"arcbeam::WrongHubInstanceErr"
axon::ThrowErr: {err, dis:ver:"3.0" errType:"arcbeam::WrongHubInstanceErr" err errTrace:"arcbeam::WrongHubInstanceErr\n  arcbeam::Hub.checkMyNode (Hub.fan:199)\n  arcbeam::Chan.openStream (Chan.fan:86)\n  arcbeam::HttpChan.routeAsStream (HttpChan.fan:63)\n  arcbeam::HttpChan.route (HttpChan.fan:47)\n  clusterMod::StdClusterMod.route (StdClusterMod.fan:97)\n  skyarcd::ApiWebMod.onRemote (ApiMod.fan:211)\n  skyarcd::ApiWebMod.onService (ApiMod.fan:114)\n  skyarcd::HttpRootMod.onService (HttpMod.fan:132)\n  wisp::WispActor.process (WispActor.fan:81)\n  wisp::WispActor.receive (WispActor.fan:38)\n  concurrent::Actor._dispatch (Actor.java:293)\n  concurrent::Actor._work (Actor.java:248)\n  concurrent::ThreadPool\$Worker.run (ThreadPool.java:273)\n" dis:"arcbeam::WrongHubInstanceErr"
empty
Henry ChatwinWed 3rd Dec

Hi Gideon,

I'm afraid I've not run into this issue myself, and I'm struggling to reproduce the isolated error on my end.

What url on the SkySpark instance are you trying to access? As a test, are you able to make a request to /pod/sys/sys.js? This should return the javascript from the sys pod as it's publicly available.


Log in or Sign up to post a reply.