# Facing errors while building - fetpapiServer

**URL:** <https://discourse.f2i-consulting.com/t/facing-errors-while-building-fetpapiserver/201>\
**Category:** FETPAPI\
**Created:** [January 10, 2022, 10:14am UTC](https://discourse.f2i-consulting.com/t/facing-errors-while-building-fetpapiserver/201 "2022-01-10T10:14:49Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jeenal1612](https://discourse.f2i-consulting.com/user_avatar/discourse.f2i-consulting.com/jeenal1612/32/56_2.png) [@Jeenal1612](https://discourse.f2i-consulting.com/u/Jeenal1612)\
**Post date:** [January 10, 2022, 10:14am UTC](https://discourse.f2i-consulting.com/t/facing-errors-while-building-fetpapiserver/201/1 "2022-01-10T10:14:50Z")

</div>

Hi,

I want to build the below test code of fetpapiServer

> **[GitHub - F2I-Consulting/fetpapiServer](https://github.com/F2I-Consulting/fetpapiServer)**
>
> Contribute to F2I-Consulting/fetpapiServer development by creating an account on GitHub.

For that, I tried to create Docker image in CentOS. But I received below error:

 ![error-fetpapiServer](https://discourse.f2i-consulting.com/uploads/default/original/1X/c323cc99c016fb6c08b1868f2928d744c8284e6f.png)

Can you please provide some inputs to fix it?

---

<div class="post-metadata">

**Author:** ![philippeVerney](https://discourse.f2i-consulting.com/user_avatar/discourse.f2i-consulting.com/philippeverney/32/29_2.png) [@philippeVerney](https://discourse.f2i-consulting.com/u/philippeVerney)\
**Post date:** [January 10, 2022, 10:23am UTC](https://discourse.f2i-consulting.com/t/facing-errors-while-building-fetpapiserver/201/2 "2022-01-10T10:23:20Z")

</div>

Hi,

The URL to avro has changed and I need to find time to update the docker file.  
As a workaround please just change on l.78 of the dockerfile [https://mirroir.wptheme.fr/apache/avro/avro-1.10.2/cpp/avro-cpp-1.10.2.tar.gz](https://mirroir.wptheme.fr/apache/avro/avro-1.10.2/cpp/avro-cpp-1.10.2.tar.gz) to [https://archive.apache.org/dist/avro/avro-1.10.2/cpp/avro-cpp-1.10.2.tar.gz](https://archive.apache.org/dist/avro/avro-1.10.2/cpp/avro-cpp-1.10.2.tar.gz)

---

<div class="post-metadata">

**Author:** ![Jeenal1612](https://discourse.f2i-consulting.com/user_avatar/discourse.f2i-consulting.com/jeenal1612/32/56_2.png) [@Jeenal1612](https://discourse.f2i-consulting.com/u/Jeenal1612)\
**Post date:** [January 21, 2022, 5:19am UTC](https://discourse.f2i-consulting.com/t/facing-errors-while-building-fetpapiserver/201/3 "2022-01-21T05:19:36Z")

</div>

Hi,

I’m able to build the dockerfile. Now to connect client application, what is the default URL for server to connect it?

---

<div class="post-metadata">

**Author:** ![philippeVerney](https://discourse.f2i-consulting.com/user_avatar/discourse.f2i-consulting.com/philippeverney/32/29_2.png) [@philippeVerney](https://discourse.f2i-consulting.com/u/philippeVerney)\
**Post date:** [January 21, 2022, 9:15am UTC](https://discourse.f2i-consulting.com/t/facing-errors-while-building-fetpapiserver/201/4 "2022-01-21T09:15:30Z")

</div>

Hi,

There is not really default URL.  
Your ETP server will be accessible through your docker container. So please use whatever ip and port (mappable to an URL if your infrastructure does it) your docker container listens.

---

<div class="post-metadata">

**Author:** ![Jeenal1612](https://discourse.f2i-consulting.com/user_avatar/discourse.f2i-consulting.com/jeenal1612/32/56_2.png) [@Jeenal1612](https://discourse.f2i-consulting.com/u/Jeenal1612)\
**Post date:** [February 21, 2022, 2:31pm UTC](https://discourse.f2i-consulting.com/t/facing-errors-while-building-fetpapiserver/201/5 "2022-02-21T14:31:47Z")

</div>

Hi,

I’m trying to communicate between FetpapiServer (Server) & Fesapi (Client).

In Mobaxterm software, I’ve created docker images for both.  
When I’m running Server (Path : where dockerfile is present), I’m getting below result:

 ![image](https://discourse.f2i-consulting.com/uploads/default/original/1X/6fe42f9b7bbbcac66089dc9c679b78ff50d97fcd.jpeg)

And when I’m running Client (Path : where dockerfile is present), It does not show any running process & exits.

 ![image](https://discourse.f2i-consulting.com/uploads/default/original/1X/9cfd9549d0b21177b212ca44b69d8a42f400d2cd.jpeg)

Can you please provide some inputs to fix it?

---

<div class="post-metadata">

**Author:** ![philippeVerney](https://discourse.f2i-consulting.com/user_avatar/discourse.f2i-consulting.com/philippeverney/32/29_2.png) [@philippeVerney](https://discourse.f2i-consulting.com/u/philippeVerney)\
**Post date:** [February 21, 2022, 2:45pm UTC](https://discourse.f2i-consulting.com/t/facing-errors-while-building-fetpapiserver/201/6 "2022-02-21T14:45:49Z")

</div>

FESAPI has never been an ETP client.  
I don’t know at all what is this client-witsml2.0 you are running in docker.

---

<div class="post-metadata">

**Author:** ![Jeenal1612](https://discourse.f2i-consulting.com/user_avatar/discourse.f2i-consulting.com/jeenal1612/32/56_2.png) [@Jeenal1612](https://discourse.f2i-consulting.com/u/Jeenal1612)\
**Post date:** [February 22, 2022, 12:20pm UTC](https://discourse.f2i-consulting.com/t/facing-errors-while-building-fetpapiserver/201/7 "2022-02-22T12:20:32Z")

</div>

In client-witsml2.0, I’ve installed FESAPI code.  
Can you please suggest which code should I use for communication with fetpapiServer?

---

<div class="post-metadata">

**Author:** ![philippeVerney](https://discourse.f2i-consulting.com/user_avatar/discourse.f2i-consulting.com/philippeverney/32/29_2.png) [@philippeVerney](https://discourse.f2i-consulting.com/u/philippeVerney)\
**Post date:** [February 22, 2022, 1:50pm UTC](https://discourse.f2i-consulting.com/t/facing-errors-while-building-fetpapiserver/201/8 "2022-02-22T13:50:13Z")

</div>

The [FetpapiClient](https://github.com/F2I-Consulting/fetpapiClient) is done to communicate with the [FetpapiServer](https://github.com/F2I-Consulting/fetpapiServer).  
It also exists a FetpapiClient docker image (without FESAPI support) on docker hub : [f2iconsulting/etpclient - Docker Image | Docker Hub](https://hub.docker.com/r/f2iconsulting/etpclient)

---

<div class="post-metadata">

**Author:** ![Jeenal1612](https://discourse.f2i-consulting.com/user_avatar/discourse.f2i-consulting.com/jeenal1612/32/56_2.png) [@Jeenal1612](https://discourse.f2i-consulting.com/u/Jeenal1612)\
**Post date:** [February 23, 2022, 7:32am UTC](https://discourse.f2i-consulting.com/t/facing-errors-while-building-fetpapiserver/201/9 "2022-02-23T07:32:26Z")

</div>

The [FetpapiClient](https://github.com/F2I-Consulting/fetpapiClient) is available in JAVA, CSharp & Python.  
I need to use it for C++.  
Is it possible to convert any of them to C++?  
Also which ETP version is supported for fetpapiClient? 1.1 or 1.2?

---

<div class="post-metadata">

**Author:** ![philippeVerney](https://discourse.f2i-consulting.com/user_avatar/discourse.f2i-consulting.com/philippeverney/32/29_2.png) [@philippeVerney](https://discourse.f2i-consulting.com/u/philippeVerney)\
**Post date:** [February 23, 2022, 10:43am UTC](https://discourse.f2i-consulting.com/t/facing-errors-while-building-fetpapiserver/201/10 "2022-02-23T10:43:15Z")

</div>

FETPAPI client is primarily written in C++ as the CMakeFile and the src folder shows. The [dockerfile](https://github.com/F2I-Consulting/fetpapiClient/blob/main/docker/centos7.5.1804/cpp/Dockerfile) also shows the c++ build.  
The other languages are only ports.

It is based on ETP1.2 as FETPAPI server.

---

<div class="post-metadata">

**Author:** ![philippeVerney](https://discourse.f2i-consulting.com/user_avatar/discourse.f2i-consulting.com/philippeverney/32/29_2.png) [@philippeVerney](https://discourse.f2i-consulting.com/u/philippeVerney)\
**Post date:** [February 23, 2022, 11:19am UTC](https://discourse.f2i-consulting.com/t/facing-errors-while-building-fetpapiserver/201/11 "2022-02-23T11:19:37Z")

</div>

I just changed the README in order to be clearer

---

<div class="post-metadata">

**Author:** ![Jeenal1612](https://discourse.f2i-consulting.com/user_avatar/discourse.f2i-consulting.com/jeenal1612/32/56_2.png) [@Jeenal1612](https://discourse.f2i-consulting.com/u/Jeenal1612)\
**Post date:** [February 23, 2022, 1:34pm UTC](https://discourse.f2i-consulting.com/t/facing-errors-while-building-fetpapiserver/201/12 "2022-02-23T13:34:54Z")

</div>

Thanks Philippe!  
Also want to ask, which will be the repository(client & server both) for ETP version 1.1?

---

<div class="post-metadata">

**Author:** ![philippeVerney](https://discourse.f2i-consulting.com/user_avatar/discourse.f2i-consulting.com/philippeverney/32/29_2.png) [@philippeVerney](https://discourse.f2i-consulting.com/u/philippeVerney)\
**Post date:** [February 23, 2022, 2:02pm UTC](https://discourse.f2i-consulting.com/t/facing-errors-while-building-fetpapiserver/201/13 "2022-02-23T14:02:20Z")

</div>

There is not and it is not planned unless funded.

---

<div class="post-metadata">

**Author:** ![Jeenal1612](https://discourse.f2i-consulting.com/user_avatar/discourse.f2i-consulting.com/jeenal1612/32/56_2.png) [@Jeenal1612](https://discourse.f2i-consulting.com/u/Jeenal1612)\
**Post date:** [March 3, 2022, 4:11am UTC](https://discourse.f2i-consulting.com/t/facing-errors-while-building-fetpapiserver/201/14 "2022-03-03T04:11:03Z")

</div>

Thanks Philippe!  
I’m able to generate docker image for both fetpapiServer & fetpapiClient for C++.  
Now for ETP 1.2 connection, which URL, USERNAME & PASSWORD should I use?

---

<div class="post-metadata">

**Author:** ![philippeVerney](https://discourse.f2i-consulting.com/user_avatar/discourse.f2i-consulting.com/philippeverney/32/29_2.png) [@philippeVerney](https://discourse.f2i-consulting.com/u/philippeVerney)\
**Post date:** [March 3, 2022, 8:11am UTC](https://discourse.f2i-consulting.com/t/facing-errors-while-building-fetpapiserver/201/15 "2022-03-03T08:11:57Z")

</div>

There is no username and no password needed.  
The answer about URL has already been given : [Facing errors while building - fetpapiServer - #4 by philippeVerney](https://discourse.f2i-consulting.com/t/facing-errors-while-building-fetpapiserver/201/4)
