Morpheus community edition

I have installed morpheus-appliance-5.4.7-1 centos 8 streams
I want to use the community edition license , however when i try to register for the license from the appliance using the morpheus hub login it fail with the below error .

i did use wget to download the rpm file , so my proxy should be working
I also added a similar proxy configuration in the etc/environment file
https://support.morpheusdata.com/s/article/Creating-a-CentOS-7-Morpheus-Image

2022-06-24_20:28:00.71748 '[2022-06-24 20:28:00,717] [Thread-39] ERROR c.m.s.TftpServer - Unexpected Error during TFTP file transfer. Transfer aborted. File: pxelinux.0 - java.lang.NullPoi nterException
2022-06-24_20:28:00.71749 ‘’[2022-06-24 20:28:14,323] [http-nio-127.0.0.1-8080-exec-4] WARN c.m.SetupService - Morpheus Hub login failed [success:false, message:null, data:null]
2022-06-24_20:28:14.32438 ‘’[2022-06-24 20:28:14,324] [http-nio-127.0.0.1-8080-exec-4] ERROR c.m.SetupService - Failed to login to Morpheus Hub
2022-06-24_20:28:14.32456 ‘’[2022-06-24 20:28:14,445] [http-nio-127.0.0.1-8080-exec-4] INFO c.m.AuditLogService - CEF:0|MorpheusData|Morpheus|5.4.7|setup#doHubLogin|setup Failed to create| src=xx.xx.xx.xx suid=null suser=null request=http://xx.xx.xx.xx/setup/doHubLogin requestMethod=POST cn2=null cn2Label=Account ID
2022-06-24_20:28:14.44629 ‘’[2022-06-24 20:28:39,264] [Thread-42] INFO c.m.s.TftpServer - handleRead: pxelinux.0 - from: /xx.xx.xx.xx - type: 1 - port: 51140
2022-06-24_20:28:39.26541 ‘’[2022-06-24 20:28:39,270] [Thread-42] ERROR c.m.s.TftpServer - handleRead pxelinux.0 unknown error: java.net.MalformedURLException
2022-06-24_20:28:39.27090 'java.net.MalformedURLException: null
2022-06-24_20:28:39.27091 at java.base/java.net.URL.(Unknown Source)
2022-06-24_20:28:39.27092 at java.base/java.net.URL.(Unknown Source)
2022-06-24_20:28:39.27093 at java.base/java.net.URL.(Unknown Source)
2022-06-24_20:28:39.27094 at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
2022-06-24_20:28:39.27095 at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
2022-06-24_20:28:39.27101 at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
2022-06-24_20:28:39.27108 at java.base/java.lang.reflect.Constructor.newInstance(Unknown Source)
2022-06-24_20:28:39.27109 at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:72)
2022-06-24_20:28:39.27110 at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrapNoCoerce.callConstructor(ConstructorSite.java:105)
2022-06-24_20:28:39.27110 at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:277)
2022-06-24_20:28:39.27111 at com.morpheus.server.TftpServer$TftpSession.handleRead(TftpServer.groovy:396)
2022-06-24_20:28:39.27118 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2022-06-24_20:28:39.27119 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
2022-06-24_20:28:39.27119 at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
2022-06-24_20:28:39.27120 at java.base/java.lang.reflect.Method.invoke(Unknown Source)
2022-06-24_20:28:39.27121 at org.codehaus.groovy.runtime.callsite.PlainObjectMetaMethodSite.doInvoke(PlainObjectMetaMethodSite.java:43)
2022-06-24_20:28:39.27121 at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSite.invoke(PogoMetaMethodSite.java:170)
2022-06-24_20:28:39.27123 at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.callCurrent(PogoMetaMethodSite.java:61)
2022-06-24_20:28:39.27124 at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:185)
2022-06-24_20:28:39.27124 at com.morpheus.server.TftpServer$TftpSession.handlePacket(TftpServer.groovy:320)
2022-06-24_20:28:39.27125 at com.morpheus.server.TftpServer$TftpSession.run(TftpServer.groovy:295)
2022-06-24_20:28:39.27126 at java.base/java.lang.Thread.run(Unknown Source)
2022-06-24_20:28:39.27128 Caused by: java.lang.NullPointerException: null
2022-06-24_20:28:39.27170 '[2022-06-24 20:28:39,271] [Thread-42] ERROR c.m.s.TftpServer - Unexpected Error during TFTP file transfer. Transfer aborted. File: pxelinux.0 - java.lang.NullPoi nterException

Any help on this is appreciated.

Thanks,

Philip George

Hi @philipg1.41383961553 The error is pointing out to Failed login to hub. Can you confirm your hub user name please?

philipg@hpe.com is the hub user
I manged to installed morpheus from a system with no proxy requirements and was able to register with hub account

I believe the license transfer from hub account is using TFTP, which is failing due to some proxy issue

Thanks,

Philip

Thats correct @philipg1.41383961553 . We are using TFTP port 69 for the transfer. Glad the appliance setup is completed.

Is there a workaround for this? TFTP is insecure and not allowed outbound by our firewall policies. I suspect I hit the same issue, as my install shows no license, despite entering the registration info for the hub.

@DevonAyres, this is not an automated workaround but if needed, you can request a license by navigating to the Morpheus Hub and requesting a Community/PoC license:
https://morpheushub.com/licenses

After requesting the license, it should be approved and you can find the License Key when clicking on the Approved request. When setting up the appliance, you can choose to skip the registration with the Morpheus Hub and enter the license key afterwards. You can Add a License Key by navigating to Administration > Settings > License

:exclamation: Note that you might already have a license key that was provisioned, if so, you’d just need to copy it from the Hub vs requesting a new one. Might save some steps.

Hope that helps!

I tried that but the online form gives an error 500 on submit.

@DevonAyres please try requesting it again. Please be sure to enter any of the mandatory fields, in case any were left out.

Request went in - but is there a way to manually re-trigger the attempt to register the appliance with Morpheus hub without going through an install or reconfigure? I would be happy to just run that if I knew how to trigger/troubleshoot the communications.