Marketplace Errors

Developer Networks
Developer Networks
@developer-networks
12 years ago
566 posts
Im trying to set up my marketplace on the site for development.

Im running in to a few problems.

Quote: An error was encountered trying to communicate with the Jamroom Marketplace
make sure the Marketplace URL is set correctly in the Global Config.

Ive tried:
1- http://www.test.jamroom.net
2- http://www.jamroom.net

Also I noticed the site only uses ftp which for security reasons i dont really use much. I can get in to any website quite easily that uses ftp and would rather use sftp where ever possible.

Also when trying to update the system it says

Quote: An error was encountered trying to communicate with the Jamroom Marketplace - please try again


updated by @developer-networks: 12/07/13 09:43:28AM
Developer Networks
Developer Networks
@developer-networks
12 years ago
566 posts
Tried that as well. Same errors are showing up.
Developer Networks
Developer Networks
@developer-networks
12 years ago
566 posts
Ahh it was because my server is not set up to use ftp

After i deleted my credentials in ftp it works.

Any chance this will be set up to use sftp as well?
updated by @developer-networks: 10/29/13 10:31:24PM
michael
@michael
12 years ago
7,793 posts
Quote: Any chance this will be set up to use sftp as well?
Brian will know the answer to that, im not sure I understand. You mean you want to contact the marketpalace via sftp instead of ftp?
Developer Networks
Developer Networks
@developer-networks
12 years ago
566 posts
During a system update and clicking update one of the files it is telling me

"Invalid host received - please try again"

** update i figured this out and its because i dont have any FTP credentials put in. I dont have FTP even running on my servers for security reasons.
updated by @developer-networks: 10/29/13 10:36:55PM
Developer Networks
Developer Networks
@developer-networks
12 years ago
566 posts
To do the update to my server i would like it to log in via SFTP instead of passing my credentials via FTP.
Developer Networks
Developer Networks
@developer-networks
12 years ago
566 posts
Using FTP is very unsecure and leaves websites open to easy attacks.
michael
@michael
12 years ago
7,793 posts
great points of concern (even if i have no direct comment on how the current system works).

The marketplace is Brians system, so im sure he'll be interested in addressing your concerns about security. I know he's very concerned about security too. Should be along in about 8 hours or so.
michael
@michael
12 years ago
7,793 posts
Just doing a fresh install now and as I understand it, the FTP info only seams to be necessary if the /modules and /skins folders cant be written to by the web-server.

Like an alternate method of getting the files to the server. I think that leaving them off the:
/marketplace/admin/global

page, that the marketplace update will still work. Checking that now.
Developer Networks
Developer Networks
@developer-networks
12 years ago
566 posts
On mine the market place is populating. However when attempting to update anything im getting a redirect to this page:

/marketplace/undefined

I figure it may be because i dont have any ftp values in place on my

Marketplace ==> Global Configuration.


Also when clicking on install a free file it returns with this error

"Invalid host received - please try again"
updated by @developer-networks: 10/29/13 11:20:49PM
michael
@michael
12 years ago
7,793 posts
Ill try to replicate that now.
brian
@brian
12 years ago
10,149 posts
Are you running the very latest Jamroom Core 5.1.0? The "invalid host" issue is from about a week ago, and should no longer be a problem.

Make sure and update to the very latest 5.1.0 core and everything should be working.

Hope this helps!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
Developer Networks
Developer Networks
@developer-networks
12 years ago
566 posts
I will try updating that now.
Developer Networks
Developer Networks
@developer-networks
12 years ago
566 posts
Seems to be not working. At first i updated the core manually. Then going in to the marketplace and attempting to update all i still recieved this error:

/marketplace/undefined

when trying to update individually the 1st module that needed updating on the list.

I recieve this error:
"Invalid Module License - please refresh the System Updates tab and try again"

Since im using the n8Showcase skin i also tried it in jrElastic and returned the same results.
updated by @developer-networks: 10/30/13 06:29:41AM
brian
@brian
12 years ago
10,149 posts
Yeah you definitely should not be seeing that, as those appear to be issues that were fixed a bit back.

If you can, send me your system admin login info to brian [at] jamroom [dot] net as I'd like to check it out.

Thanks!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
brian
@brian
12 years ago
10,149 posts
b360:
Any chance this will be set up to use sftp as well?

Probably not - 95% of our customers use FTP, and while I agree SFTP is great, PHP does not have built in support for it, so it's not something that could easily be turned on.

If your system runs PHP as a CGI/FastCGI/Ruid2 then you won't need FTP - the whole use for FTP is to simple chmod the modules/skins directories temporarily while the web user installs/updates the item.

Thanks!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
brian
@brian
12 years ago
10,149 posts
I'm logged in to your site and I'm not seeing any issues with how things are working - what module were you trying to update when you got an error?

Thanks!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
Developer Networks
Developer Networks
@developer-networks
12 years ago
566 posts
All of items with the red dots in the Marketplace.

* Its showing all modules up to date. Did you update them or did it resolve itself somehow?
updated by @developer-networks: 10/30/13 07:54:47AM
brian
@brian
12 years ago
10,149 posts
Yeah I saw this after my last post. The root cause here is that all licenses were RESET a few days back, so new licenses had to be generated for items you already had - I've done that for you and run "update all" on your site, and everything looks good.

So the error was correct - you did not have a license for those items at the time of the action, but now that the licenses were created you're all set.

Hope this helps!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
Developer Networks
Developer Networks
@developer-networks
12 years ago
566 posts
Thank you for your time!
brian
@brian
12 years ago
10,149 posts
b360:
Thank you for your time!

No problem!

I also want to address any perceived security issues related to using FTP over SFTP in the marketplace module. It's important to know that JR uses the "localhost" or "loopback interface" (usually 127.0.0.1) when using the FTP credentials you place in the Marketplace global config - basically Jamroom FTP's back into the local system so it can temporarily allow the web user to write to the modules/skins directories (which is needed for an install/update to work). Since the credentials are never sent over the wire, it's secure - it's not something that can be picked up by someone sniffing the connection.

Let me know if that helps.

Thanks!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
Developer Networks
Developer Networks
@developer-networks
12 years ago
566 posts
I did not know the localhost was shielded from the sniffers. Thanks for updating me on that one. Now I can scratch that off my security list here.

Thanks agian for your time.
brian
@brian
12 years ago
10,149 posts
No problem :)

Thanks!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net

Tags