I spent 2 days to understand that your server that serves the makeImajeRequest() function does not have DNS configured correctly
It can't resolve the .cf zone
Check these links in your browser:
Both links work. Both links point to the same host. I guarantee it.
Now let's try this code:
class MyConfirmationDelegate extends WatchUi.ConfirmationDelegate { var common_url = "/audiobookshelf/cover?url=https://books.n-drive.cf/audiobookshelf/api/items/a792c1b8-c6fd-46b1-9295-1252d4ec7585/cover?raw=1"; function initialize() { ConfirmationDelegate.initialize(); } function onResponse(response) { Communications.makeImageRequest( "https://cdn.nextdriver.ru"+common_url, null, { :maxWidth => 60, :maxHeight => 60 }, self.method(:responseCallbackRU) ); } function responseCallbackRU(code, data) { System.println(".ru zone. Response code " + code); Communications.makeImageRequest( "https://fv.n-drive.cf"+common_url, null, { :maxWidth => 60, :maxHeight => 60 }, self.method(:responseCallbackFV) ); } function responseCallbackFV(code, data) { System.println(".fv zone. Response code " + code); } }
This is what we see in the console:
.ru zone. Response code 200 .fv zone. Response code 404
And there is no second request in the server logs