cancel
Showing results for 
Search instead for 
Did you mean: 

Error 405 Method note allowed when try to log in DATA HUB

Former Member
0 Kudos

Hello all,

I'm trying to log in on the DATA HUB link (http://localhost:9001/datahub-webapp/v1) but I'm facing an error 405 Method note allowed:

Host: localhost:9001 User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:46.0) Gecko/20100101 Firefox/46.0 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8 Accept-Language: pt-BR,pt;q=0.8,en-US;q=0.5,en;q=0.3 Accept-Encoding: gzip, deflate Cookie: JSESSIONID=B350082056B8E5E31E135A5481EF0DED; __utma=111872281.1221418291.1462900112.1462900112.1462900112.1; __utmz=111872281.1462900112.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); JSESSIONID=426C0DC2508382829017EEB29F58EC30 Authorization: Basic YWRtaW46bmltZGE= Connection: keep-alive Cache-Control: max-age=0

Can you tell me how I can fix this?

Best regards,

.

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

http://localhost:8080/datahub-webapp/v1

This is the default URL unless you have change tomcat config file,which runs data hub, and modified the port value.

Former Member
0 Kudos

But I did a test using the rest API Postman with the URL http://localhost:9001/datahub-webapp/v1/data-feeds/DEFAULT_FEED/ and I receive the status 200 = OK. I think the port that the data hub is using is 9001.

Former Member
0 Kudos

you receive status 200 because what actually happens is a redirect from the platform (which is localhost:9001) to the login page which returns 200. Try using port 8080

former_member224482
Active Contributor
0 Kudos

Port 8080 is the default tomcat port which is also used by Data Hub.

Former Member
0 Kudos

Hello,

I'm new on Hybris. Please, can you tell me where I can find the Data Hub port?

Thanks,

former_member333910
Active Participant
0 Kudos

http://localhost:9001/datahub-webapp/v1 is not a valid endpoint exposed by Data Hub. What is it exactly you are trying to do? Also, what port is Data Hub running on? 9001 is typically the port used to run the hybris platform.

You might try a GET on /datahub-webapp/v1/status. This should return the Data Hub status (ie.Running)