You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
execute the commnad:
"vsgviewer readymap.vsgt "
I get the error
but execute the command
"vsgviewer openstreetmap.vsgt"
I get the right outcome. the differenrce is the format , jpeg or png.
alse, I can access the imageLaser in chrome, the internet access is right.
On my Kubuntu 22.04 system and everything works fine, this is latest VSG, vsgXchange and vsgExamples.
Which version of the VSG, vsgXchange, libcurl, OS and compiler tools are you using?
The file extension shouldn't affect the libcurl operation - vsgXchange simply opens a connection with libcurl and downloads the data and then locally reads it as a png/jpg etc. The report of "Unsupported protocol" looks like an issue with opening the connection to the server for some reason.
CURLE_UNSUPPORTED_PROTOCOL (1)
The URL you passed to libcurl used a protocol that this libcurl does not support. The support might be a compile-time option that you did not use, it can be a misspelled protocol string or just a protocol libcurl has no code for.
http should be supported so perhaps your libcurl has been built with limitations or there is firewall that's causing problems with that service. Try investigating with invoking the curl command line on the http address being reported as a problem and see if it gives you any more information.
I think mostly likely it's a local issue rather than a specific problem with vsgXchange so I'd recommend investigating it at your end as there isn't anything more I can do as it's all working at my end so I have no clues to what might specifically wrong on your system.
I have test another libcurl ,the outcome is same, but i do some test, maybe I found the problem.
I do some test with the libcurl.
the return show the page not exist in http, just exist in https.
I get the right jpeg
alse, i can get the data in https .
but when I use vsgviewer, curl just supprt http,no support https.
in http, "vsgviewer openstreetmap.vsgt" run right.
in http, "vsgviewer readymap.vsgt" run error, Unsupported protocol.
I change the http to https in the openstreetmap.vsgt and readymap.vsgt.
all run error, Unsupported protocol.
The issue with https on some versions of libcurl under Windows is a known problem, it's not VSG related, but just how some libcurl binaries have been built. There is some code in vsgXchange to work around some of the https related issues that libcurl has thrown up, but it looks like you are still seeing problems so perhaps you'll need to do more with your version of libcurl.
Activity
robertosfield commentedon Jul 17, 2023
I just tried:
On my Kubuntu 22.04 system and everything works fine, this is latest VSG, vsgXchange and vsgExamples.
Which version of the VSG, vsgXchange, libcurl, OS and compiler tools are you using?
The file extension shouldn't affect the libcurl operation - vsgXchange simply opens a connection with libcurl and downloads the data and then locally reads it as a png/jpg etc. The report of "Unsupported protocol" looks like an issue with opening the connection to the server for some reason.
robertosfield commentedon Jul 17, 2023
From libcurl docs: https://curl.se/libcurl/c/libcurl-errors.html
http should be supported so perhaps your libcurl has been built with limitations or there is firewall that's causing problems with that service. Try investigating with invoking the curl command line on the http address being reported as a problem and see if it gives you any more information.
I think mostly likely it's a local issue rather than a specific problem with vsgXchange so I'd recommend investigating it at your end as there isn't anything more I can do as it's all working at my end so I have no clues to what might specifically wrong on your system.
albert8271 commentedon Jul 17, 2023
my os is win10, the vsg ,vsgXchange i s latest. the compile is vs2019.
the libcurl is 7.57 。I will try another version libcurl.
Thanky you!
albert8271 commentedon Jul 19, 2023
I have test another libcurl ,the outcome is same, but i do some test, maybe I found the problem.


I do some test with the libcurl.
the return show the page not exist in http, just exist in https.
I get the right jpeg
alse, i can get the data in https
.
but when I use vsgviewer, curl just supprt http,no support https.
in http, "vsgviewer openstreetmap.vsgt" run right.
in http, "vsgviewer readymap.vsgt" run error, Unsupported protocol.
I change the http to https in the openstreetmap.vsgt and readymap.vsgt.
all run error, Unsupported protocol.
robertosfield commentedon Jul 19, 2023
The issue with https on some versions of libcurl under Windows is a known problem, it's not VSG related, but just how some libcurl binaries have been built. There is some code in vsgXchange to work around some of the https related issues that libcurl has thrown up, but it looks like you are still seeing problems so perhaps you'll need to do more with your version of libcurl.