[CXX-453] Client examples fail when run agains a remote mongo-orchestration service Created: 19/Dec/14  Updated: 23/Jan/15  Resolved: 08/Jan/15

Status: Closed
Project: C++ Driver
Component/s: Testing
Affects Version/s: legacy-1.0.0-rc3
Fix Version/s: legacy-1.0.0-rc4

Type: Bug Priority: Major - P3
Reporter: Andrew Morrow (Inactive) Assignee: Tyler Brock
Resolution: Done Votes: 0
Labels: legacy-cxx
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

The SConscript.client file uses HTTPLib, but doesn't send the Host request field that mongo orchestration relies on to echo back a routable URL for the objects it has created.



 Comments   
Comment by Tyler Brock [ 08/Jan/15 ]

I was able to run the examples by running mongo-orchestration this way:

mongo-orchestration start --no-fork -b <myip> --server wsgiref

scons
    --mongo-orchestration-host=<myip>
    --cc=/opt/csw/bin/gcc
    --cxx=/opt/csw/bin/g++ --mute
    --cpppath=/opt/csw/gxx/include/
    --libpath=/opt/csw/gxx/lib/
    --runtime-library-search-path=/opt/csw/gxx/lib/
    --ssl
    --use-sasl-client
    examples

Generated at Wed Feb 07 21:59:15 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.