# Cannot access https://landfill.bugzilla.org/bugzilla-2.18-branch/

**URL:** <https://forum.open-services.net/t/cannot-access-https-landfill-bugzilla-org-bugzilla-2-18-branch/741>\
**Category:** Lyo\
**Created:** [June 13, 2023, 1:45am UTC](https://forum.open-services.net/t/cannot-access-https-landfill-bugzilla-org-bugzilla-2-18-branch/741 "2023-06-13T01:45:30Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![leonli](https://forum.open-services.net/letter_avatar_proxy/v4/letter/l/f9ae1b/32.png) [@leonli](https://forum.open-services.net/u/leonli)\
**Post date:** [June 13, 2023, 1:45am UTC](https://forum.open-services.net/t/cannot-access-https-landfill-bugzilla-org-bugzilla-2-18-branch/741/1 "2023-06-13T01:45:30Z")

</div>

Hi,  
I cloned OSLC4J Bugzilla adapter project([GitHub - eclipse/lyo.docs: Lyo project repository (lyo.docs)](https://github.com/eclipse/lyo.docs)) and followed the developer guide to config the project in my local.  
When editing the bugzilla\_uri ( `src/main/resources/bugz.properties` in the Lab6 project), I wanted to use this address [https://landfill.bugzilla.org/bugzilla-2.18-branch/](https://landfill.bugzilla.org/bugzilla-2.18-branch/), and also I wanted to create my own account at Bugzilla Landfill, I found out I cannot access it and it shows this site can’t be reached.  
Can anyone help me on this problem?

---

<div class="post-metadata">

**Author:** ![andrew](https://forum.open-services.net/user_avatar/forum.open-services.net/andrew/32/28_2.png) [@andrew](https://forum.open-services.net/u/andrew)\
**Post date:** [June 13, 2023, 12:17pm UTC](https://forum.open-services.net/t/cannot-access-https-landfill-bugzilla-org-bugzilla-2-18-branch/741/2 "2023-06-13T12:17:44Z")

</div>

Hi Leon,

Mozilla closed the Landfill long time ago, due to spam if I recall it correctly. Please use my `smarx008/bugzilla-dev-lyo` Docker image of pre-configured Bugzilla instead (see [GitHub - OSLC/lyo-adaptor-bugzilla: Bugzilla adaptor based on Eclipse Lyo](https://github.com/OSLC/lyo-adaptor-bugzilla) for further details).

Cheers,  
Andrew

---

<div class="post-metadata">

**Author:** ![jad](https://forum.open-services.net/user_avatar/forum.open-services.net/jad/32/42_2.png) [@jad](https://forum.open-services.net/u/jad)\
**Post date:** [June 13, 2023, 12:52pm UTC](https://forum.open-services.net/t/cannot-access-https-landfill-bugzilla-org-bugzilla-2-18-branch/741/3 "2023-06-13T12:52:13Z")

</div>

Worth mentioning that it is also worth looking at the reference implementation if you are exploring to learn how to develop with Lyo and OSLC.

> **[GitHub - oslc-op/refimpl](https://github.com/oslc-op/refimpl)**
>
> Contribute to oslc-op/refimpl development by creating an account on GitHub.

---

<div class="post-metadata">

**Author:** ![leonli](https://forum.open-services.net/letter_avatar_proxy/v4/letter/l/f9ae1b/32.png) [@leonli](https://forum.open-services.net/u/leonli)\
**Post date:** [June 15, 2023, 6:49am UTC](https://forum.open-services.net/t/cannot-access-https-landfill-bugzilla-org-bugzilla-2-18-branch/741/4 "2023-06-15T06:49:08Z")

</div>

Hi Andrew,  
I followed your suggestion to run the Bugzilla project in my local, when creating new account, it throws me an error.

 ![image](https://forum.open-services.net/uploads/default/original/1X/74fc766016df44a024d1d6c894ca1f1651d63d80.png)

---

<div class="post-metadata">

**Author:** ![andrew](https://forum.open-services.net/user_avatar/forum.open-services.net/andrew/32/28_2.png) [@andrew](https://forum.open-services.net/u/andrew)\
**Post date:** [June 15, 2023, 7:58am UTC](https://forum.open-services.net/t/cannot-access-https-landfill-bugzilla-org-bugzilla-2-18-branch/741/5 "2023-06-15T07:58:21Z")

</div>

That’s a minimal install without email. Please read the README, it says:

> Use admin:password as credentials to log in.

---

<div class="post-metadata">

**Author:** ![leonli](https://forum.open-services.net/letter_avatar_proxy/v4/letter/l/f9ae1b/32.png) [@leonli](https://forum.open-services.net/u/leonli)\
**Post date:** [June 15, 2023, 8:05am UTC](https://forum.open-services.net/t/cannot-access-https-landfill-bugzilla-org-bugzilla-2-18-branch/741/6 "2023-06-15T08:05:33Z")

</div>

Thanks. I just run into another problem, the project I run in another test machine, as you can see I use the IP to visit instead of localhost. But when I use the name and password to login, it will return to localhost…

---

<div class="post-metadata">

**Author:** ![andrew](https://forum.open-services.net/user_avatar/forum.open-services.net/andrew/32/28_2.png) [@andrew](https://forum.open-services.net/u/andrew)\
**Post date:** [June 15, 2023, 8:39am UTC](https://forum.open-services.net/t/cannot-access-https-landfill-bugzilla-org-bugzilla-2-18-branch/741/7 "2023-06-15T08:39:16Z")

</div>

Should be possible to configure in `adaptor-bugzilla/src/main/webapp/WEB-INF/web.xml`

---

<div class="post-metadata">

**Author:** ![leonli](https://forum.open-services.net/letter_avatar_proxy/v4/letter/l/f9ae1b/32.png) [@leonli](https://forum.open-services.net/u/leonli)\
**Post date:** [June 28, 2023, 1:30am UTC](https://forum.open-services.net/t/cannot-access-https-landfill-bugzilla-org-bugzilla-2-18-branch/741/8 "2023-06-28T01:30:27Z")

</div>

Hi Andrew, finally I can run the project in my local environment, thanks for your help.  
But I still have one question want to ask you, I’m wondering which version of OAuth the _lyo_ project uses, 1.0 or 2.0? If using v1.0, do you have any plans to upgrade to v2.0?

---

<div class="post-metadata">

**Author:** ![andrew](https://forum.open-services.net/user_avatar/forum.open-services.net/andrew/32/28_2.png) [@andrew](https://forum.open-services.net/u/andrew)\
**Post date:** [July 1, 2023, 4:19pm UTC](https://forum.open-services.net/t/cannot-access-https-landfill-bugzilla-org-bugzilla-2-18-branch/741/9 "2023-07-01T16:19:10Z")

</div>

Great to hear that you got the sample code running, Leon!

Lyo provides _support_ for OAuth 1.0a only at the moment. OSLC suggests to use OAuth 2.0 where possible (unfortunately, you cannot avoid 1.0a in many integrations involving IBM ELM/Jazz). The main reason Lyo has support to make it easy to add OAuth 1.0a is because OAuth 2.0 should require much less effort with an external provider like Keycloak, for example. See [Chapter&nbsp;16.&nbsp;Security](https://eclipse-ee4j.github.io/jersey.github.io/documentation/2.29/security.html#d0e12970) and [OAuth 2.0 | RESTfu­­l Jav­a­ wit­h ­JAX­-­­RS 2.­0­ (Second Edition)](https://dennis-xlc.gitbooks.io/restful-java-with-jax-rs-2-0-2rd-edition/content/en/part1/chapter15/oauth_2_0.html) for JAX-RS/Jersey related guidance.

If you would be kind enough to extend our sample with OAuth 2, we would be very happy to merge your pull request.

–Andrew.
