# Balena device public url \<uuid\> command gives internal server error

**URL:** <https://forums.balena.io/t/balena-device-public-url-uuid-command-gives-internal-server-error/12144>\
**Category:** openBalena\
**Created:** [May 29, 2019, 7:37am UTC](https://forums.balena.io/t/balena-device-public-url-uuid-command-gives-internal-server-error/12144 "2019-05-29T07:37:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sharvin26](https://avatars.discourse-cdn.com/v4/letter/s/57b2e6/32.png) [@Sharvin26](https://forums.balena.io/u/Sharvin26)\
**Post date:** [May 29, 2019, 7:37am UTC](https://forums.balena.io/t/balena-device-public-url-uuid-command-gives-internal-server-error/12144/1 "2019-05-29T07:37:23Z")

</div>

I have configured openbalena on a bare Ubuntu 18.04 x64 server.

I have followed this documentation for setting up openbalena ( [Link](https://www.balena.io/open/docs/getting-started/) )

I have configured the balena cli on my machine ( Note: I am using Mac os. )

Now I logged into my openbalena using `balena login` and after that, I downloaded the OS for Beaglebone and configured it.

Now I am trying to enable the public URL for the device I am getting this error

```auto
➜ balena device public-url enable <MYUUID>
BalenaRequestError: Request error: Internal Server Error
    at /snapshot/balena-cli/node_modules/balena-request/build/request.js:197:17
    at tryCatcher (/snapshot/balena-cli/node_modules/bluebird/js/release/util.js:16:23)
    at Promise.module.exports.Promise._settlePromiseFromHandler (/snapshot/balena-cli/node_modules/bluebird/js/release/promise.js:512:31)
    at Promise.module.exports.Promise._settlePromise (/snapshot/balena-cli/node_modules/bluebird/js/release/promise.js:569:18)
    at Promise.module.exports.Promise._settlePromise0 (/snapshot/balena-cli/node_modules/bluebird/js/release/promise.js:614:10)
    at Promise.module.exports.Promise._settlePromises (/snapshot/balena-cli/node_modules/bluebird/js/release/promise.js:694:18)
    at _drainQueueStep (/snapshot/balena-cli/node_modules/bluebird/js/release/async.js:138:12)
    at _drainQueue (/snapshot/balena-cli/node_modules/bluebird/js/release/async.js:131:9)
    at Async._drainQueues (/snapshot/balena-cli/node_modules/bluebird/js/release/async.js:147:5)
    at Immediate.e.Async.drainQueues (/snapshot/balena-cli/node_modules/bluebird/js/release/async.js:17:14)
    at runCallback (timers.js:672:20)
    at tryOnImmediate (timers.js:645:5)
    at processImmediate [as _immediateCallback] (timers.js:617:5)

If you need help, don't hesitate in contacting our support forums at
https://forums.balena.io

For bug reports or feature requests, have a look at the GitHub issues or
create a new one at: https://github.com/balena-io/balena-cli/issues/

```

I get the same issue for balena URL status command:

```auto
➜ balena device public-url status <MYUUID>
BalenaRequestError: Request error: Internal Server Error
    at /snapshot/balena-cli/node_modules/balena-request/build/request.js:197:17
    at tryCatcher (/snapshot/balena-cli/node_modules/bluebird/js/release/util.js:16:23)
    at Promise.module.exports.Promise._settlePromiseFromHandler (/snapshot/balena-cli/node_modules/bluebird/js/release/promise.js:512:31)
    at Promise.module.exports.Promise._settlePromise (/snapshot/balena-cli/node_modules/bluebird/js/release/promise.js:569:18)
    at Promise.module.exports.Promise._settlePromise0 (/snapshot/balena-cli/node_modules/bluebird/js/release/promise.js:614:10)
    at Promise.module.exports.Promise._settlePromises (/snapshot/balena-cli/node_modules/bluebird/js/release/promise.js:694:18)
    at _drainQueueStep (/snapshot/balena-cli/node_modules/bluebird/js/release/async.js:138:12)
    at _drainQueue (/snapshot/balena-cli/node_modules/bluebird/js/release/async.js:131:9)
    at Async._drainQueues (/snapshot/balena-cli/node_modules/bluebird/js/release/async.js:147:5)
    at Immediate.e.Async.drainQueues (/snapshot/balena-cli/node_modules/bluebird/js/release/async.js:17:14)
    at runCallback (timers.js:672:20)
    at tryOnImmediate (timers.js:645:5)
    at processImmediate [as _immediateCallback] (timers.js:617:5)

If you need help, don't hesitate in contacting our support forums at
https://forums.balena.io

For bug reports or feature requests, have a look at the GitHub issues or
create a new one at: https://github.com/balena-io/balena-cli/issues/

```

Also, I am getting the same issue for `sudo balena local ssh mydevice.local`

```auto
➜ sudo balena local ssh mydevice.local
Password:
ECONNRESET: socket hang up

Additional information may be available by setting a DEBUG=1 environment
variable: "set DEBUG=1" on a Windows command prompt, or "export DEBUG=1"
on Linux or macOS.

If you need help, don't hesitate in contacting our support forums at
https://forums.balena.io

For bug reports or feature requests, have a look at the GitHub issues or
create a new one at: https://github.com/balena-io/balena-cli/issues/

```

Balena version

```auto
➜ balena version
10.16.0

```

---

<div class="post-metadata">

**Author:** ![mikesimos](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/mikesimos/32/1418_2.png) [@mikesimos](https://forums.balena.io/u/mikesimos)\
**Post date:** [May 29, 2019, 9:25am UTC](https://forums.balena.io/t/balena-device-public-url-uuid-command-gives-internal-server-error/12144/5 "2019-05-29T09:25:36Z")

</div>

Hey @sharvin26! The `public-url` feature is not part of the `openBalena` spec. The tunnel service is part of the shipped stack so you could roll your own if necessary.

---

<div class="post-metadata">

**Author:** ![Sharvin26](https://avatars.discourse-cdn.com/v4/letter/s/57b2e6/32.png) [@Sharvin26](https://forums.balena.io/u/Sharvin26)\
**Post date:** [May 29, 2019, 10:27am UTC](https://forums.balena.io/t/balena-device-public-url-uuid-command-gives-internal-server-error/12144/7 "2019-05-29T10:27:00Z")

</div>

Thanks for the Response.
