Thanks. Let me check and get back to youOn Wed, 6 May 2020, 12:10 Kosala Gangabadage, <kos...@opensource.lk> wrote:Hi Dinuka,Here are the internal URLs of pdf serviceRegards,Kosala GangabadageSenior Software EngineerLanka Software FoundationOn Wed, May 6, 2020 at 11:44 AM Clement Fernando <clem...@opensource.lk> wrote:Hi Dinuka,Yes. We are using it internally.1) Is this an internal service?Nope. That’s why we use it internally.2) Is there any authentication or authorization flow included?Yes. Please obtain respective internal URLs from Kosala.3) Is this available in dev, stag and prod by now? If not, what is the timeline? And can you share the urls and required credentials?This we haven’t test.4) How is the reliability and load performance as of now. We have had bad experiences with the presidential election when we had pdfs generated at the backend as the load increased. If you have any statistics on response time, please share with me.Mere advantage of having templates in the PDF services is, network speed. Yet again since we do internal calls, speed consideration could be negligible. But it still need to be tested and confirmed.5) Is there an advantage of having the templates[2] available inside pdf-service. And which are the template types allowed?On May 5, 2020, at 18:11, Dinuka de Silva <din...@opensource.lk> wrote:Hi Clement,I have looked at the repository[1] roughly. But, for us to think of the integration points, can I get a small brief about pdf service.Quick Questions1) Is this an internal service?2) Is there any authentication or authorization flow included?3) Is this available in dev, stag and prod by now? If not, what is the timeline? And can you share the urls and required credentials?4) How is the reliability and load performance as of now. We have had bad experiences with the presidential election when we had pdfs generated at the backend as the load increased. If you have any statistics on response time, please share with me.5) Is there an advantage of having the templates[2] available inside pdf-service. And which are the template types allowed?ReferencesRegards,Dinuka
Traceback (most recent call last): File "/usr/local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 720, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/usr/local/lib/python3.6/site-packages/urllib3/util/retry.py", line 400, in increment raise six.reraise(type(error), error, _stacktrace) File "/usr/local/lib/python3.6/site-packages/urllib3/packages/six.py", line 734, in reraise raise value.with_traceback(tb) File "/usr/local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 672, in urlopen chunked=chunked, File "/usr/local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 421, in _make_request six.raise_from(e, None) File "<string>", line 3, in raise_from File "/usr/local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 416, in _make_request httplib_response = conn.getresponse() File "/usr/local/lib/python3.6/http/client.py", line 1354, in getresponse response.begin() File "/usr/local/lib/python3.6/http/client.py", line 307, in begin version, status, reason = self._read_status() File "/usr/local/lib/python3.6/http/client.py", line 276, in _read_status raise RemoteDisconnected("Remote end closed connection without" urllib3.exceptions.ProtocolError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response',)) During handling of the above exception, another exception occurred: